OpenClonk Bugtracker - OpenClonk
View Issue Details
0001327OpenClonkEngine - Controlspublic2015-05-23 23:502016-02-07 09:48
ReporterJack Rost 
Assigned ToZapper 
PlatformOSWindowsOS Version7
Product Version 
Target VersionFixed in Version 
Summary0001327: Hammer activate with double click
DescriptionWhen you activate hammer first time then you need click one time. But when you tried construct something and fail to do it or something interrupt to you then you need to click twice. I think that is because engine don't realize that constraction mode was deactivated.
TagsNo tags attached.
Attached Files

2015-05-25 09:34   
This is a very nasty bug which has to do with the undocumented function SetPlayerControlEnabled and some internal state in the control library called repeated as far as I could trace it.

Ideally the constructor library would not use holding controls, but that would currently lead to throwing the hammer instead of needing to click twice.

I reassign this to Newton, since the internals of the control libraries are his area of expertise.
2015-05-31 07:12   
It might make sense to fix this only in the Controls branch and save the effort to fix it twice (if the bug even persists in the Controls branch)
2016-01-18 10:50   
If this is still an issue it needs to be fixed in 7.1 otherwise close this report.
2016-01-18 12:25   
I guess it's resolved as I have not encountered it in the last half year. Will check.
Jack Rost   
2016-02-06 10:31   
This bug may cause another bug.
1. Cancel some construction.
2. Use wall kit with left mouse button.
3. You can't move wall projection with mouse.
4. Press right mouse button while pressing left mouse button - you drop wall kit but projection don't disappear.
2016-02-06 21:27   
Oh, it's still an issue! Thanks for pushing the bug to the top!
2016-02-07 09:48   
This bug is resolved now! Thanks again!

Issue History
2015-05-23 23:50Jack RostNew Issue
2015-05-25 09:34MaikelNote Added: 0003653
2015-05-25 09:35MaikelAssigned To => Newton
2015-05-25 09:35MaikelStatusnew => assigned
2015-05-31 07:12ZapperNote Added: 0003656
2016-01-18 10:50MaikelAssigned ToNewton => Zapper
2016-01-18 10:50MaikelProduct Version => 7.0
2016-01-18 10:50MaikelTarget Version => 7.1 (Bugfix update)
2016-01-18 10:50MaikelNote Added: 0004812
2016-01-18 12:25ZapperNote Added: 0004813
2016-02-06 10:31Jack RostNote Added: 0004938
2016-02-06 21:27ZapperNote Added: 0004939
2016-02-07 09:48ZapperNote Added: 0004943
2016-02-07 09:48ZapperStatusassigned => resolved
2016-02-07 09:48ZapperFixed in Version => 7.1 (Bugfix update)
2016-02-07 09:48ZapperResolutionopen => fixed