Windows 11 Text Cursor Indicator is positioned in message body instead of To: field when composing a new message in Thunderbird
Categories
(Core :: Disability Access APIs, defect)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox-esr140 | --- | unaffected |
| firefox147 | --- | unaffected |
| firefox148 | --- | wontfix |
| firefox149 | --- | fixed |
People
(Reporter: Jamie, Assigned: Jamie)
References
(Blocks 1 open bug, Regression)
Details
(Keywords: regression, Whiteboard: [uiaFastFollow])
Attachments
(2 external files)
Spun off bug 2012252 comment 12.
STR:
- Turn on Text Cursor Indicator in Settings.
- Compose a new message in Thunderbird.
- Observe that the "To:" field is focused.
- Expected: The Text Cursor Indicator should be positioned in the "To:" field.
- Actual: The Text Cursor Indicator is positioned in the message body.
- Type some text.
- Result: The Text Cursor Indicator is correctly positioned in the "To:" field.
| Assignee | ||
Comment 1•8 months ago
|
||
Comment 2•8 months ago
|
||
Set release status flags based on info from the regressing bug 2006816
| Assignee | ||
Comment 3•8 months ago
|
||
Previously, this was a lambda, but we will soon need to call it from SelectionManager as well.
| Assignee | ||
Comment 4•8 months ago
|
||
Firing a caret event for an Accessible which doesn't have focus confuses clients, who expect that the caret should be related to the focus.
Prior to bug 2006816, this wasn't as bad because even though we fired the caret event on the wrong Accessible, TextLeafPoint::GetCaret still returned the caret from the focused document.
After bug 2006816, we use the cached caret, so the event and the retrieved caret are both (consistently) incorrect.
To fix this:
- Make it possible to update the RemoteAccessible cache for the caret via IPDL without firing a caret event.
- When the caret moves, don't fire a caret event unless it's within the focused document.
- However, the caret event won't be fired again when the document eventually gets focused, so we still send an IPDL message to update the cached caret in the RemoteAccessible tree.
- In TextLeafPoint::GetCaret, only use the cached caret if the cached caret Accessible is within the same document as the origin Accessible.
https://hg.mozilla.org/mozilla-central/rev/08bf13d30134
https://hg.mozilla.org/mozilla-central/rev/f39bae80701f
Comment 7•8 months ago
|
||
The patch landed in nightly and beta is affected.
:Jamie, is this bug important enough to require an uplift?
- If yes, please nominate the patch for beta approval.
- See https://wiki.mozilla.org/Release_Management/Requesting_an_Uplift for documentation on how to request an uplift.
- If no, please set
status-firefox148towontfix.
For more information, please visit BugBot documentation.
| Assignee | ||
Comment 8•8 months ago
|
||
Caret stuff is obscure, difficult to get right and is historically an area that tends to regress easily. Too risky for beta.
Updated•8 months ago
|
Description
•