Closed Bug 20998 Opened 25 years ago Closed 25 years ago

WIN32: Alt+Esc when submenu item highlighted doesn't destroy submenu

Categories

(Core :: XUL, defect, P3)

x86
Windows NT
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: dean_tessman, Assigned: hyatt)

References

Details

Pressing Alt+Esc to switch tasks when a submenu is open and an item highlighted doesn't destory the submenu nor its parent. Using Alt+Tab does result in the menu being destroyed. To duplicate: Select the Debug menu, open the Verification submenu, then highlight Microsoft. Then press Alt+Esc to switch to the next-topmost task. The Debug menu and the Verification submenu remain visible and on top. Platform: WinNT 4 sp5 Build ID: 1999120608
Status: NEW → ASSIGNED
Target Milestone: M14
Target Milestone: M14 → M15
Assignee: saari → pinkerton
Status: ASSIGNED → NEW
Taking menu/popup bugs.
saari fixed this recently. it works.
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
BULK MOVE: Changing component from XP Menus to XP Toolkit/Widgets: Menus. XP Menus component will be deleted.
Component: XPMenus → XP Toolkit/Widgets: Menus
I just tried this with Build ID 2000012208, an M14 build. Should it be fixed in this build?
I duplicated this behavior again in the M14 2000012520 build. I hope I'm not crossing some line here by re-opening the bug.
Status: RESOLVED → REOPENED
wow, you're right. it only doesn't go away when the mouse is inside the submenu. if the mouse is inside the parent, all closes up ok. accepting, postbeta.
Resolution: FIXED → ---
Status: REOPENED → ASSIGNED
Yep, that's the only way that I've been able to duplicate it. Kind of strange, since it works for Alt+Tab but not Alt+Esc. I would have thought that the code for lose focus from the application and the menu would have been the same in both cases.
moving all key-related menu bugs to hyatt, per his request.
Assignee: pinkerton → hyatt
Status: ASSIGNED → NEW
Fixed.
Status: NEW → RESOLVED
Closed: 25 years ago25 years ago
Resolution: --- → FIXED
I just pulled a new nightly and if this fix is in there then it doesn't completely work. I notice now that as soon as I press the Alt key when a popup menu is active, it closes that popup. For example, if I have Debug > Verification > Mozilla selected and press Alt, the Verification popup closes. But this strategy doesn't work if I'm multiple levels into a menu. Try selecting the View > Character Coding > Character Set ISO > Western menu item, then press Alt+Esc. It only closes the Character Set ISO popup, and we still have the problem of the popup menu remaining active and orphaned in front of other applications. Build ID: 2000021308 OS: WinNT4 sp5
Pressing the ALT key when a menu is up is supposed to immediately close all menus. This is what Win98 does at least.
Oops, you're right. Missed an edge case. Fixed now.
Just downloaded the latest build (ID: 2000021316) and it works much better now.
Can I mark this as verified? Hope so, because I just did.
Status: RESOLVED → VERIFIED
Blocks: 37992
Component: XP Toolkit/Widgets: Menus → XUL
QA Contact: bugzilla → xptoolkit.widgets
You need to log in before you can comment on or make changes to this bug.