View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
---|---|---|---|---|---|---|---|---|---|
0003110 | Spring engine | General | public | 2012-06-11 11:12 | 2013-08-25 19:18 | ||||
Reporter | aiphee | ||||||||
Assigned To | jK | ||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | closed | Resolution | unable to reproduce | ||||||
Product Version | 88.0 | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0003110: Terraform bug on linux - Zero - k | ||||||||
Description | When 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. | ||||||||
Tags | No tags attached. | ||||||||
Checked infolog.txt for Errors | |||||||||
Attached Files |
|
![]() |
|
Google_Frog (reporter) 2012-06-11 14:04 |
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 (reporter) 2012-06-12 08:56 |
Thread here http://zero-k.info/Forum/Thread/2663 Apparently it only breaks in fullscreen mode. |
jK (developer) 2012-06-14 20:24 |
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?). |
![]() |
|||
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 |