Bug 482079 - click target for virtual desktops is too small in the overview effect, clicking bottom of virtual desktop closes the effect instead
Summary: click target for virtual desktops is too small in the overview effect, clicki...
Status: CONFIRMED
Alias: None
Product: kwin
Classification: Plasma
Component: effects-overview (show other bugs)
Version: 6.0.0
Platform: Arch Linux Linux
: NOR minor
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2024-02-29 19:18 UTC by Adam Fontenot
Modified: 2024-03-03 19:28 UTC (History)
4 users (show)

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


Attachments
screencast showing the issue (2.91 MB, video/webm)
2024-02-29 19:18 UTC, Adam Fontenot
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Fontenot 2024-02-29 19:18:52 UTC
Created attachment 166214 [details]
screencast showing the issue

SUMMARY

It seems the clickable area on the virtual desktop in the effect is a bit too small. I am able to close the effect by clicking on the bottom of any virtual desktop representation, rather than switching to the desktop in question.

Screen is 1440p at 1:1. This is Plasma 6, not 5.93.0.

STEPS TO REPRODUCE
1. Open the overview effect (I have a hot corner for this).
2. Click on the very bottom of one of the virtual desktops (one you aren't currently on) at the top.

OBSERVED RESULT

The effect closes.

EXPECTED RESULT

The clicked virtual desktop is made active.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.0.0
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Kernel Version: 6.7.6-arch1-1 (64-bit)
Graphics Platform: Wayland
Comment 1 guimarcalsilva 2024-02-29 23:17:26 UTC
I can reproduce the issue. The bottom ~10% of the desktop preview closes the effect instead of switching desktops.
Comment 2 Nate Graham 2024-03-01 07:03:52 UTC
When you hover over a desktop, it slightly expands. I think what's happening is that the click area is the original size not the expanded size.
Comment 3 Adam Fontenot 2024-03-01 08:33:05 UTC
(In reply to Nate Graham from comment #2)
> When you hover over a desktop, it slightly expands. I think what's happening
> is that the click area is the original size not the expanded size.

If you look closely at the video, you'll see that I'm clicking inside the original bounds of the virtual desktop. So I don't *think* this is the cause, although it's possible something related to the expansion effect is responsible. I'd say the bottom 15-20% of the virtual desktop area cancels the overview, in my tests.