Closed Bug 1475188 Opened 7 years ago Closed 4 years ago

Restoring a pop-up window adds the tab bar, when it wasn't there before

Categories

(Firefox :: Session Restore, defect, P3)

62 Branch
defect

Tracking

()

RESOLVED DUPLICATE of bug 1564738
Tracking Status
firefox62 --- affected

People

(Reporter: Smylers, Unassigned)

References

(Blocks 1 open bug)

Details

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:62.0) Gecko/20100101 Firefox/62.0 Build ID: 20180710074717 Steps to reproduce: 1 Open a sized pop-up window. For instance, go to a BBC radio station and press ‘Listen live’, for the Radioplayer window to open: https://www.bbc.co.uk/6music 2 Note that the pop-up window correctly doesn't have a tab bar. 3 Close the pop-up window. 4 Restore the window, for instance with Ctrl+Shift+N. Actual results: Note that the restored window now has a tab bar (with a single tab), where it didn't previously. Expected results: The pop-up window should've been restored to its former state, without a tab bar. I'm seeing the buggy behaviour in Firefox 61 and 62; I'm pretty sure it was correct in Firefox 60. It also happens when restoring an entire session after restarting Firefox (which is how I spotted it in the first place, but just closing and close-undoing a single window is simpler to reproduce). This happens on both Windows and Linux. It isn't as noticeable on Windows where the tab replaces the window title, giving pretty much the same content in the same place; on Linux the tab bar is additional, pushing the content down.
Component: Untriaged → Session Restore
Yup can reproduce this
Priority: -- → P3

I've found a workaround for undoing the effect of this (making the tab bar re-disappear on a window that shouldn't have one): open and then close a second tab in that window. When it closes, the window notices that there's only one tab left, realizes there shouldn't be a tab bar, and removes it.

Simply typing Ctrl+T or clicking on the new tab + doesn't work: they both open a new tab in a normal Firefox window. But there are ways of causing a new tab to be opened in the pop-up window.

The one I found today by chance was to join a wi-fi network with a captive portal. A new tab for logging into the network had opened in the pop-up window (possibly this was only because the page in that window made a network request), and closing it made it look like a proper pop-up window.

Easier to achieve (assuming you have the feature enabled) is to right-click on the unwanted tab and choose ‘Reopen in Container >’, then pick a container. It opens next to the original tab. Again, closing it restores the pop-up window to how it first popped up.

Should be fixed by bug 1564738.

Status: UNCONFIRMED → RESOLVED
Closed: 4 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.