Rewrite composition's fast focus ring code and finetune behaviour (Ctrl+Tab, F6, Shift+...)
Categories
(Thunderbird :: Message Compose Window, task)
Tracking
(Not tracked)
People
(Reporter: thomas8, Assigned: thomas8)
References
(Blocks 1 open bug)
Details
(Keywords: access, ux-efficiency)
Attachments
(1 file, 1 obsolete file)
|
20.38 KB,
patch
|
Details | Diff | Splinter Review |
+++ This bug was initially created as a clone of Bug #1602372 +++
Composition's fast focus ring code could need some cleanup:
- too bulky
- lots of code duplication
- too hard-coded / not generic enough
- useless cycles
- partly obselete
For the avoidance of doubt, Alessandro did a good job in Bug 1602372, but it all had to fit into the odd framework of the existing old code.
I am offering a complete rewrite with the following improvements:
- Plain vanilla array of element IDs to define the focus ring
- Generic focus ring iteration algorithm (well, as generic as it possibly can be with some of those little special cases which we need to handle)
- Modular approach for easier special casing and maintenance
- Almost 100 lines less code (rewrite, unneeded helper functions removed)
- Improved behaviour and 1 nitfix
| Assignee | ||
Comment 1•6 years ago
•
|
||
The patch. For details, see comment 0.
Please note:
- I can't test the new tests.
- For some reason, searchfox is not yet showing the changes of Bug 1602372, although it's already 4 days old. So I couldn't double-check on some of the occurences of stuff which I removed.
| Assignee | ||
Comment 2•6 years ago
|
||
Oh for the new comfort of changing the fast focus ring: One element in the wrong order, just change the array of fast focus stop IDs, done. :-)
Comment 3•6 years ago
|
||
Comment 4•6 years ago
|
||
Comment 5•6 years ago
|
||
| Assignee | ||
Comment 6•5 years ago
|
||
Mass-changing bugs around the new recipient area (pills) from product/component MailNews Core/Composition to Thunderbird/Message Compose Window, because composition frontend code is not shared with SM. Mostly cloned from Bug 440377 which started out in MailNews Core long back.
20200614001RecipientPillsProductChangeTypeBug
Updated•3 years ago
|
Description
•