[CSD] Popup window created by browser.windows.create loses title bar after session restore

UNCONFIRMED
Unassigned

Status

()

defect
UNCONFIRMED
6 months ago
4 months ago

People

(Reporter: gwarser, Unassigned)

Tracking

65 Branch
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(4 attachments)

Reporter

Description

6 months ago
Posted image beta-bad.png
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:66.0) Gecko/20100101 Firefox/66.0

Steps to reproduce:

- fresh Firefox profile
- enable "Restore previous session" in Preferences, close tab
- disable title bar in Customize..., close tab
- Add-ons -> Extensions, search for and install uBlock Origin 1.17.4
- click on uBlock Origin icon in toolbar and click "Open the logger" icon (second from the right, just below "power" button)
- close main window
- close uBO logger window
- reopen Firefox


Actual results:

Main window and uBO logger window opens.
Logger window title bar and buttons missing.


Expected results:

Title bar and minimize/maximize/close buttons should be present.

Related uBO code https://github.com/gorhill/uBlock/blob/c3b0fd31f64bd7ffecdd282fb1208fe07aac3eb0/platform/chromium/vapi-background.js#L497
Reporter

Comment 1

6 months ago
This is screenshot from uBO 1.17.4, previous was from dev build.

My system is Manjaro KDE

Comment 2

6 months ago
Posted image uBlock Origin.PNG
I couldn't reproduce this issue on Ubuntu 16.04

uBlock Version 1.17.4

User Agent 	Mozilla/5.0 (X11; Linux x86_64; rv:66.0) Gecko/20100101 Firefox/66.0

I see no difference in Logger window title bar/ buttons before or after STR from comment 1. I don't see uBlock icon (as mentioned in comment 1) before or after. Please see the attached image.

I am placing this under Firefox: Extensions comparability so someone can look into this.

Updated

6 months ago
Component: Untriaged → Extension Compatibility
Reporter

Comment 3

6 months ago
I can also reproduce on:

uBO 1.17.4 on Firefox 64 on Lubuntu lxqt 18.10 (buttons present, but no title bar)
uBO 1.17.4 on Firefox 65 on Lubuntu lxqt 18.10

and

uBO 1.17.4 on Firefox 65 on Mint kde 18.3

but not on

uBO 1.17.4 on Firefox 64 on Mint kde 18.3


(these systems have not been updated for few months)
Reporter

Comment 4

6 months ago
Reporter

Comment 5

5 months ago

This also happens for popups opened by window.open() with location=0 option.
Test: https://codepen.io/anon/pen/vvQBKJ (popup opens after click).

location=0 option is blocked by default, needs to be allowed in about:config first: dom.disable_window_open_feature.location;false.

65 and 66 - both, drag space and window buttons are missing
64 - no drag space, window buttons displayed over content

Maybe guys from https://bugzilla.mozilla.org/show_bug.cgi?id=1283299 should look at this?

You need to log in before you can comment on or make changes to this bug.