Closed Bug 261613 Opened 22 years ago Closed 22 years ago

Popups displayed when viewing item properties in bookmark manager.

Categories

(SeaMonkey :: Bookmarks & History, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: ultimatedbz, Assigned: jst)

References

Details

(Keywords: fixed-aviary1.0, fixed1.7.5)

Attachments

(1 file)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.7.3) Gecko/20040913 Firefox/0.10 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.7.3) Gecko/20040913 Firefox/0.10 Upon opening the Bookmarks Manager, right-clicking an entry, and opening its Properties window, popups are displayed despite blocking being enabled. This only occurs while the bookmarks manager and the properties window are both open. Reproducible: Always Steps to Reproduce: 1. Open Bookmark Manager. 2. Open any item's properties therein. 3. Browse to any page with a popup. Actual Results: Popups were displayed. Expected Results: Popups should have been blocked.
Confirmed this behavior. Quite odd.
Interesting. Putting up a modal chrome dialog pushes some global popup state that won't pop till the modal goes down, I guess? This would be well-worth fixing on branches given that we've gone to all the trouble of landing the new popup blocker there.
Flags: blocking1.7.x?
Flags: blocking-aviary1.0?
This should take care of that by resetting the popup control state while we're opening windows, and that means that the state we had when we open a modal dialog will not be active while the dialog is open, but it will be active again when the dialog is closed, until we unroll the stack far enough to pop the state that enabled popups in the first place.
Assignee: p_ch → jst
Status: UNCONFIRMED → ASSIGNED
Attachment #160571 - Flags: superreview?(brendan)
Attachment #160571 - Flags: review?(bzbarsky)
(In reply to comment #2) > Interesting. Putting up a modal chrome dialog pushes some global popup state > that won't pop till the modal goes down, I guess? Just to clarify, the act of opening up the modal dialog is a popup enabling event (clicking in the menu) that enables popups while we're handling that event, so what we need to do is to temporarily reset the popup state while opening new windows to prevent the state from being active while the modal dialog is open.
Comment on attachment 160571 [details] [diff] [review] Reset popup state while opening windows. Add a comment here explaining why the state is being pushed, and looks great!
Attachment #160571 - Flags: review?(bzbarsky) → review+
Added: // Reset popup state while opening a window to prevent the // current state from being active the whole time a modal // dialog is open.
Want this for branches. /be
Flags: blocking1.7.x?
Flags: blocking1.7.x+
Flags: blocking-aviary1.0?
Flags: blocking-aviary1.0+
Comment on attachment 160571 [details] [diff] [review] Reset popup state while opening windows. sr+a=me with the added comment. Thanks, /be
Attachment #160571 - Flags: superreview?(brendan)
Attachment #160571 - Flags: superreview+
Attachment #160571 - Flags: approval1.7.x+
Attachment #160571 - Flags: approval-aviary+
Fixed on trunk, aviary and 1.7 branches.
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
*** Bug 261046 has been marked as a duplicate of this bug. ***
*** Bug 262980 has been marked as a duplicate of this bug. ***
*** Bug 263522 has been marked as a duplicate of this bug. ***
*** Bug 263723 has been marked as a duplicate of this bug. ***
*** Bug 266121 has been marked as a duplicate of this bug. ***
Product: Browser → Seamonkey
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: