View Issue Details

IDProjectCategoryView StatusLast Update
0003110Spring engineGeneralpublic2013-08-25 19:18
Reporteraiphee Assigned TojK  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionunable to reproduce 
Product Version88.0 
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

Activities

Google_Frog

2012-06-11 14:04

reporter   ~0008754

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

Google_Frog

2012-06-12 08:56

reporter   ~0008756

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

Apparently it only breaks in fullscreen mode.

jK

2012-06-14 20:24

developer   ~0008779

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?).

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