2024-05-19 06:57 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0006470Spring engineLinuxpublic2024-05-13 11:56
ReporterPRVRT 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusnewResolutionopen 
Product Version105.0 
Target VersionFixed in Version 
Summary0006470: Broken Mouse Warping under Wayland. (Possibly unrelated)
DescriptionI've noticed that mouse warping is broken on both XWayland & Wayland (SDL_VIDEODRIVER=wayland)

Here's what I guess what is going on,
normally (when using the terrain deformation tool) the mouse is suppose to stay locked in place, upon mouse movement the mouse is suppose to snap back, and Zero-K calculates the horizontal difference from the middle of the screen to adjust the terrain deform preview. But since mouse warping/locking doesn't work, it continuously adds the difference.

Relevant Zero-K issue with a video demonstration:
https://github.com/ZeroK-RTS/Zero-K/issues/5005
Steps To ReproduceUse the deformation tool in Zero-K.
Additional InformationThis is likely due to how SDL handles mouse warping under wayland. I am unsure if this behavior is caused by Zero-K or by Spring.
Using 105.1.1-2457-g8095d30.
TagsSDL, wayland
Checked infolog.txt for ErrorsIrrelevant
Attached Files

-Relationships
+Relationships

-Notes
There are no notes attached to this issue.
+Notes

-Issue History
Date Modified Username Field Change
2024-05-13 09:48 PRVRT New Issue
2024-05-13 09:48 PRVRT Tag Attached: SDL
2024-05-13 09:48 PRVRT Tag Attached: wayland
+Issue History