Closed
Bug 1696790
Opened 4 years ago
Closed 4 years ago
Fix Cmd+Shift+Enter with focus on address input for "Send later" on Mac, and related nits/cleanup
Categories
(Thunderbird :: Message Compose Window, defect)
Thunderbird
Message Compose Window
Tracking
(thunderbird_esr78 wontfix, thunderbird88 wontfix)
RESOLVED
FIXED
88 Branch
People
(Reporter: thomas8, Assigned: thomas8)
References
Details
(Keywords: ux-control, ux-error-prevention)
Attachments
(1 file)
4.59 KB,
patch
|
aleca
:
review+
|
Details | Diff | Splinter Review |
From my reading of the code (can't test Mac):
STR
- compose to foo@bar.com
- with focus in
To
or any autocomplete address input, pressCmd+Shift+Enter
Actual result
- Afasics, this will trigger "Send now", because the special hack we have in place is not aware of
event.shiftKey
and will always docmd_sendWithCheck
(send now).
Expected result
- should trigger "Send later" (
cmd_sendLater
) and move draft to Local folders / Outbox.
Assignee | ||
Updated•4 years ago
|
Severity: -- → S3
Keywords: ux-control,
ux-error-prevention
Summary: Fix Cmd+Shift+Enter with focus on address input for "Send later" on Mac → Fix Cmd+Shift+Enter with focus on address input for "Send later" on Mac, and related nits/cleanup
Assignee | ||
Comment 1•4 years ago
|
||
Bug 1696790 - Fix Cmd+Shift+Enter with focus on address input for "Send later" on Mac. r=aleca
- Ensure Cmd+[Shift]+Enter to do cmd_sendWithCheck / cmd_sendLater respectively.
- Prevent unrelated key combos with Shift or Alt from sending or moving focus.
- Remove some unnecessary Mac tweaks involving event.stopPropagation().[*]
- Rewrite with early returns.
*: Unless Mac has an inbuilt function to move focus on Cmd+[Shift]+Enter, which is unlikely, I don't see the need for event.stopPropagation(), because we won't get into focus-moving when metaKey is involved.
Attachment #9207298 -
Flags: review?(alessandro)
Assignee | ||
Updated•4 years ago
|
Status: NEW → ASSIGNED
Comment 2•4 years ago
|
||
Comment on attachment 9207298 [details] [diff] [review]
1696790_fix-Cmd+Shift+Enter.diff
Review of attachment 9207298 [details] [diff] [review]:
-----------------------------------------------------------------
Looks good, thanks.
Attachment #9207298 -
Flags: review?(alessandro) → review+
Assignee | ||
Updated•4 years ago
|
Keywords: checkin-needed-tb
Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/968f1d82c629
Fix Cmd+Shift+Enter with focus on address input for "Send later" on Mac. r=aleca
Updated•4 years ago
|
Target Milestone: --- → 88 Branch
Updated•4 years ago
|
status-thunderbird88:
--- → wontfix
Updated•4 years ago
|
status-thunderbird_esr78:
--- → wontfix
You need to log in
before you can comment on or make changes to this bug.
Description
•