Closed Bug 384568 Opened 17 years ago Closed 11 years ago

Pressing Enter key upon sending a message dismisses the Sending Messages dialog and prevents sending from being cancelled. Don't default to focus cancel in "Cancel sending mail" confirmation

Categories

(Thunderbird :: Message Compose Window, defect)

x86
All
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: ehsan.akhgari, Unassigned)

References

Details

(Keywords: ux-error-prevention)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4 Creative ZENcast v1.02.10
Build Identifier: Thunderbird 2.0.0.0 (Windows/20070326)

See below for steps to reproduce this problem.  The main issue caused by this bug is user no longer can cancel a message from being sent.

This is specially annoying for users used to press Ctrl+Enter, and accidentally press Enter twice.

Reproducible: Always

Steps to Reproduce:
1. Open the Compose window, and create a message (preferably with large attachments so that the send process takes some time.)
2. Press Send (or Ctrl+Enter).  The "Sending Messages" window appears.
3. Press Enter on the keyboard.
Actual Results:  
The "Sending Messages" window is dismissed, while the message continues to be sent (it can be verified in the status bar.)  If enough time passes, the message is indeed sent, and will appear in receivers' mail boxes.  The Compose UI (including the recipients list, as well as the subject text box) remains disabled during this process.

Expected Results:  
Nothing should happen.  Alternatively, if the Cancel button has the initial focus, the button should be activated and sending the message should be canceled.
Version: unspecified → 2.0
Confirmed on trunk.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9pre) Gecko/2008040204 Thunderbird/3.0a1pre
Version: 2.0 → Trunk
It appears that allowing the hidden OK button to remain active was deliberately left as a gotcha for dialog coders.  See the last sentence of:
https://bugzilla.mozilla.org/show_bug.cgi?id=284776#c18
OS: Windows XP → All
Summary: Pressing Enter key upon sending a message dismisses the Sending Messages dialog and prevents sending from being cancelled → Pressing Enter key upon sending a message dismisses the Sending Messages dialog and prevents sending from being cancelled. Don't default to focus cancel in "Cancel sending mail" confirmation
I've not seen this bug happen in last few editions and just tested in 6.0.2 and can't reproduce.
(In reply to Daniel Watts from comment #6)
> I've not seen this bug happen in last few editions and just tested in 6.0.2
> and can't reproduce.

Ehsan, gone for you as well?
Flags: needinfo?(ehsan)
Not sure, I don't compose that many emails in TB any more.
Flags: needinfo?(ehsan)
I personally would recommend this be marked as fixed because I've not seen this for ages and write hundreds of emails per week on Thunderbird (currently 17.0.5).
Thanks
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.