Open Bug 1844798 Opened 1 year ago Updated 1 year ago

[FVWM] "Allow x to access your location" dialog box cannot be closed if it appears outside of the Firefox window

Categories

(Core :: Widget: Gtk, defect, P3)

Firefox 115
defect

Tracking

()

UNCONFIRMED

People

(Reporter: vincent-moz, Unassigned)

Details

(Keywords: helpwanted)

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

Steps to reproduce:

  1. Go to some site that asks to access the location (here, initiating a Google search is sufficient).
  2. Switch to another desktop page (I'm using FVWM 2 for that), so that the Firefox window is no longer visible.
  3. Click on "Allow" or "Block" in the "Allow x to access your location" dialog box.

Actual results:

After 2, an "Allow x to access your location" dialog box appears on the new desktop page. BTW, this could also be regarded as the main bug, as I don't see why it doesn't stick to the Firefox window. And after 3, nothing happens: the dialog box is still there. If I move to the original desktop page, the dialog box moves back over the Firefox window, and clicking on "Allow" or "Block" closes the dialog as expected.

Expected results:

Either the dialog box should stick to the Firefox window (thus it may no longer be visible, just like the Firefox window), or it should still answer to clicks on "Allow" or "Block".

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

Yes, I think that may be broken somehow. Unfortunately I'm not using such DE so I have no experience with that.

Would be great if anyone can look at it. Related code is at nsWindow.cpp:
https://searchfox.org/mozilla-central/rev/00e6644d0db8acf9372702324151b8077a3d2bb7/widget/gtk/nsWindow.cpp#5818

Firefox Linux hacking mini-howto:
https://mastransky.wordpress.com/2023/07/04/no-one-fights-alone-a-guide-to-your-first-firefox-patch-on-linux/

Priority: -- → P3
Summary: "Allow x to access your location" dialog box cannot be closed if it appears outside of the Firefox window → [FVWM] "Allow x to access your location" dialog box cannot be closed if it appears outside of the Firefox window
You need to log in before you can comment on or make changes to this bug.