Closed Bug 2062388 Opened 2 months ago Closed 2 months ago

When dragging accessible caret end-of-selection marker, to select content inside of a button, the marker intermittently oscillates to the start-of-document (or something like that)

Categories

(Core :: Layout: Form Controls, defect)

defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: dholbert, Unassigned)

References

Details

(Keywords: webcompat:platform-bug)

User Story

user-impact-score:300

Attachments

(2 files)

STR:

  1. View a chat conversation on X/Twitter in Firefox for Android, as described in bug 1990445 comment 0. Or, view youtube comments as described in bug 2011231 comment 0.
  2. Long-press a word in a chat-message (or youtube comment) to select that word. (Note, this can only be done in builds after bug 1998331 landed.)
  3. Click-and-drag the end-of-selection accessible-caret to try to broaden the selection to include some later word/words.

ACTUAL RESULTS:
As you drag the caret, the selection oscillates between...

  • the "correct" selection (from the start to the point-where-you've dragged it)
  • a sort of inverse selection (not quite the inverse), from the start of the document up to the "start" selection marker.

It seems like the caret that you're dragging gets intermittently snapped to the start of the document, creating a giant selection that causes the whole page to get highlighted and flicker. And if you drop the caret at the "wrong time", then this is literally the selection that you end up with.

EXPECTED RESULTS:
No such weird oscillation/jumping.

This means bug 1990445 and bug 2011231 are still not-quite-fixed -- it's at least possible to select text now, but the selection behavior is pretty weird and might not get the region that you're intending.

Blocks: 1990445, 2011231
Attachment #9624934 - Attachment description: screencast of bug → screencast of bug on X/Twitte
Attachment #9624934 - Attachment description: screencast of bug on X/Twitte → screencast of bug on X/Twitter

I'm using Nightly 155 2026-08-10 on a Pixel 10 Pro XL with Android 17.

Flags: needinfo?(dholbert)
User Story: (updated)

Retesting this today, I'm unable to reproduce on either of the mentioned sites here (x.com, youtube.com).

Maybe my phone or Firefox instance had just gotten itself into a weird state when I triggered this? Or maybe we had a selection bug in one or two Nightlies that was later fixed?

Anyway, in the absence of an ability to further investigate...
--> WORKSFORME, but we can reopen if we manage to find a way to repro.

Flags: needinfo?(dholbert)
Status: NEW → RESOLVED
Closed: 2 months ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: