Open Bug 1642214 Opened 6 years ago Updated 27 days ago

Clicking always rises firefox to top, regardless of window manager settings

Categories

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

68 Branch
defect

Tracking

()

UNCONFIRMED

People

(Reporter: lk1, Unassigned, NeedInfo)

Details

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

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

Steps to reproduce:

Running Debian 10 with xfce desktop, I normally use "focus follows mouse" and not "rise window on click" window manager settings.
So it is possible to work (including clicking) in a window while it is partly hidden behind other windows. This is a legit setting that works on almost all applications on linux, including firefox till some month ago.

Actual results:

The firefox window now always rises to the front on any click and ignores the window manager settings. So it is a regression.

Expected results:

You should not automatically bring firefox to front when receiving a click event but relay on the window manager to perform this - or not, in case of the settings described above.

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

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

Can you please try to use mozregression command line tool (https://mozilla.github.io/mozregression/) to find the regression range?
Thanks.

Flags: needinfo?(lk1)
Priority: -- → P3

I apologize, actually it is not a regression, and there is one more step required to trigger the bug:
You have to disable the title bar: "Customize" - unselect "Titlebar",
with the default settings Firefox behaves correctly.

The behavior apparently was introduced together with the initial implementation of the "no titlebar" feature.

Bisecting shows when it happened:
...
INFO: Got as far as we can go bisecting nightlies...
INFO: Last good revision: 8e33bdf820dcc2ecd6f326eb83c39fc5e4769dcf (2018-01-15)
INFO: First bad revision: b2cb61e83ac50115a28f04aaa8a32d4db90aad23 (2018-01-16)
INFO: Pushlog:
https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=8e33bdf820dcc2ecd6f326eb83c39fc5e4769dcf&tochange=b2cb61e83ac50115a28f04aaa8a32d4db90aad23
INFO: Switching bisection method to taskcluster
INFO: Getting mozilla-central builds between 8e33bdf820dcc2ecd6f326eb83c39fc5e4769dcf and b2cb61e83ac50115a28f04aaa8a32d4db90aad23
...
INFO: There are no build artifacts for these changesets (they are probably too old).

Btw: mozregression is a fantastic tool, bisecting on other projects often tends to be a pain in the ...

Severity: -- → S3
Whiteboard: gtk-severity-sweep-2026-10
You need to log in before you can comment on or make changes to this bug.