2025-07-18 15:39 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0003110Spring engineGeneralpublic2013-08-25 19:18
Reporteraiphee 
Assigned TojK 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionunable to reproduce 
Product Version88.0 
Target VersionFixed in Version 
Summary0003110: Terraform bug on linux - Zero - k
DescriptionWhen i draw the terraform area and try to set hight of it, mouse goes crazy and in every its move TF area lowers. Clipping to height with ctrl works.
Also, window mode and fake fullscreen in KDE works.
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files

-Relationships
+Relationships

-Notes

~0008754

Google_Frog (reporter)

Ok I hoped he would give more information about the linux build he uses because as far as I am aware this is a rare issue. Here is the widget side of things.

For a certain method of information input my widget holds the users mouse in place and measures their movements. The mouse position parameters or WarpMouse callin is failing. An outline of the relevant widget behavior is below.


local position

function widget:MousePress(mx, my, button)
    position = {mx, my}
end

function widget:MouseMove(mx, my, dx, dy, button)
    Spring.WarpMouse (position[1],position[2])
    -- do stuff based on position, mx and my
end

function widget:MouseRelease(mx, my, button)
   position = nil
end

Full widget is here but I doubt it is useful http://code.google.com/p/zero-k/source/browse/trunk/mods/zk/LuaUI/Widgets/gui_lasso_terraform.lua

~0008756

Google_Frog (reporter)

Thread here http://zero-k.info/Forum/Thread/2663

Apparently it only breaks in fullscreen mode.

~0008779

jK (developer)

Sounds like a WindowManager bug (linux X11 system apps ...).

Also, using Spring.WarpMouse() in MouseMove _might_ be a bad idea.

PS: Neither ever understood why you warpmouse at all in the widget (is it really more intuitive?).
+Notes

-Issue History
Date Modified Username Field Change
2012-06-11 11:12 aiphee New Issue
2012-06-11 14:04 Google_Frog Note Added: 0008754
2012-06-12 08:56 Google_Frog Note Added: 0008756
2012-06-14 20:24 jK Note Added: 0008779
2013-08-25 19:18 jK Status new => closed
2013-08-25 19:18 jK Assigned To => jK
2013-08-25 19:18 jK Resolution open => unable to reproduce
+Issue History