Closed Bug 645163 Opened 13 years ago Closed 13 years ago

XUL Panel is closed by menu style toolbar button

Categories

(Core :: Widget: Cocoa, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: ddahl, Unassigned)

References

Details

(Whiteboard: [blocks-devtools-fx5-patches])

In bug 577721, I have a toolbar inside a panel where the toolbar buttons are menu buttons. If I click on the button, but do not select an option, the panel closes unexpectedly. None of the command callbacks are programmed to close the panel.
BTW: this is only the case on Mac OS X
Blocks: 577721
Component: XUL Widgets → Widget: Cocoa
Product: Toolkit → Core
QA Contact: xul.widgets → cocoa
Whiteboard: [blocks-devtools-fx5-patches]
A simple test I did doesn't seem to show this. Can you make a testcase?
(In reply to comment #2)
> A simple test I did doesn't seem to show this. Can you make a testcase?

Something magical must of happend, I cannot reproduce either. Maybe it was a full clobber i did? Weird. Sorry to waste your time. I'll re-open with a test case if I see it again.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → WORKSFORME
I believe I bumped into this issue as well.

The problem was that there was a popuphidden event listener which closed the Web Console panel. It was assumed that only the Web Console panel can fire the popuphidden event, however when the menupopup hiding fired that event things went wrong. This is fixed in the latest patch.
You need to log in before you can comment on or make changes to this bug.