Bug 20136 - Select is opened on Ctrl-Click before Contextual Menu is displayed
Summary: Select is opened on Ctrl-Click before Contextual Menu is displayed
Status: UNCONFIRMED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 525.x (Safari 3.1)
Hardware: Mac OS X 10.5
: P4 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-22 21:52 PDT by Dylan
Modified: 2008-07-22 21:52 PDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dylan 2008-07-22 21:52:24 PDT
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