Closed Bug 231336 Opened 22 years ago Closed 17 years ago

context menu triggers and can't be dismissed if you click+hold or right-click on menu item in a <select> box

Categories

(Core :: XUL, defect)

PowerPC
macOS
defect
Not set
major

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: justdave, Unassigned)

References

Details

Attachments

(1 file)

Mac OS X 2004010305 (and seen in many prior builds for a long time, but I couldn't reproduce it reliably until now) Steps to reproduce: 1. click once in a single-line <select> widget (popup menu/dropdown box) 2. click and hold an item in the option list (or right-click on it if you have a multi-button mouse) Actual results: context menu appears, and cannot be dismissed except by choosing an item in it. Clicking elsewhere doesn't dismiss it. Expected results: context menu shouldn't appear, because I'm already in a menu. The app apparently thinks so, too, because when I click elsewhere, the <select> box's menu closes instead of the context menu.
(In reply to comment #0) This is very similar to what happens with applets and some other elements. In the case of applets, I seem to remember a bug in the database where alt-click or right-click would incorrectly pull up a context menu, and it would not be dismissed if you clicked elsewhere in the applet window. (I've seen it, but didn't re-report it.) I've looked for those old bugs and can't find them, but I'm fairly sure they're related. [The same flaw is visible with applets in win32 2004031616]
Similar(ish) problem when using the citrix plug-in: When using an application inside a citrix session (tested just from Windows), if I right-click in the application's "workpane", two menus come up, the application's context menu and Mozilla's context menu almost completely overlayed on top. The overlay renders the application's context menu essentially mouse-unusable as you can't see the menu options (though you can scroll over it and make an action occur using the mouse). The keyboard also allows scrolling over the application's menu. The problem (of two menus) does _not_ however occur if a "control area" e.g. a scrollbar in the application is clicked. In such a case, just the application context menu shows up. vsinha
Overwriting previous update. Please ignore the previous one. My DSL line acted funky and I ended up posting the wrong description. Apologies... ----------- Similar(ish) problem when using the citrix plug-in: Description: When using an application inside a citrix session (tested just from Windows), if I right-click inside the application, two menus come up, the application's context menu and Mozilla's context menu almost completely overlayed on top. The mozilla context menu is huge however. It appears to be a concatenation of all possible context menus - see image attachment. The overlay renders the application's context menu essentially mouse-unusable as you can't see the menu options (though you can scroll over it and make an action occur using either the keyboard or the mouse). Once the mozilla context menu has opened, it stays even if the left mouse button is clicked elsewhere else in the application, or you use the keyboard. While using a mail client through citrix, I right clicked and got the menus, then opened up a new mail message window, composed and sent it, with the mozilla context menu still around. The menu disappears only if the mozilla window causing the context menu loses focus. I encountered the problem using mozilla 1.8a3 but not with Netscape 7.02. In the latter case, the mozilla context menu was suppressed. vsinha
possible dupe of 95790
*** Bug 300381 has been marked as a duplicate of this bug. ***
*** Bug 313621 has been marked as a duplicate of this bug. ***
*** Bug 322353 has been marked as a duplicate of this bug. ***
I've had similar problems in MacOSX versions of Mozilla for quite awhile. I don't remember what starts the problem -- maybe a select box or something that was described here -- but a contextual menu will stick open, and even changing tabs or applications won't make it go away. But I think I can offer a fix to make it go away when it does happen, without clicking one of the items in the stuck contextual menu: Move your mouse into the menu, then hit the ESC key. That usually (always?) makes it go away for me. Not an actual bug fix, but should help you get rid of the menu without forcing you to, say, reload the page (or select some other item in the menu).
Assignee: hyatt → nobody
QA Contact: shrir → xptoolkit.menus
Component: XP Toolkit/Widgets: Menus → XUL
QA Contact: xptoolkit.menus → xptoolkit.widgets
Right clicking on a <select> box does nothing in Firefox 3 (confirmed with mzz). Thus, worksforme.
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: