Bug 438432 - Close button in left side of window when maximised not responding(wayland)
Summary: Close button in left side of window when maximised not responding(wayland)
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: decorations (other bugs)
Version First Reported In: 5.22.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: wayland-only
Depends on:
Blocks:
 
Reported: 2021-06-10 18:43 UTC by Sakura
Modified: 2021-06-22 02:58 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
Layout of my close button(where it is not working) (200.17 KB, image/png)
2021-06-10 18:43 UTC, Sakura
Details
It explains the problem even more (484.92 KB, image/png)
2021-06-17 03:20 UTC, Sakura
Details
For more comparison (587.65 KB, image/png)
2021-06-17 03:43 UTC, Sakura
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sakura 2021-06-10 18:43:42 UTC
Created attachment 139211 [details]
Layout of my close button(where it is not working)

SUMMARY
I use my close button on left side. In X11, I will disable show desktop assigned to top left corner to access close button button in Wayland, it wont register any events in top left Side

STEPS TO REPRODUCE
1. Open any apps in Wayland(make sure you mapped close button on left side like Mac)
2. Maximise it
3. Click the close button. It wont respond

OBSERVED RESULT

It won't close the app or the buttons responds to click

EXPECTED RESULT

It should close the app

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Arch 248(latest bleeding edge)
(available in About System)
KDE Plasma Version: 5.22
KDE Frameworks Version: 5.82
Qt Version: 5.15.2

ADDITIONAL INFORMATION
GPU: AMD Vega 8tm
Comment 1 Nate Graham 2021-06-15 22:15:29 UTC
Works for me in the Plasma Wayland session.
Comment 2 Sakura 2021-06-17 03:14:18 UTC
(In reply to Nate Graham from comment #1)
> Works for me in the Plasma Wayland session.

I use the close button in left side. If I can make a video and post it, I could show it.
Comment 3 Sakura 2021-06-17 03:15:31 UTC
Also it was present in plasma 5.21, plasma 5.20 and previous versions
Comment 4 Sakura 2021-06-17 03:20:07 UTC
Created attachment 139424 [details]
It explains the problem even more

If the close button works, if I hover my mouse near close button, atlease it will change colour(to red) or shows a white tinge even if the window is out of focus. But see in my case.(Using latest plasma update and arch)
Comment 5 Sakura 2021-06-17 03:43:28 UTC
Created attachment 139425 [details]
For more comparison

This shows how it works in x11(Just adding more references so that my issue is clear). Bw Wayland and x11, you can see that when I hover my mouse in a non active window, in x11, it changes to red but in Wayland, it stays in white(The proof that close button at left is not responding to my mouse pointer in Wayland) also in active window, it changes the colour from red to light red in x11 whereas in Wayland, it stays red. Also the same issue was present in previous versions which made me switch to gnome.
Comment 6 Sakura 2021-06-22 02:57:35 UTC
(In reply to Nate Graham from comment #1)
> Works for me in the Plasma Wayland session.

Good News, the latest update fixed the bug. Thanks KDE team. So I am closing it
Comment 7 Sakura 2021-06-22 02:58:22 UTC
The issue is fixed with the latest update.