RESOLVED FIXED 14728
Word selection when right-clicking or double clicking can be very confusing
https://bugs.webkit.org/show_bug.cgi?id=14728
Summary Word selection when right-clicking or double clicking can be very confusing
Adam Roben (:aroben)
Reported 2007-07-23 11:46:19 PDT
r24499 <http://trac.webkit.org/projects/webkit/changeset/24499> re-introduced behavior to select the nearest word when right-clicking. However, this behavior can often be very confusing. For example: 1. Go to http://webkit.org/ 2. Resize the window so that you can see to the right of the Download button 3. Right-click to the right of the Download button The word "The" in the heading of the page ("The WebKit Open Source Project") gets selected. This is very far away from the mouse. You can also end up with only whitespace getting selected, e.g. if you click just to the right of the sentence "If you have more questions, contact us."
Attachments
Adam Roben (:aroben)
Comment 1 2007-07-23 11:46:56 PDT
Justin Garcia
Comment 2 2007-07-23 14:41:45 PDT
Happens on double-click too. It's probably the positionForPoint is buggy in that open space.
Justin Garcia
Comment 3 2007-07-23 19:48:09 PDT
*** Bug 14739 has been marked as a duplicate of this bug. ***
Justin Garcia
Comment 4 2007-07-23 19:55:52 PDT
I'm going to turn off word selection for non-editable content unless the mouse is over text.
David Kilzer (:ddkilzer)
Comment 5 2007-07-23 23:16:49 PDT
Fixed in r24561.
Note You need to log in before you can comment on or make changes to this bug.