Created attachment 170009 [details] Spectacle recording of a stationary effect and the moving mouse. SUMMARY With the Plasma 6.1 beta the 'Track Mouse' effect doesn't follow the mouse and instead lingers at the spot where it was activated. STEPS TO REPRODUCE 1. Toggle Track Mouse 2. Move mouse OBSERVED RESULT Effect stays stationary EXPECTED RESULT Effect follows mouse SOFTWARE/OS VERSIONS Arch Linux Plasma 6.1 beta kwin 6.0.90.1-1 from arch kde-unstable mesa-git-c1d3fa007ca (May 29th) ADDITIONAL INFORMATION I compiled kwin from the Plasma/6.1 branch (commit b13ae603) to check if it had been fixed since the initial release of the 6.1 beta but the bug is still present there. I also tried seeing if it was maybe a problem with the software cursor, but the bug occurs both with and without KWIN_DRM_DONT_FORCE_AMD_SW_CURSOR=1 set.
Is that on X11 or Wayland?
Wayland. Kernel 6.9.2-zen
Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please mark the bug as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone!
This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging Thank you for helping us make KDE software even better for everyone!
Took a long time to figure out the exact conditions this happens under because it's so non-obvious. Under the settings for Track Mouse under Desktop Effects if you uncheck all the "Modifier keys" and press apply the effect will stop following the mouse. Re-enabling any one of the modifier keys will cause the effect to follow the mouse correctly again. I reproduced this with a new user created today with Plasma 6.1.1 Demo Video: https://www.youtube.com/watch?v=hyz0EEjfr9I
I can't reproduce the issue on X11 and Wayland.
Nvm I didn't see the last comment
(In reply to Tom Dzmelyk from comment #5) > Took a long time to figure out the exact conditions this happens under > because it's so non-obvious. > > Under the settings for Track Mouse under Desktop Effects if you uncheck all > the "Modifier keys" and press apply the effect will stop following the > mouse. Re-enabling any one of the modifier keys will cause the effect to > follow the mouse correctly again. > > I reproduced this with a new user created today with Plasma 6.1.1 > > Demo Video: https://www.youtube.com/watch?v=hyz0EEjfr9I It fix the bug, the bug is likely cause by the change of structure of the configuration. Thanks !
*** Bug 491370 has been marked as a duplicate of this bug. ***
(In reply to fanzhuyifan from comment #9) > *** Bug 491370 has been marked as a duplicate of this bug. *** Bug 491370 reports this on x11
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/6214
*** Bug 491555 has been marked as a duplicate of this bug. ***
Git commit 8d5f46a7194fe99a84d31f7ab007382595a7e6c8 by Yifan Zhu. Committed on 12/08/2024 at 06:54. Pushed by fanzhuyifan into branch 'master'. plugins/trackmouse: listen to mouse events when active Previously TrackMouseEffect only listens to mouse events if there are modifiers configured. So when it was activated by shortcut, the effect doesn't follow mouse movements. Instead, listen to mouse events when the effect has been activated, or if any modifier is configured. M +16 -4 src/plugins/trackmouse/trackmouse.cpp M +3 -0 src/plugins/trackmouse/trackmouse.h https://invent.kde.org/plasma/kwin/-/commit/8d5f46a7194fe99a84d31f7ab007382595a7e6c8
Git commit 979e506e6ec2739fa760c459af2412fd36514e42 by Yifan Zhu. Committed on 12/08/2024 at 08:34. Pushed by fanzhuyifan into branch 'Plasma/6.1'. plugins/trackmouse: listen to mouse events when active Previously TrackMouseEffect only listens to mouse events if there are modifiers configured. So when it was activated by shortcut, the effect doesn't follow mouse movements. Instead, listen to mouse events when the effect has been activated, or if any modifier is configured. (cherry picked from commit 8d5f46a7194fe99a84d31f7ab007382595a7e6c8) Co-authored-by: Yifan Zhu <fanzhuyifan@gmail.com> M +16 -4 src/plugins/trackmouse/trackmouse.cpp M +3 -0 src/plugins/trackmouse/trackmouse.h https://invent.kde.org/plasma/kwin/-/commit/979e506e6ec2739fa760c459af2412fd36514e42