[Webkit-unassigned] [Bug 20136] New: Select is opened on Ctrl-Click before Contextual Menu is displayed

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 22 21:52:25 PDT 2008


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

           Summary: Select is opened on Ctrl-Click before Contextual Menu is
                    displayed
           Product: WebKit
           Version: 525.x (Safari 3.1)
          Platform: Macintosh
        OS/Version: Mac OS X 10.5
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P4
         Component: New Bugs
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: dylanryan at mac.com


Overview Description:
When you control-click on a Select element (such as those found on on any of
these Bugzilla pages), the select is opened as if you left-clicked it. Then,
when you select an option in the Select, or click outside the Select to dismiss
it, the normal ctrl-click menu appears. 


This makes it difficult to use the "inspect element" contextual menu item on a
select. Not impossible, but the extra step is annoying.


More annoyingly, if you control-click a Select to open it, navigate up or down
in the select with the arrow keys, and use ENTER to make a selection, the
contextual menu is displayed as soon as the select is dismissed (regardless of
wether you already released the mouse button or not). 


NOTE: On my MacBook Pro, I have the trackpad set to accept two finger taps to
count as right click. if I use this to click on a select, only the contextual
menu is displayed. I imagine that the same is true for a real two-button mouse,
but I do not have one to test with. The problem seems to be only in emulating a
right click if control is held while left-click is used. 


Steps to Reproduce:
Control-click on any select item in any page. Right click may or may not work,
you must hold control and left click it.


Actual Results:
The select is opened as if you left clicked it with no modifiers held. When
dismissing the select in any manner (with mouse or keyboard), the normal
control-click contextual menu is displayed.


Expected Results
The select should not be displayed, only the standard contextual menu for
right/control clicking an item should be displayed. The select can still be
focussed to match FireFox


Other Browsers: 
FireFox 3 does not open the select when it is control clicked, but neither does
it show the contextual menu. The select is still focussed by the right click,
but the click seems to be consumed without any other effects. FireFox 2
correctly displays a contextual menu when control-clicking a select and does
not display the contents of the Select. [as an aside, I cannot get a contextual
menu to display for a select in FF3 in any manner, so that may not be the best
example in the world. FF2 displays what I consider "correct" behavior]


This is not a regression from the stock Safari 3.1.2, the only version I can
easily test besides the Nightlies


-- 
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