Page MenuHomePhabricator

VisualEditor on Opera 12: selecting text with mouse 'backwards' fails
Closed, ResolvedPublic


Selecting text from end to beginning with the mouse in Opera 12 doesn't work properly; the selection keeps resetting itself, so you end up with no selection.

Selecting end to start via keyboard (shift+arrow keys) works as expected.

Selecting from start to end works as expected.

Version: unspecified
Severity: normal



Event Timeline

bzimport raised the priority of this task from to Lowest.Nov 22 2014, 12:21 AM
bzimport set Reference to bz37856.

Opera is not currently a target browser, so marking this as "Lowest" priority.

I've determined the issue to happen within ve.ce.Surface.prototype.showSelection, which, every time a selection is made, removes it and adds it back (after the code path goes through two events called via the .emit() system).

I have also determined that the bug only happens when you're not debugging; setting apparently any breakpoint prevents it. Gotta be something timing-sensitive, but I don't know the codebase well enough to investigate (or, in fact, at all).

This currently appears fixed on What happened, and is it going to break itself again? :)

I poked around. This appears to have been fixed by I0873d906 together with bug 42925.

Lesson for today: Opera bugs often highlight hidden non-Opera bugs ;)

  • This bug has been marked as a duplicate of bug 42925 ***