Closed Bug 224107 Opened 22 years ago Closed 10 years ago

Doubleclick-and-drag text selection remains active when releasing the mouse outside the browser window

Categories

(Core :: DOM: Copy & Paste and Drag & Drop, defect)

x86
Windows XP
defect
Not set
minor

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: mozilla, Unassigned)

References

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6a) Gecko/20031029 Firebird/0.7+ Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6a) Gecko/20031029 Firebird/0.7+ When double-clicking and dragging to select text, if the mouse button is released while the pointer is over a different frame, the text selection remains active; i.e., just moving the pointer will change the selection Reproducible: Always Steps to Reproduce: 1. Visit a page with multiple frames (e.g.: http://www.radiotimes.beeb.com/jsp/frameset/index.html?src=/ListingsServlet?event=10&channelId=132&programmeId=14276460&jspLocation=/jsp/prog_details.jsp ) 2. Double-click on a word and hold down the mouse button, dragging the selection over the text in the top frame 3. Release the mouse button over the bottom frame 4. Move the mouse back over the top frame Actual Results: The selection is still active; i.e. text is (de-)selected as the mouse moves Expected Results: The selection should not be active once the mouse button is released
Worksforme with a 2003-10-29 nightly build and the 0.7 release on WinXP. The selection is still active after I release the mouse-button, but just moving over the text without clicking the mouse doesn't select anything. Please test again with a current nightly build from ftp://ftp.mozilla.org/pub/mozilla.org/firebird/nightly/latest-trunk/ and a fresh profile (see http://texturizer.net/firebird/faq.html#profilemanager on how to create a new profile). Please make also sure that you have no additional themes and extensions installed.
QA Contact: bugzilla
"The selection is still active after I release the mouse-button, but just moving over the text without clicking the mouse doesn't select anything." To clarify: by "active selection" I mean that text is being selected and deselected (greyed and ungreyed) as I move the mouse pointer, as if it were still pressed in; I don't mean that just moving the mouse activates any links or anything like that. Confirmed with Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6a) Gecko/20031029 Firebird/0.7+, using a virgin profile. The only globally installed extensions were Smoothwheel and MNG decoder, both of which were disabled (and Firebird restarted for good measure).
I'm not seeing this problem either. Win XP 20031029 Firebird/0.7+ I did notice that if I drag words to the blank space in the bottom frame, it initiates an internet keywords search, but I expect that's unrelated. If I drag and drop text over the bottom frame, nothing at all happens to the original selected text, no matter how much I move the mouse around. The bottom frame seems to have Flash advertizing in it. While it seems unlikely, is it possible that some sort of Flash incompatibility is to blame? Have you upgraded to the latest version of Flash?
I filed the bug whilst using Adblock, so any Flash would not be displayed. Disabling it, I can only persuade the page to show animated GIFs; they don't seem to have any effect on the bug. The bug also occurs if you double-click between the Close link and the arrow, and then drag up to the top frame; so I think Flash can be ruled out.
Also: ensure the browser window is not maximised, then double-click and drag to outside the window. This produces the same effects (Fb 20031029)
Aha! I can reproduce it now. Sorry. I found out what I was doing wrong: I was double-clicking on a word to select the whole word, then I was performing a third action, a click-and-hold to grab the word for dragging. If you do this, the bug doesn't occur. You have to hold ON the second click. Also, you have to drag it to the empty space on the right hand side of the bottom frame. If you drag it into the space where the advertising is, it just launches a link from the ad as if you'd clicked on it. So confirming this bug happens, 20031029 Firebird/0.7+. If, say, I double click on the word "Smith" at the bottom right of the Cast List, hold down on the second click and drag down to the bottom right hand corner of the page, I see a whole lot of other text highlighted as I drag it. If I then release the mouse button and move the mouse cursor up and around the page, the highlighted text changes as I move, as if I was still holding down the mouse button.
Yes, that's what I'm seeing, except for: “ If you drag it into the space where the advertising is, it just launches a link from the ad as if you'd clicked on it. ” ...but I think this is irrelevant to the bug.
Confirming on 2003-11-04 firebird and seamonkey nightly on WinXP. Moving over to Browser.
Status: UNCONFIRMED → NEW
Component: General → XP Apps: Drag and Drop
Ever confirmed: true
Product: Firebird → Browser
QA Contact: bugzilla → pmac
Version: unspecified → Trunk
I can no longer reproduce the original bug on a trunk (2005-07-12) Firefox nightly (on Windows XP), but I can reproduce this bit: Steps to Reproduce: 1. Ensure Firefox isn't maximised 2. Double-click-and-hold on any text 3. Drag the mouse outside of the Firefox window 4. Release the mouse button 5. Move the mouse back over the Firefox window Actual Results: Text is (de-)selected as if the mouse button was still held down. Expected Results: The selection shouldn't change. (Changing the summary to reflect this; removing obsolete URL.)
Summary: Doubleclick-and-drag text selection remains active when releasing the mouse on a different frame → Doubleclick-and-drag text selection remains active when releasing the mouse outside the browser window
Yeah, the browser doesn't seem to register the mouse button release if it's outside the active window/tab/scrollbars.
Assignee: bross2 → nobody
QA Contact: pmac
Blocks: 368214
QA Contact: drag-drop
Frankie, does this reproduce for you on Mac? Eckard reports bug 368214 does not reproduce.
Flags: needinfo?(francis.uy)
DNR on Mac. Selection remains selected after releasing mouse button, inside or outside window.
Flags: needinfo?(francis.uy)
Thanks
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.