Page MenuHomePhabricator

VisualEditor: By-word selection fails when mouse moves
Closed, ResolvedPublic

Description

Word-by-word text selection by mouse fails as soon as the user moves the mouse.

Examples: If a user double clicks on "Lorem" in a "Lorem ipsum" string and then moves the mouse to, say, after the letter "p", the selected text becomes just "Lorem ip", rather than the entirety of both words. If a user double clicks on a word, it becomes entirely highlighted, but if the mouse is moved, the only parts highlighted are the letters between the beginning of the word and the cursor.

The expected behavior is that after the user double clicks, the selection expands/shrinks only word-by-word, with the original selected word always highlighted.

Tested on Chrome on Windows 7.


Version: unspecified
Severity: normal

Details

Reference
bz39965

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 1:01 AM
bzimport set Reference to bz39965.

orbit wrote:

To clarify the steps to reproduce, a user must click-release-click-hold and move the mouse.

orbit wrote:

This is fixed due to the selection changes from Inez.