Closed Bug 332823 Opened 19 years ago Closed 19 years ago

Selecting whole text of single-line input field doesn't always work

Categories

(Core :: DOM: Selection, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 262306

People

(Reporter: vincent-moz, Unassigned)

Details

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.1) Gecko/20060313 Debian/1.5.dfsg+1.5.0.1-4 Firefox/1.5.0.1 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.1) Gecko/20060313 Debian/1.5.dfsg+1.5.0.1-4 Firefox/1.5.0.1 After selecting the whole text of a single-line input field (such as the URL and Summary ones in Bugzilla) with a click+drag, clicking with the middle button in an xterm pastes the old selection. One can also see the problem without having to paste: after releasing the mouse button, move the mouse pointer over the input field. The selection behaves as if the mouse button had not been released, i.e. the end of the selection follows the mouse pointer. Reproducible: Sometimes Steps to Reproduce: 1. Open a page with a single-line input field and some text in it (it doesn't matter whether all the text fits in the field or not, or if the text was entered by the user). 2. Press the left mouse button at the beginning of the field. 3. Move the mouse pointer downwards so that the whole field is selected. 4. Released the mouse button. 5. Move the mouse pointer over the input field. Actual Results: Sometimes (and this is not rare), the selection behaves as if the mouse button had not been released, i.e. the end of the selection follows the mouse pointer. Expected Results: Nothing special should happen. To the users affected by this bug: I recommend to check that the selection has been done correctly before pasting it in a sensible place.
I think you're seeing bug 262306, right?
(In reply to comment #1) > I think you're seeing bug 262306, right? This is probable (and consistent with the fact that I couldn't see the problem everytime), so I mark this bug as a duplicate. Please, could you change the OS of bug 262306 to All, since I'm seeing this bug under Linux? *** This bug has been marked as a duplicate of 262306 ***
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.