Closed Bug 411903 Opened 17 years ago Closed 17 years ago

nsIPopupBoxObject#setConsumeRollupEvent has no effect on Linux

Categories

(Core :: XUL, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: gomita, Unassigned)

References

Details

Attachments

(1 file)

1.09 KB, application/vnd.mozilla.xul+xml
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ja; rv:1.8.1.11) Gecko/20071127 Firefox/2.0.0.11 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9b3pre) Gecko/2008011004 Minefield/3.0b3pre In Firefox 3, nsIPopupBoxObject has a new setConsumeRollupEvent method which enables to decide whether outside clicks of popup should be consumed or not. However, it has effect only on Windows and no effect on Linux. Reproducible: Always Steps to Reproduce: 1.Open the subsequent testcase. 2.Click [ROLLUP_NO_CONSUME] button to open popup. 3.Click [TEST] button during popup display. Actual Results: Popup closes and alert dialog opens on all platforms. Clicks outside of popup should NOT be eaten when we use nsIPopupBoxObject#setConsumeRollupEvent(Ci.nsIPopupBoxObject.ROLLUP_NO_CONSUME). Expected Results: Windows: Popup closes and alert dialog opens. Linux: Popup closes but alert dialog doesn't open. Mac: unconfirmed
Attached file testcase
Blocks: 279703
Component: XUL Widgets → XP Toolkit/Widgets: Menus
Product: Toolkit → Core
Version: unspecified → Trunk
QA Contact: xul.widgets → xptoolkit.menus
This is the general case of what's happening in 402415 with Larry on Linux. In that bug, for FF3, we might just use a workaround, closing the panel explicitly, but this is definitely where the problem should be fixed for good, at which point the workaround code there could be removed.
Status: UNCONFIRMED → NEW
Ever confirmed: true
This bug isn't related to bug 402415. Mac and Linux currently just ignore the consumeRollup argument.
This bug had been fixed since 2008-01-16-04 build, maybe because of the Bug 188126 and Bug 412341 checkins. nsIPopupBoxObject#setConsumeRollupEvent now works on Linux just the same on Windows. Then, please someone test on Mac OS X + Minefield.
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Flags: in-testsuite?
Component: XP Toolkit/Widgets: Menus → XUL
QA Contact: xptoolkit.menus → xptoolkit.widgets
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: