Bug 451549 - Launching overview with Zoom effect is not capturing mouse position correctly
Summary: Launching overview with Zoom effect is not capturing mouse position correctly
Status: RESOLVED DUPLICATE of bug 447002
Alias: None
Product: kwin
Classification: Plasma
Component: effects-overview (show other bugs)
Version: git-stable-Plasma/5.24
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-03-15 23:40 UTC by Rafael Lima
Modified: 2022-03-25 18:30 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rafael Lima 2022-03-15 23:40:25 UTC
SUMMARY
Suppose you are using your desktop and apply the Zoom effect (which is accessed by default using Meta + "="). With the zoom effect enabled, launch the Overview effect. The overview will temporarily restore the zoom to 100%, which IMO is what should happen.

However, moving the mouse, you'll notice that the overview effect is not capturing mouse position correctly. Therefore, if you click something, then something else will receive the click event.

STEPS TO REPRODUCE
1. Open a few windows on your desktop (maybe 5)
2. Zoom in a bit using the Zoom effect (Meta + "=")
3. Open the overview effect (Meta + "w")
4. Notice that while you move the mouse, the window that receives focus is not the window below the mouse pointer
5. Try to click one of the windows from the overview
6. The window that will get selected is not the window you clicked

Disabling the Zoom effect (Meta + "-") so that zoom is at 100% will restore the correct behavior.

OBSERVED RESULT
The clicked window should be shown.

EXPECTED RESULT
Another window is shown because the mouse position is being captured incorrectly when the Zoom effect is enabled.

SOFTWARE/OS VERSIONS
Operating System: Kubuntu 21.10
KDE Plasma Version: 5.24.3
KDE Frameworks Version: 5.91.0
Qt Version: 5.15.2
Kernel Version: 5.13.0-35-generic (64-bit)
Graphics Platform: X11
Processors: 12 × Intel® Core™ i7-10750H CPU @ 2.60GHz
Memory: 15,5 GiB of RAM
Graphics Processor: NVIDIA GeForce GTX 1650/PCIe/SSE2
Comment 1 Nate Graham 2022-03-25 18:30:48 UTC

*** This bug has been marked as a duplicate of bug 447002 ***