Provide unique pref to modify AccessibleCaret behavior in content initiated selection changes

RESOLVED FIXED in Firefox 47

Status

()

RESOLVED FIXED
3 years ago
3 years ago

People

(Reporter: capella, Assigned: capella)

Tracking

(Blocks: 1 bug)

unspecified
mozilla47
ARM
Android
Points:
---

Firefox Tracking Flags

(firefox47 fixed)

Details

Attachments

(1 attachment)

(Assignee)

Description

3 years ago
The default behavior for layout/core AccessibleCaretManager when responding to Javascript / content initiated selection changes is to HideCarets(), which closes the FFOS UtilityBubble and its counterpart, the mobile ActionBarHandler.

When mobile implemented bug 1215959, we extended the logic [0] to attempt backwards compatibility we previous behaviors, for ex: Bug 1096938 

This is currently preffed behind: |layout.accessiblecaret.extendedvisibility|, which is a catch-all for mobile compatibility behaviour: [1], and might be properly broken out into a unique pref, at least until there's a consensus on UI behavior.


[0] http://mxr.mozilla.org/mozilla-central/source/layout/base/AccessibleCaretManager.cpp?rev=0ff0ab3c254a&mark=131-138#129
[1] http://mxr.mozilla.org/mozilla-central/search?string=sCaretsExtendedVisibility&find=&findi=&filter=^[^\0]*%24&hitlimit=&tree=mozilla-central
(Assignee)

Comment 1

3 years ago
For plong-term planning, also keep in mind: Bug 1171110 - Floating text selection action bar for Android M , which will provide mobile with an FFOS-like UtilityBubble
(Assignee)

Comment 2

3 years ago
Created attachment 8712036 [details] [diff] [review]
bug1242349.diff

Can I ask you to review this?
Assignee: nobody → markcapella
Status: NEW → ASSIGNED
Attachment #8712036 - Flags: review?(tlin)
Comment on attachment 8712036 [details] [diff] [review]
bug1242349.diff

Review of attachment 8712036 [details] [diff] [review]:
-----------------------------------------------------------------

I'm a de facto owner of AccessibleCaret, so I think I can review this patch :-)

If the patch touches other layout code, :roc is the person to ask for review.
Attachment #8712036 - Flags: review?(tlin) → review+

Comment 6

3 years ago
bugherder
https://hg.mozilla.org/mozilla-central/rev/39680e485454
Status: ASSIGNED → RESOLVED
Last Resolved: 3 years ago
status-firefox47: --- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla47
You need to log in before you can comment on or make changes to this bug.