Implement Shift+Home keyboard shortcut from address input for selecting all pills of the address row.
Categories
(Thunderbird :: Message Compose Window, enhancement)
Tracking
(thunderbird_esr78+ fixed, thunderbird82 fixed)
People
(Reporter: thomas8, Assigned: thomas8)
References
(Blocks 1 open bug)
Details
(Keywords: ux-consistency, ux-efficiency)
Attachments
(1 file, 1 obsolete file)
3.35 KB,
patch
|
thomas8
:
review+
wsmwk
:
approval-comm-beta+
wsmwk
:
approval-comm-esr78+
|
Details | Diff | Splinter Review |
With cursor in first position of an empty or whitespace-only address input, Shift+Home should select all pills contained in the address row. I keep trying this keyboard shortcut all the time, and it's so boring when it doesn't work. Time to implement it! :-)
Comment 1•4 years ago
•
|
||
Is this a commonly used keyboard shortcut?
We already have the CTRL+A implemented that does the same exact thing when pressed twice (or does not?).
I don't think we should implement and support multiple shortcuts that do the same exact thing as it adds to the burden of maintaining.
On a related note, we should start implementing tests to cover all the accessibility feature we currently have for the pills. That's a more impending priority IMHO.
Assignee | ||
Comment 2•4 years ago
•
|
||
Implement Shift+HOME from address input to select all pills within the addressing row. Shift+Ctrl+HOME will work, too.
Deliberately not yet handling Shift+HOME starting out from a pill, that's for another day.
While we are here, nitfix a hard-coded ID reference to the addressing area and nitfix that Alt+Backspace from address input should not delete pills.
Assignee | ||
Comment 3•4 years ago
|
||
(In reply to Alessandro Castellani (:aleca) from comment #1)
Is this a commonly used keyboard shortcut?
Yes. Plain vanilla standard keyboard shortcut both for text and items, and pills have both notions.
We already have the CTRL+A implemented that does the same exact thing when pressed twice (or does not?).
I don't think we should implement and support multiple shortcuts that do the same exact thing as it adds to the burden of maintaining.
??? Come on... Convenience and ux-efficiency matters, we don't want to fail users' muscle memory for nothing. We offer several ways of killing the cat all over in Thunderbird, that's how we serve different users with different needs. No maintenance burden. 2 lines of code which will just continue to sit where we put them now. If anyone is going to touch that, it's most likely me: For the same reasons, we also want Shift+Pos1 starting out from any pill (where Ctrl+A won't do the trick).
On a related note, we should start implementing tests to cover all the accessibility feature we currently have for the pills. That's a more impending priority IMHO.
I agree that tests are great, but stuff that just works as users can expect it from widely known standards since time immemorial is even greater.
Assignee | ||
Comment 4•4 years ago
•
|
||
Btw, @aleca, pls remember your comment on meta bug 1602397, where you actually asked me to implement Shift+HOME, only that you accidentally mistyped that as Shift+END.
(In reply to Alessandro Castellani (:aleca) from bug 1602397 comment 1)
It'd be nice to focus on the SHIFT implementation here with the following:
- Shift + Click on a pill will focus all the pills between a previously focused pill and the currently clicked pill.
- Shift + END key should select all pills between a previously focused pill and the last available pill.
- Shift +
ENDHOME key should select all pills between a previously focused pill and the first available pill.Thomas, would you be able to handle this?
Assignee | ||
Comment 5•4 years ago
•
|
||
Of course whereever I said POS1 (Position1, the German key label for HOME), I really mean HOME (I've fixed that in my comments).
Assignee | ||
Comment 6•4 years ago
|
||
https://defkey.com/what-means/shift-home lists 49 programs using this shortcut, and they forgot Windows Explorer and probably more, because all navigation keys, if combined with SHIFT, work for continuous text/item selection, everywhere.
Assignee | ||
Comment 7•4 years ago
•
|
||
Fyi, https://en.wikipedia.org/wiki/Table_of_keyboard_shortcuts seems to have a pretty comprehensive cross-OS overview (found just now, haven't checked for quality yet).
They list HOME/END for "Select/move to first/last item in selected widget", whereby selection always requires Shift
modifier, so that entry happens to be inaccurate and incomplete in their table.
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Comment 8•4 years ago
•
|
||
(In reply to Alessandro Castellani (:aleca) from comment #1)
We already have the CTRL+A implemented that does the same exact thing when pressed twice (or does not?).
Shift+Home: Select all pills from focus point (cursor in address input OR a focused pill) to the beginning (which might be all pills, or less).
Ctrl+A: Select all pills of focused address row.
Ctrl+A, Ctrl+A: Select all pills of all addressing rows (i.e. all pills of the entire addressing area).
Comment 9•4 years ago
|
||
Thanks for the details and analysis of the implementation.
I don't know why but my initial understanding was that you wanted to implement this for those extra headers that don't use the pills, my bad.
This makes sense.
Comment 10•4 years ago
|
||
Assignee | ||
Comment 11•4 years ago
•
|
||
Comment 12•4 years ago
|
||
Assignee | ||
Comment 13•4 years ago
|
||
Add a dot in comment.
Assignee | ||
Comment 14•4 years ago
|
||
We should also land this on TB78, to polish the addressing area transition experience from TB 68.
In TB 68, it was possible to type multiple comma-separated addresses into a single input and select them with Shift+Home (only before pressing Enter).
Comment 15•4 years ago
|
||
Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/c5e1348f8afb
Implement Shift+Home keyboard shortcut for address inputs to select all pills. r=aleca
Updated•4 years ago
|
Updated•4 years ago
|
Comment 16•4 years ago
|
||
Comment on attachment 9178758 [details] [diff] [review]
1667614_addressInputShiftPos1.diff
Pills polish
Comment 17•4 years ago
|
||
Comment on attachment 9178758 [details] [diff] [review]
1667614_addressInputShiftPos1.diff
[Triage Comment]
Approved for beta
Comment 18•4 years ago
|
||
bugherder uplift |
Thunderbird 82.0b3:
https://hg.mozilla.org/releases/comm-beta/rev/a31bebc3fbd2
Comment 19•4 years ago
|
||
bugherder uplift |
Thunderbird 82.0b3:
https://hg.mozilla.org/releases/comm-beta/rev/a31bebc3fbd2
Comment 20•4 years ago
|
||
Comment on attachment 9178758 [details] [diff] [review]
1667614_addressInputShiftPos1.diff
[Triage Comment]
Approved for esr78
Comment 21•4 years ago
|
||
bugherder uplift |
Thunderbird 78.4.0:
https://hg.mozilla.org/releases/comm-esr78/rev/f5d08cc96ad8
Description
•