Bug #3103
In EVA jetpack flight, mouse-dragging in a control should not cause the Kerbal to change it's orientation
100%
![Arrow u r green](/plugin_assets/vote_on_issues/images/arrow-u-r-green.png?1560451728)
![Arrow d r red](/plugin_assets/vote_on_issues/images/arrow-d-r-red.png?1560451728)
Description
Normally in EAV jetpack flight, dragging the mouse with the left mouse button causes the Kerbal to change its orientation.
However, of the drag starts on a control, the orientation continues.
For example: consider a plugin has placed a GUI in EVA mode, and uses a GUILayout.HorizontalSlider. When the user drags the slider, this also causes jetpack movement. This happens if you click anywhere on the screen, even built-in KSP control (see screenshot)
Perhaps when the KerbalEVA inspects the state of the mouse, it should also check Event.current.GetTypeForControl() and GUIUtility.hotControl, to see if an other controls have "grabbed" the mouse.
History
#1
Updated by TriggerAu over 8 years ago
- Status changed from New to Needs Clarification
#2
Updated by TriggerAu over 8 years ago
- Status changed from Needs Clarification to Closed
- % Done changed from 0 to 100
Closing this report out for now. If you find it is still occuring in the latest version of KSP please open a new report (and this one can be linked to it.) For best results, the wiki contains really useful info for when creating a report http://bugs.kerbalspaceprogram.com/projects/ksp/wiki.
You can also ask questions about the bug cleanup in the forum here: http://forum.kerbalspaceprogram.com/index.php?/topic/143980-time-to-clean-up-the-bug-tracker/ and tag @TriggerAu to get my attention