Open Bug 1847145 Opened 3 years ago Updated 24 days ago

GPS Location Bubble Prompts under X11 do not hide on Workspace Change

Categories

(Core :: Widget: Gtk, defect)

Firefox 116
Desktop
Linux
defect

Tracking

()

Tracking Status
firefox117 --- affected
firefox118 --- affected

People

(Reporter: sxk0rr+xcp6j4xohjq0, Unassigned)

Details

(Whiteboard: gtk-severity-sweep-2026-10)

Attachments

(2 files)

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

Steps to reproduce:

As described in https://github.com/qtile/qtile/issues/4371 . I open the following HTML via a localhost served page (to avoid need for TLS), if I then change to another workspace, the prompt does not hide, nor can I click on it meaning it's a softlocked space until I return to the browser workspace and click clear.

A user reported that it was possible to reproduce in i3, I was also able to reproduce in OpenBox. OpenBox would likely be easiest to trigger by:

  • Start an OpenBox session
  • Right click a blank area of the screen and open a terminal, use that to run FireFox and obtain the prompt
  • Use the mouse scroll wheel on a blank area of the screen to rotate to a new workspace. I believe ctrl+alt+1-4 also work by default.

<html><body></body><script>
const successCallback = (position) => { console.log(position); };
const errorCallback = (error) => { console.log(error); };
navigator.geolocation.getCurrentPosition(successCallback, errorCallback);
</script>
</html>

Actual results:

Bubble displayed while firefox hidden, unable to click block or allow

Expected results:

Bubble should hide on workspace hide, taking care to not lock the browser (e.g., if a second browser window is open on another workspace, it should remain working)

Hello! I have managed to reproduce the issue with firefox 118.0a1(2023-08-22) and 117.0 on Ubuntu 22.04. I will mark this issue as NEW and set a component for this issue, if it's not the right component please feel free to change it to an appropriate one.

Have a nice day!

Status: UNCONFIRMED → NEW
Component: Untriaged → Widget: Gtk
Ever confirmed: true
OS: Unspecified → Linux
Product: Firefox → Core
Hardware: Unspecified → Desktop
Severity: -- → S3
Whiteboard: gtk-severity-sweep-2026-10
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: