Closed Bug 15557 Opened 26 years ago Closed 26 years ago

Edit box gaining focus causes an extend selection

Categories

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

x86
Windows NT
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: yossioren, Assigned: mjudge)

Details

1. Take an edit box with some text in it (say this one). 2. Click somewhere near the beginning of the text. 3. Click on another text box or window (basically the textbox should lose focus). 4. Start dragging near the end of the text in the original edit box. What happens is that the selection is extended from the old cursor position. What SHOULD happen is a NEW drag-selection from the current position. This is very apparent since there's no threshold on this operation - as soon as the mouse drags one pixel you get this huge selection. This makes it happen even if you try to just click in the window.
Good catch! For future reference, please check the Bug Writing Guidelines (http:/ /www.mozilla.org/quality/bug-writing-guidelines.html), specifically, it helps to include the build date. Mike, I can reproduce this on Win32 & Linux, but not on Mac OS (using M10 candidate builds).
Status: NEW → ASSIGNED
Target Milestone: M15
setting to M15, this can wait until after beta push
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
Summary: Edit box gaining focus causes an extend selection → Edit box gaining fosddsg fgdsgcus causes an extend selection
this seems fixed to me please verify.
Summary: Edit box gaining fosddsg fgdsgcus causes an extend selection → Edit box gaining focus causes an extend selection
Verified fixed using 2000021008 builds on Mac OS 8.6 & RH Linux 6.0/GNOME. yossioren@proxy.co.il, would you also like to give this a whirl to be sure it's fully fixed? Thanks!
Status: RESOLVED → VERIFIED
Doh, make that using NT 4.0 SP5 & RH Linux 6.0/GNOME. (Never was a problem on Mac OS.)
Okie doo. Verified on Windows 2K using build 2000020608. The bug doesn't happen when I click in from other Moz windows, nor from other apps. Happy Hunting.
Thanks!
You need to log in before you can comment on or make changes to this bug.