Closed Bug 1593114 Opened 5 years ago Closed 2 years ago

Firefox changes from container to a floating window randomly when URL is clicked

Categories

(Core :: Graphics, defect, P3)

70 Branch
defect

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: pmargeti34, Unassigned)

References

(Blocks 1 open bug)

Details

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

Steps to reproduce:

This is under sway wm. Firefox works with webrender and wayland enabled. Sometimes when clicking on URL's firefox would drop tiling mode and become a floating window. URL is activated using the mouse left button.

Actual results:

Firefox becomes a floating window when.

Expected results:

Firefox remains a tiled window.

Bugbug thinks this bug should belong to this component, but please revert this change in case of error.

Component: Untriaged → Graphics: WebRender
Product: Firefox → Core

cc mstansky in case you have an idea of what in the widget/wayland code could affect this.

Priority: -- → P3

I've never seen this behaviour under sway and ff webrender/wayland. What window rules do you have configured in sway?

Is it possible a website runs javascript that can change the geometry of the window?

I've had this issue because I had a rule like this in my sway config:

for_window [title="Android Emulator.*"] floating enable

Then, every time I visit a web page with "Android Emulator" in it's HTML <title>, the window would go floating - as one would expect. So I had to adjust my own sway config, where I wasn't specific enough. Maybe that's the case for you as well.

Mel, do you still see this issue and if so, does comment 5 help?

Flags: needinfo?(pmargeti34)

(In reply to Robert Mader [:rmader] from comment #6)

Mel, do you still see this issue and if so, does comment 5 help?

Comment 5 didn't help. I've managed to determine this happens on only some shady websites, so this can probably be closed.

Flags: needinfo?(pmargeti34)
Status: UNCONFIRMED → RESOLVED
Closed: 2 years ago
Component: Graphics: WebRender → Graphics
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.