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)
Core
XUL
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)
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.
Comment 5•25 years ago
|
||
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.
Comment 9•25 years ago
|
||
hmm...in my new build this works now! can anyone confirm this?
| Reporter | ||
Comment 10•25 years ago
|
||
Blake, I pulled an M18 nightly from today (2000100908) and it's still not
working.
Updated•25 years ago
|
Target Milestone: Future → mozilla1.0
| Reporter | ||
Comment 11•25 years ago
|
||
*** Bug 60815 has been marked as a duplicate of this bug. ***
Comment 12•25 years ago
|
||
still working for me...
| Reporter | ||
Comment 13•25 years ago
|
||
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.
| Reporter | ||
Comment 14•25 years ago
|
||
*** Bug 65240 has been marked as a duplicate of this bug. ***
Comment 15•25 years ago
|
||
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?
Comment 16•25 years ago
|
||
After switching themes, I can't open the Edit menu either (!). All menus other
than Edit and View work fine.
Comment 17•25 years ago
|
||
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.
| Reporter | ||
Comment 18•25 years ago
|
||
Hyatt has a fix for the other menu problems over in bug 67574.
| Reporter | ||
Comment 19•25 years ago
|
||
Hmmmm.... cc: Hyatt.
| Reporter | ||
Comment 20•25 years ago
|
||
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?
| Reporter | ||
Comment 21•25 years ago
|
||
*** Bug 76635 has been marked as a duplicate of this bug. ***
Comment 22•25 years ago
|
||
Comment 23•25 years ago
|
||
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.
| Assignee | ||
Updated•24 years ago
|
Status: NEW → ASSIGNED
Target Milestone: mozilla1.0 → mozilla1.0.1
| Reporter | ||
Comment 25•24 years ago
|
||
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.
Description
•