Closed Bug 51996 Opened 25 years ago Closed 24 years ago

selecting a theme from the Apply Theme menu doesn't call DismissChain()

Categories

(Core :: XUL, defect, P3)

defect

Tracking

()

RESOLVED WORKSFORME
mozilla1.0.1

People

(Reporter: deanis74, Assigned: hyatt)

References

Details

(from bug 38425) [Blake Ross] I notice also that using the View | Apply Theme menu to dynamically change themes doesn't clear the selected theme item in that menu (when you reopen the submenu, the item is still selected, same problem as this bug reports). Probably related. [Dean Tessman] Nope, my patch doesn't affect this. I think this is a different problem. Using the new Modern skin, I see that after selecting a theme from the Apply Theme menu, the View menu on the menubar is still depressed on mouseover. Did that make sense? Maybe not. Try these steps: 1. Open the View > Apply Theme menu. 2. Select Modern 3. Mouse over the top-level menu items in the menu bar. "View" is depressed while all the other items look normal. Almost like something isn't processing through to completion. ---- This then disables use of the keyboard for selecting menu items. The problem seems to be that this "if" statement is failing, although why I'm not yet sure: http://lxr.mozilla.org/seamonkey/source/layout/xul/base/src/nsMenuFrame.cpp#1505 Because this fails, DismissChain() is never called, and that's probably causing the behavior we're seeing. Build: Sept 8 2000 (don't have an exact id handy) (guessing that Platform and OS are all)
cc'ing Blake
I think that it may be related to the rdf datasource that is used to fill the list of themes, but I don't know where to start looking at that stuff.
The themes in the Apply Theme menu call nsChromeRegistry::SelectSkin(), but after that it's for someone else to figure out. This probably needs to be reassigned, but I'm not sure to whom. And I wouldn't call this trivial behavior, as I see a lot of people using this menu.
Found this comment: http://lxr.mozilla.org/seamonkey/source/layout/xul/base/src/nsMenuBarFrame.cpp#9 8 Wonder if the tearing down of frames that it mentions has something to do with this bug.
cosmetic, non-grandma-killing --> future
Status: NEW → ASSIGNED
Target Milestone: --- → Future
But really ugly, especially for a menu that will probably be used a fair bit.
Also, if I recall correctly, shortcut keys (eg. Ctrl+N) don't work after selecting one of these menu items.
*** Bug 54575 has been marked as a duplicate of this bug. ***
hmm...in my new build this works now! can anyone confirm this?
Blake, I pulled an M18 nightly from today (2000100908) and it's still not working.
Target Milestone: Future → mozilla1.0
*** Bug 60815 has been marked as a duplicate of this bug. ***
still working for me...
Still seeing this. Using today's build, if I follow my steps as originally described, the View item on the menu bar is depressed / "active" and shortcut keys (eg. Ctrl+F) no longer work.
*** Bug 65240 has been marked as a duplicate of this bug. ***
In 0202 Win98, I can't open the View menu at all after switching themes. (This is a regression since 0201.) Should I file a new bug or raise this one's severity?
After switching themes, I can't open the Edit menu either (!). All menus other than Edit and View work fine.
I've got a similar problem: After I change the theme, I can't select some Menus (Edit, View, Search, Go, Bookmarks); but only in the window I changed the theme in. Newly opened windows work fine.
Hyatt has a fix for the other menu problems over in bug 67574.
Hmmmm.... cc: Hyatt.
Hyatt, just to double-check my assumption from way back, DismissChain() _should_ get called after Execute() for any menu item, right? Mike, mind if I take this one?
*** Bug 76635 has been marked as a duplicate of this bug. ***
Parts of this may have regressed. See bug 83325 and bug 81096 which describe problems with the View menu disappearing after switching themes.
the apply theme buttons are still not aligned correctly in Build 2001060703. also, when changing from classic to modern, clicking the Ok button does not close the preferences dialog. Instead, one has to click Cancel for the preferences dialog to disappear.
new owner
Assignee: pinkerton → hyatt
Status: ASSIGNED → NEW
Status: NEW → ASSIGNED
Target Milestone: mozilla1.0 → mozilla1.0.1
I don't see this in recent builds, since dynamic skin switching was re-enabled. Works for me, 2002010703 on Win2K.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → WORKSFORME
Component: XP Toolkit/Widgets: Menus → XUL
QA Contact: jrgmorrison → xptoolkit.widgets
You need to log in before you can comment on or make changes to this bug.