Project

General

Profile

Bug #3103

In EVA jetpack flight, mouse-dragging in a control should not cause the Kerbal to change it's orientation

Added by spudbean over 9 years ago. Updated over 7 years ago.

Status:
Closed
Severity:
Low
Assignee:
-
Category:
Gameplay
Target version:
-
Start date:
09/18/2014
% Done:

100%

Version:
Platform:
Any
Expansion:
Language:
English (US)
Mod Related:
No
Votes:
Arrow u r green
Arrow d r red

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 almost 8 years ago

  • Status changed from New to Needs Clarification

#2 Updated by TriggerAu over 7 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

Also available in: Atom PDF