Last modified: 2012-12-12 22:14:13 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T39856, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 37856 - VisualEditor on Opera 12: selecting text with mouse 'backwards' fails
VisualEditor on Opera 12: selecting text with mouse 'backwards' fails
Status: RESOLVED DUPLICATE of bug 42925
Product: VisualEditor
Classification: Unclassified
ContentEditable (Other open bugs)
unspecified
All All
: Lowest normal
: ---
Assigned To: Inez Korczyński
:
Depends on:
Blocks: 36000
  Show dependency treegraph
 
Reported: 2012-06-23 02:28 UTC by Brion Vibber
Modified: 2012-12-12 22:14 UTC (History)
3 users (show)

See Also:
Web browser: Opera
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Brion Vibber 2012-06-23 02:28:42 UTC
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.
Comment 1 James Forrester 2012-12-06 16:35:57 UTC
Opera is not currently a target browser, so marking this as "Lowest" priority.
Comment 2 Bartosz Dziewoński 2012-12-06 18:16:58 UTC
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).
Comment 3 Bartosz Dziewoński 2012-12-12 21:58:52 UTC
This currently appears fixed on en.wiki. What happened, and is it going to break itself again? :)
Comment 4 Bartosz Dziewoński 2012-12-12 22:14:13 UTC
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 ***

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links