Closed
Bug 64791
Opened 25 years ago
Closed 25 years ago
[xlib port]menus dismiss when they shouldn't
Categories
(Core :: XUL, defect, P4)
Tracking
()
RESOLVED
FIXED
mozilla0.9
People
(Reporter: dbaron, Assigned: dbaron)
Details
Attachments
(2 files)
|
5.72 KB,
text/plain
|
Details | |
|
1.66 KB,
patch
|
Details | Diff | Splinter Review |
In the xlib port, the menus on the main menubar at the top of the navigator
window dismiss if you:
* click on the menu title
* wait for the menu to open
* move the mouse off the menu title (i.e., down to click on an item)
I've traced the problem this far back:
* nsMenuFrame::HandleEvent does the wrong thing when handling the mouse exit
event because the nsMenuBarFrame's mIsActive is false when it should be true
* nsMenuBarFrame::mIsActive is false because there was an extra call to
nsMenuBarFrame::ToggleMenuActiveState() after the call to
nsMenuBarFrame::SetActive(PR_TRUE). I looked at the stack for this call once --
I think it might have had something to do with a blur event on the URL bar, but
I need to look more closely.
| Assignee | ||
Comment 1•25 years ago
|
||
| Assignee | ||
Comment 2•25 years ago
|
||
My guess is that the nsAppShell in the xlib port is sending extra focus/blur
events that other ports aren't sending.
| Assignee | ||
Comment 3•25 years ago
|
||
The code corresponding to the Xlib blur event (NS_DEACTIVATE) code in
widget/src/xlib/nsAppShell.cpp in the GTK port is in widget/src/gtk/nsWindow.cpp
| Assignee | ||
Comment 4•25 years ago
|
||
| Assignee | ||
Comment 5•25 years ago
|
||
Ken Faulkner - you seem to have worked on focus stuff judging by the comments in
the code. Does this seem reasonable to you?
| Assignee | ||
Comment 6•25 years ago
|
||
Apparently the folks at igelaus.com.au have lots of patches they haven't checked
in yet, so I'll move this to Future on the assumption that they've probably
already fixed it...
Status: NEW → ASSIGNED
Priority: -- → P4
Target Milestone: --- → Future
| Assignee | ||
Comment 7•25 years ago
|
||
Apparently they don't have patches for this one...
Target Milestone: Future → mozilla0.9
| Assignee | ||
Comment 8•25 years ago
|
||
Fix checked in 2001-03-09 19:45 PST.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
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
•