[Webkit-unassigned] [Bug 19645] New: Selected text moved after opening and dismissing context menu (also affects Mail)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jun 17 17:19:29 PDT 2008


https://bugs.webkit.org/show_bug.cgi?id=19645

           Summary: Selected text moved after opening and dismissing context
                    menu (also affects Mail)
           Product: WebKit
           Version: 525.x (Safari 3.1)
          Platform: Macintosh
        OS/Version: Mac OS X 10.5
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: New Bugs
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: dylanryan at mac.com


This happens to me a lot in Mail, but it also happens in Safari. I don't know
if it is something in Webkit, or in the way the system handles the events, but
since it happens in Safari I thought it'd be good to post it here as a first
step.


Basically what is happening is, if I control-click a word to bring up a context
menu (usually to check spelling), and then dismiss the context menu by clicking
outside of the menu (over some other text), the word I control-clicked (which
gets selected when you control-click it) gets moved to where I clicked to
dismiss the context menu. It happens in a variety of situations, more or less
at random, but I managed to isolate one situation where it happens almost every
time if you follow the steps. (Attachment forthcoming).


Further testing narrowed down the cause further. The mouse has to move between
the time you press the mouse down to dismiss the context menu and the time you
release the button (I guess I move a little too fast sometimes...). What is
happening is the mouse down to dismiss the popup menu is treated as if you are
clicking the word that is selected, so the mouse move with the button still
down drags the word and then places it where you release. Somehow, when the
context menu comes up, the next time you press the mouse button it is treated
as if it were on the selected word rather than wherever it is. 






If this isn't a Webkit issue, I can submit it to Apple as Mail Feedback, it
just seemed that since it affects Safari too it might be a Webkit issue.


-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list