Scenery3d: Movement quirks on Mac
Bug #1566805 reported by
gzotti
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Stellarium |
Fix Released
|
Medium
|
Florian Schaukowitsch |
Bug Description
I received a report from a Mac user:
Apparently moving on the ground (CMD-Arrow) keeps moving, the Mac seems not to register that CMD is still pressed when releasing arrow key.
I cannot confirm this without a Mac, on Win/Linux it works correctly.
Related branches
Changed in stellarium: | |
assignee: | nobody → Florian Schaukowitsch (fschauk) |
status: | New → In Progress |
Changed in stellarium: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
I tried it on an OSX 10.9 VM, it is indeed not registering the key release. After some testing, it seems that key release events are not properly sent while the Command key is pressed, this is a Qt bug that has no fix yet: https:/ /bugreports. qt.io/browse/ QTBUG-36839
The attached patch changes the main modifier key to ALT/Option (on OSX only). The CMD key is used for the optional x5 speedup now, this seems to be kind of working.
This patch also fixes the "feature" where the movement does not stop if you release the control key before the arrow key.
Georg, was this desired to have or is it ok to fix it?