Bug 2323656 - Clicking outside window border using SSD doesn't focus the proper window due to downstream revert
Summary: Clicking outside window border using SSD doesn't focus the proper window due ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: mutter
Version: 41
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: GNOME SIG Unassigned
QA Contact: Fedora Extras Quality Assurance
URL: https://gitlab.gnome.org/GNOME/mutter...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-11-04 12:45 UTC by onlylogout
Modified: 2025-05-12 01:55 UTC (History)
7 users (show)

Fixed In Version: mutter-47.1-3.fc41 mutter-46.7-1.fc40
Clone Of:
Environment:
Last Closed: 2024-11-24 01:53:20 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description onlylogout 2024-11-04 12:45:13 UTC
Due to:
https://src.fedoraproject.org/rpms/mutter/blob/f41/f/0001-Revert-x11-Use-input-region-from-frame-window-for-de.patch

The original issue is still present in Fedora 41.

The issue is that when windows use Server Side Decorations, their area seems to be bigger than that displayed and clicking that area doesn't cause the window below to receive focus.

This is more prevalent in gnome on Xorg because apparently more applications use CSD there, but it still occurs on "pure Wayland" with apps like VSCode.

Reproducible: Always

Steps to Reproduce:
1. Open firefox
2. Open VSCode (without titlebar set to custom)
3. Make firefox window bigger, vscode window smaller, position vscode window on top of the firefox window
4. Click around the edges of the vscode window
Actual Results:  
You see that the focus doesn't switch to the firefox app.


See https://gitlab.gnome.org/GNOME/mutter/-/issues/3769

Comment 1 Adam Williamson 2024-11-21 18:44:01 UTC
Note this report is kinda appropriate for downstream, since we're revealing this bug by reverting the upstream fix for it.

The upstream issue here is https://gitlab.gnome.org/GNOME/mutter/-/issues/2706 . That was fixed in https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3031 , but we found out that the fix for this bug causes a bug in anaconda/blivet-gui - that's tracked upstream at https://gitlab.gnome.org/GNOME/mutter/-/issues/3068 .

So we reverted the fix for this bug, on the basis that this bug is less bad than the installer bug (particularly since this bug is less common on Wayland, and we're Wayland-primary at this point).

Ideally we want something that fixes 2706 without causing 3068.

Possibly, though, on stable branches (so, 40 and 41, 39 is going EOL so let's not bother about it) we should drop the reversion? Once the release is stable, arguably 2706 is 'worse' than 3031, because we don't officially rebuild the live image after release...it would cause this bug to appear in the https://dl.fedoraproject.org/pub/alt/live-respins/ respins, though...

Comment 2 Fedora Update System 2024-11-21 22:29:27 UTC
FEDORA-2024-9939fd1864 (mutter-47.1-3.fc41) has been submitted as an update to Fedora 41.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-9939fd1864

Comment 3 Fedora Update System 2024-11-21 22:29:29 UTC
FEDORA-2024-c7e7bfed86 (mutter-46.6-2.fc40) has been submitted as an update to Fedora 40.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-c7e7bfed86

Comment 4 Fedora Update System 2024-11-22 05:17:18 UTC
FEDORA-2024-c7e7bfed86 has been pushed to the Fedora 40 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-c7e7bfed86`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-c7e7bfed86

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2024-11-23 04:37:36 UTC
FEDORA-2024-9939fd1864 has been pushed to the Fedora 41 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-9939fd1864`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-9939fd1864

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 6 Fedora Update System 2024-11-24 01:53:20 UTC
FEDORA-2024-9939fd1864 (mutter-47.1-3.fc41) has been pushed to the Fedora 41 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 7 Fedora Update System 2024-11-26 04:47:10 UTC
FEDORA-2024-a5bcbb8385 has been pushed to the Fedora 40 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-a5bcbb8385`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-a5bcbb8385

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 8 Fedora Update System 2024-12-11 02:25:00 UTC
FEDORA-2024-a5bcbb8385 (gnome-shell-46.7-1.fc40 and mutter-46.7-1.fc40) has been pushed to the Fedora 40 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 9 Fedora Update System 2025-05-10 16:55:49 UTC
FEDORA-2025-bf6507d705 (mutter-48.2-2.fc42) has been submitted as an update to Fedora 42.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-bf6507d705

Comment 10 Adam Williamson 2025-05-10 16:59:37 UTC
So for the last few releases we've done this dance of reverting the fix for this bug in the release images, but restoring the fix with a post-release update (I just sent the F42 update, see above).

But since we now ship anaconda-webui on the Workstation live, maybe we don't need to do this any more? Should we just drop the reversion in Rawhide now and see if it causes any problems?

If we do that, we'd better test anaconda-webui quite heavily to make sure it's not affected by any case of https://bugzilla.redhat.com/show_bug.cgi?id=2239128 .

Comment 11 Fedora Update System 2025-05-11 02:52:09 UTC
FEDORA-2025-bf6507d705 has been pushed to the Fedora 42 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-bf6507d705`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-bf6507d705

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 12 Fedora Update System 2025-05-12 01:55:58 UTC
FEDORA-2025-bf6507d705 (mutter-48.2-2.fc42) has been pushed to the Fedora 42 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.