Open Bug 1809053 Opened 3 years ago Updated 3 years ago

Firefox does not set Window Type of extension windows to "Dialog Window" on Wayland while it does so on X/XWayland

Categories

(Core :: Widget: Gtk, defect)

Firefox 110
defect

Tracking

()

UNCONFIRMED

People

(Reporter: jkcdarunday, Unassigned, NeedInfo)

Details

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

Steps to reproduce:

  1. Have Firefox with the Metamask extension installed and set-up (preferably using a tiling window manager) (
  2. Go to any website that supports Connect Wallet (i.e. opensea.io)
  3. Press on Connect Wallet and you should get a Metamask extension window asking you to unlock your wallet

Actual results:

On X11 (and also XWayland) with a tiling window manager, the window opens as an untiled popup. Getting the window properties using KDE's System Settings shows that it has a Window Type of "Dialog Window".

Meanwhile, on Wayland (I've tested on both Sway and KDE), the window gets tiled like a normal window. Getting the window properties using KDE's System Settings shows that it doesn't have the Window Type set (or it's set to default).

Expected results:

It should set the Window Type to "Dialog Window" on Wayland the same way it does on X11 and XWayland which I believe would in turn fix the issue with tiling window managers tiling extension windows.

Also adding that I've been experiencing this for a while but I wasn't sure if it was my tiling window manager, Wayland, or Firefox until I observed the difference in the window properties and tested using different WMs so I don't think that this is a recent regression.

Summary: Firefox does not set Window Type of extension windows to "Dialog Wayland" on Wayland while it does so on X/XWayland → Firefox does not set Window Type of extension windows to "Dialog Window" on Wayland while it does so on X/XWayland

The Bugbug bot thinks this bug should belong to the 'Core::Widget: Gtk' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Widget: Gtk
Product: Firefox → Core

Hello! I have tried to reproduce the issue with firefox 110.0a1(2023-01-05) on Ubuntu 22 but unfortunately I wasn't able to reproduce the issue on my end. Could you answer the following questions in order to futher investigate this issue.

  1. Does this issue happen with a new profile? Here is a link on how to create one: https://support.mozilla.org/en-US/kb/profile-manager-create-remove-switch-firefox-profiles
  2. Does this issue happen in the latest nightly? Here is a link from where you can download it: https://www.mozilla.org/en-US/firefox/channel/desktop/
  3. Do you have any addons installed if so can you list them?
Flags: needinfo?(jkcdarunday)
You need to log in before you can comment on or make changes to this bug.