Closed Bug 95942 Opened 24 years ago Closed 21 years ago

Drag-select when rightmost text already selected doesn't work

Categories

(Core :: DOM: Selection, defect)

x86
All
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME
mozilla1.1alpha

People

(Reporter: greenrd, Assigned: mjudge)

References

()

Details

From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.3+) Gecko/20010817 BuildID: 2001081715 When the rightmost characters in a textfield or the URL bar are selected, if you start dragging to the right of them, and drag over them, no text is selected. Reproducible: Always Steps to Reproduce: 1. Ensure that you have a short URL in the URL bar, so there is some unoccupied space to the right of it. 2. Select some characters at the right of the URL. 3. Move mouse past right end of URL 4. Drag mouse leftwards 5. Release mouse button Actual Results: No selection. Cursor appears at end of URL. Expected Results: Should have selected what I dragged over. This is consistent with, for example, konqueror in KDE 2.2. ----------------------- The above test case is not so bad. Where it gets REALLY confusing is this "bad user experience" case, which I thought was a hard-to-reproduce bug until I worked out what was going on: 1. Select all of URL bar 2. Click outside of URL bar. Selection in URL bar disappears, but it still "remembers" its selection, as you see in the next step (is this a different bug?). 3. Click and drag from past the right end of URL, leftwards. Actual result: Entire URL is selected WHILE you drag, but nothing is selected after you release the mouse button! Expected result: should select text as normal.
hmmm, should this go to selection?
Assignee: blakeross → mjudge
Component: XP Apps: GUI Features → Selection
QA Contact: sairuh → tpreston
I can confirm that this happens with 2001-09-11-21 on Linux. Also note that this does not occur on Netscape 4.78 on Linux. The result on NS 4.x is that the text get selected during the drag even if it is already selected before. Adding 4xp keyword and marking NEW.
Keywords: 4xp
This bug is closely related, but not a dupe, of bug #87410.
Confirming on Linux and Win98. Just to re-emphasize, if the rightmost character is selected, then a selection attempt from the right will cause the text to be unselected and the cursor will be at the end.
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Linux → All
will look into this
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla0.9.9
Target Milestone: mozilla0.9.9 → mozilla1.1
WFM Linux FireFox 20040406.
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.