Bug 2349606 - GTK3-based apps' menus are glitched on KDE, potentially causing the whole app to become unresponsive
Summary: GTK3-based apps' menus are glitched on KDE, potentially causing the whole app...
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: gtk3
Version: 42
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Matthias Clasen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: RejectedBlocker AcceptedFreezeException
Depends On:
Blocks: F42BetaFreezeException
TreeView+ depends on / blocked
 
Reported: 2025-03-03 19:23 UTC by Steve Cossette
Modified: 2025-03-10 18:13 UTC (History)
12 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Steve Cossette 2025-03-03 19:23:10 UTC
The issue also partially occurs in F41 and F40, but on F42, if you open a GTK3-based app such as the firewalld application or virt-manager, and try to click the rightmost menu, the left menu pops up.

That in itself is not necessarily a problem, but.... if you click on the same menu a couple times (Which does still pops up the left menu), it freezes the whole UI, requiring a SIGKILL.

(I'll try to make a video about it in a bit)

Reproducible: Always

Comment 1 Neal Gompa 2025-03-03 19:32:27 UTC
I can reproduce this with firewall-config (a default app on Fedora KDE).

Comment 2 Fedora Blocker Bugs Application 2025-03-03 19:35:06 UTC
Proposed as a Blocker for 42-beta by Fedora user farchord using the blocker tracking app because:

 GTK3 Menus are bugged on KDE, and clicking some menus do end up completely freezing the applications up.

Comment 3 Adam Williamson 2025-03-03 20:18:20 UTC
does this affect KDE 6.3.1, 6.3.2, or both?

Comment 4 Steve Cossette 2025-03-03 20:23:02 UTC
I tested on 6.3.2 on F42, I believe Neal has F41 which has 6.3.2 and it's reproduceable.

Comment 5 Derek Enz 2025-03-03 20:44:05 UTC
Yes confirmed.

F42 KDE Plasma 6.3.2

Comment 6 Geraldo Simião 2025-03-05 01:43:04 UTC
confirmed here too:

Operating System: Fedora Linux 41
KDE Plasma Version: 6.3.2
KDE Frameworks Version: 6.11.0
Qt Version: 6.8.2
Kernel Version: 6.13.5-200.fc41.x86_64 (64-bit)
Graphics Platform: Wayland

Comment 7 Lukas Ruzicka 2025-03-05 11:36:07 UTC
I can confirm this with KDE 6.3.2 as in "clicking on the Menu (anywhere), the left item opens". However, I could not reproduce making the application (firewall-config) freeze. I clicked 20 times and it still remained responsive.

Comment 8 Neal Gompa 2025-03-05 22:16:48 UTC
I wonder if it might require running on hardware with AMDGPU. Both Steve and I reproduced on systems with AMDGPU graphics.

Comment 9 Neal Gompa 2025-03-05 22:28:12 UTC
I brought this bug up in the KWin Matrix room, and one of the folks suggested that this patch might be a potential fix? https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/8240

Comment 10 Yifan Zhu 2025-03-05 23:00:01 UTC
Fyi upstream gtk 3 reports:

https://gitlab.gnome.org/GNOME/gtk/-/issues/1188
https://gitlab.gnome.org/GNOME/gtk/-/issues/3116

IIUC this kwin patch fixes the issue for users without tablets or rebind rules (underlying bug is still in gtk3)

https://invent.kde.org/plasma/kwin/-/merge_requests/7241

Comment 11 Matthias Clasen 2025-03-07 14:17:45 UTC
This https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/8240 is included in 3.24.49

Comment 12 Fabrice Salvaire 2025-03-07 21:13:11 UTC
I just noticed that Emacs on KDE as the same issue that GIMP RC3 "Menubar always opens the File menu" — https://gitlab.gnome.org/GNOME/gimp/-/issues/12941

I suspect Fedora pushed a buggy GTK that is supposed to fix some KDE bugs.

Comment 13 Fabrice Salvaire 2025-03-07 21:16:43 UTC
continuation...
This Gimp issue could contain additional information.
We are trying to fix GTK issues on KDE.  It could be a side effect.

Comment 14 Adam Williamson 2025-03-09 17:11:27 UTC
-4 (+6 / -2) in https://pagure.io/fedora-qa/blocker-review/issue/1775 , so marking rejected blocker. Proposing as an FE so we can consider it for that, in case a fix shows up.

Comment 15 Lukas Brabec 2025-03-10 18:13:13 UTC
Discussed during the 2025-03-10 blocker review meeting [1]:

!agreed 2349606 - Accepted as a Beta Freeze Exception - We would like to fix certain GTK apps misbehaving in KDE Plasma.

[1] https://meetbot.fedoraproject.org/blocker-review_matrix_fedoraproject-org/2025-03-10/f42-blocker-review.2025-03-10-16.01.log.html


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