All users were logged out of Bugzilla on October 13th, 2018

in popup windows pressing twice the top right button restores a normal window with a locked address bar

NEW
Unassigned

Status

()

10 years ago
6 months ago

People

(Reporter: vitto.giova, Unassigned)

Tracking

Trunk
x86
Mac OS X
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(URL)

(Reporter)

Description

10 years ago
User-Agent:       Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; it; rv:1.9.0.10) Gecko/2009042315 Firefox/3.0.10
Build Identifier: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; it; rv:1.9.0.10) Gecko/2009042315 Firefox/3.0.10

After opening a popup window on a site, by clicking the top right button it is possible to hide the address bar. This is correct behavior: however if that button is pressed again, instead of the address bar only, the whole firefox menu is restore, with the address bar, the search bar, buttons and the bookmarks bar!
The address bar moreover is locked, as in popup mode, and one can't enter any input; the search bar instead works as in normal window.
Pressing the top right button twice once again doesn't restore correct display

Reproducible: Always

Steps to Reproduce:
1. Open a popup window
2. Click the top right button
3. Re-Click the top right button
Actual Results:  
The normal window dispaly appeared, with buttons, address bar, search bar and bookmark bar; moreover the address bar is locked and can't enter input.

Expected Results:  
The window display should either remain as in popup mode or allow input in the address bar once restored.

This is not such a bad feature, as one could recreate a firefox window from one annoying popup, but input should be enabled in the address bar.
Please provide a specific example, and specific steps to reproduce.
1. Click the URL in this bug's URL field to open a popup window without toolbar.
2. In the popup, click the toolbar collapse button in the titlebar twice.

The problem is in nsWebShellWindow::Toolbar(), which blindly replaces the chromehidden flags without remembering which were set before the button was clicked the first time.
Status: UNCONFIRMED → NEW
Component: General → XP Toolkit/Widgets: XUL
Ever confirmed: true
Product: Firefox → Core
QA Contact: general → xptoolkit.xul
Version: unspecified → Trunk
(Reporter)

Comment 3

8 months ago
maybe this could be closed since Apple removed that button and firefox does not support that operating system any more
Moving to Core:XUL per https://bugzilla.mozilla.org/show_bug.cgi?id=1455336
Component: XP Toolkit/Widgets: XUL → XUL
You need to log in before you can comment on or make changes to this bug.