Scenery3d: Movement quirks on Mac

Bug #1566805 reported by gzotti
8
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
Revision history for this message
Florian Schaukowitsch (fschauk) wrote :

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?

Revision history for this message
gzotti (georg-zotti) wrote :

Actually I find the "feature" really useful to make sideways "swirls" around the object in question. Have not looked into the code, maybe we make it even configurable? I'll look into it later, thanks in any case!

Revision history for this message
gzotti (georg-zotti) wrote :

I retained the "motion lock" for non-MacOSX systems. Commited at trunk r8311.

Changed in stellarium:
status: In Progress → Fix Committed
importance: Undecided → Medium
milestone: none → 0.15.0
Revision history for this message
César González (cglezg) wrote :

I had the problem with the previous versions: the [cmd]+<arrow key> combination didn't work for my macbook, as the movement continued without stopping. I have tested the new version with the patch and the new key combination and everything seems to work fine. Thanks for the effort!!

Changed in stellarium:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.