SUMMARY Sometimes when opening the inventory in Minecraft the cursor will snap to a random place on the screen if the mouse has been moved a bit before opening the inventory. STEPS TO REPRODUCE 1. start a minecraft world 2. move the mouse 3. open the inventory right after moving the mouse OBSERVED RESULT Sometimes the cursor snaps in a place different than the center EXPECTED RESULT The cursor always snaps to the center of the screen. SOFTWARE/OS VERSIONS Linux/KDE Plasma: Gentoo Linux KDE Plasma Version: 6.0.90 KDE Frameworks Version: 6.3.0 Qt Version: 6.7.1 Graphics Platform: Wayland Kwin is at commit 4b3f6a4312c02243c33d01e38ce2827664cae8ac Dual Monitor Mouse is Logitech G Pro X Superlight
When using a grindstone in the game it gets even worse, and breaks the cursor even more, and after that consistenly isn't centered when using for example an enchantment table.
This is still reproducible and it happens in Counter-Strike 2's buy menu too.
Hi, someone in the KDE Discussion website and I both have the same problem and is quite annoying. https://discuss.kde.org/t/mouse-can-move-in-games-when-it-shouldnt-be-able-to-and-it-isnt-visible/19565. Are there any updates regarding this problem? It is still reproducible in minecraft on my system (fedora 41 KDE 6.2.5 wayland) The other person with this issue has a nice video displaying the issue. https://youtu.be/xQWZdzZULCM. Thanks for everyone's time ๐
Both of these games run through Xwayland, which means this is most likely Xwayland's cursor locking heuristics not working perfectly. Can you reproduce the issue in another compositor as well?
I actually don't think I can reproduce it anymore, maybe it was fixed at some point?
(In reply to kostadinshishmanov from comment #5) > I actually don't think I can reproduce it anymore, maybe it was fixed at > some point? Should've said that I am using 6.3.91
Not sure what change could've been relevant for this, but if it's fixed, I guess it doesn't really matter :) (In reply to kde.outline995 from comment #3) > It is still reproducible in minecraft on my system (fedora 41 KDE 6.2.5 wayland) Can you test it on 6.3 and/or the 6.4 beta as well? FWIW I can't reproduce the issue with Minecraft in either 6.3 or 6.4.
๐๐งน โ ๏ธ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME. For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging. 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. Closing as RESOLVED WORKSFORME.