Open Bug 647922 Opened 14 years ago Updated 4 years ago

Should not execute text selection when mouse buttons are up

Categories

(Core :: DOM: Selection, defect, P5)

2.0 Branch
x86_64
All
defect

Tracking

()

People

(Reporter: alice0775, Unassigned)

References

Details

(Keywords: regression)

Build Identifier: http://hg.mozilla.org/mozilla-central/rev/385684ad7eed Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.2a1pre) Gecko/20110405 Firefox/4.2a1pre ID:20110405092515 Should not change text selection by mouse move when mouse buttons are up. This problem happens when the right button click quickly, after performed drag selection by mouse. This is annoying issue. This does not happen on Firefox3.6.x. Reproducible: Always Steps to Reproduce#1: 1. Start Minefield with new profile 2. Open any page 3. In the location bar by mouse left button down . 4. Drag to the left. 5. Holding left button and right button down at Identify box/backforeard button. 6. Release Left button 7. Holding right button and move right to inside textbox 8. Release right button. 9. Move mouse left and right Steps to Reproduce#2: 1. Start Minefield with new profile. 2. Open any page with textarea. 3. Input some text in the textarea. 3. Mouse left button down in the textarea. 4. Drag to the left. 5. Holding left button and right button down at outside of the textarea. 6. Release Left button 7. Holding right button and move right to inside textarea 8. Release right button. (context menu pops up as expexted) 9. Move mouse left and right Actual Results: Text selection is performed by mouse move. Expected Results: Should not execute text selection(expand/collapse) when mouse buttons are up.
Regression window: Works: http://hg.mozilla.org/mozilla-central/rev/bf0fdec8f43b Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.3a1pre) Gecko/20090913 Minefield/3.7a1pre ID:20090913050738 Fails: http://hg.mozilla.org/mozilla-central/rev/912c6ae3b70c Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.3a1pre) Gecko/20090914 Minefield/3.7a1pre ID:20090914045953 Pushlog: http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=bf0fdec8f43b&tochange=912c6ae3b70c Suspected bug: eda2433181c9 Neil Deakin — Bug 503943, add mouse capturing api to elements, remove capturing from views, r=roc,sr=smaug
Blocks: 503943
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:49.0) Gecko/20100101 Firefox/49.0 I have tested this issue on Win 7 x64, Win 10 x64, Ubuntu 14.04 x32 and Mac OS X 10.11 with the latest Firefox release (46.0.1) and the latest Nightly(49.0a1-20160605030215) and managed to reproduce it with both scenarios. Also both buttons can be released outside the selected area and the text selection will continue to execute on mouse movement.
OS: Windows 7 → All
Hardware: x86 → x86_64

Bulk-downgrade of unassigned, untouched DOM/Storage bug's priority.

If you have reason to believe, this is wrong, please write a comment and ni :jstutte.

Severity: normal → S4
Priority: -- → P5
You need to log in before you can comment on or make changes to this bug.