Bug 466324

Summary: Decoration in upper leftmost corner of maximized GTK application window inaccessible
Product: [Plasma] kwin Reporter: 3f15f7ea
Component: wayland-genericAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: nate
Priority: NOR    
Version First Reported In: 5.27.1   
Target Milestone: ---   
Platform: Neon   
OS: Other   
Latest Commit: Version Fixed/Implemented In: 6.1.5
Sentry Crash Report:

Description 3f15f7ea 2023-02-24 00:51:29 UTC
I have my window close decoration set to the upper left of windows. When a KDE application is maximized, the close button is accessible & works. If it is a GTK application, e.g. Firefox, VMware Workstation, etc, the button does not respond visually or functionally. The decoration just to the right of the upper leftmost works fine. For me, that's the minimize button.

I have no Plasma trigger set to the upper left corner of screen.

STEPS TO REPRODUCE
1. Place a close button as the leftmost decoration on windows.
2. Run a GTK app.
3. Maximize GTK app.
4. Try to click the close button.

OBSERVED RESULT

The button gives no visual feedback when the mouse is over or clicking the button. The button is not functional.

EXPECTED RESULT

The button would respond.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: KDE neon 5.27
(available in About System)
KDE Plasma Version: 5.27.1
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8
Graphics platform: Wayland

ADDITIONAL INFORMATION

The workaround is to restore the window & click the button. Other than this small bug, the Wayland implementation is amazing.
Comment 1 Vlad Zahorodnii 2024-09-30 11:35:29 UTC
This might be the xembed sni window. Does the issue happen in Plasma 6.1 + recent-ish Xwayland?
Comment 2 3f15f7ea 2024-09-30 13:20:27 UTC
I am not using Plasma 6.1.5. This issue appears to have been resolved. The left positioned close button is working on maximized windows.
Comment 3 3f15f7ea 2024-09-30 13:21:16 UTC
(In reply to Vlad Zahorodnii from comment #1)
> This might be the xembed sni window. Does the issue happen in Plasma 6.1 +
> recent-ish Xwayland?

EDIT:
I am now using Plasma 6.1.5. This issue appears to have been resolved. The left positioned close button is working on maximized windows.