Add one sidereal day Alt+= doesn't work

Bug #514779 reported by astrowue
30
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Stellarium
Fix Released
Wishlist
Guillaume Chereau

Bug Description

Subtract one sidereal day Alt+- is ok. To advance in sidereal day time-steps is such a wonderful function:
Every real planetarium demonstrates how the sun and the planets move among the stars.
In our public observatory we miss it really.
If we want to demonstrate it, we have to go back to version 0.9.1

Anyway Stellarium is great.
Peter

Operating System: Windows XP
Used Versions: 0.10.2 and 0.10.3

[WORKAROUND: Add the standard (QWERTY) English/US keyboard layout to your operating system and use that layout in Stellarium.

This bug is caused by the way Qt handles its keyboard shortcuts. Using the workaround is necessary until some way of changing Stellarium's shortcuts is implemented. --Bogdan Marinov]

Revision history for this message
Bogdan Marinov (daggerstab) wrote :

This seems to be a problem with some keyboard layouts (e.g. the German one).

If this is the case, could you please describe how you try to enter it? For example, on the German keyboard layout, '=' is not a main key symbol, so it has to be entered by pressing Shift+0.

Could you please try to use Alt with the key that has the same place as = in the QWERTY layout? This is the rightmost key on the top row, the one to left of the Backpace key. (On the German layout it's the acute accent, ´.)

Also, make sure that you are using the left Alt key, not the AltGr key, which is usually in the right and is used for entering additional characters.

Could you please attach the log.txt file or copy its contents in a comment? It can be found in "Documents and Settings/Your User Name/Apllication Data/Stellarium". In 0.10.3, it can be accessed through Stellarium's Start Menu folder. Please attach the log file produced by Stellarium when trying to use Alt+=.

Revision history for this message
Matthew Gates (matthew-porpoisehead) wrote :

I don't understand - does the sidereal day skip not work for you? It works OK for me with the win32 build and UK keyboard layout...

Revision history for this message
astrowue (wuest-peter) wrote : Re: [Bug 514779] Re: Add one sidereal day Alt+= doesn't work

Heureka,
when I switched my keyboard layout from German to English (USA, UK?) and
when I pressed the keys according to the English (USA,UK?) layout it worked
as desired!! I will have find a way to manage both layouts according to the
application.
Many Thanks
Peter

----- Original Message -----
From: "Bogdan Marinov" <email address hidden>
To: <email address hidden>
Sent: Saturday, January 30, 2010 8:56 PM
Subject: [Bug 514779] Re: Add one sidereal day Alt+= doesn't work

This seems to be a problem with some keyboard layouts (e.g. the German
one).

If this is the case, could you please describe how you try to enter it?
For example, on the German keyboard layout, '=' is not a main key
symbol, so it has to be entered by pressing Shift+0.

Could you please try to use Alt with the key that has the same place as
= in the QWERTY layout? This is the rightmost key on the top row, the
one to left of the Backpace key. (On the German layout it's the acute
accent, ´.)

Also, make sure that you are using the left Alt key, not the AltGr key,
which is usually in the right and is used for entering additional
characters.

Could you please attach the log.txt file or copy its contents in a
comment? It can be found in "Documents and Settings/Your User
Name/Apllication Data/Stellarium". In 0.10.3, it can be accessed through
Stellarium's Start Menu folder. Please attach the log file produced by
Stellarium when trying to use Alt+=.

--
Add one sidereal day Alt+= doesn't work
https://bugs.launchpad.net/bugs/514779
You received this bug notification because you are a direct subscriber
of the bug.

Status in Stellarium: New

Bug description:
Subtract one sidereal day Alt+- is ok. To advance in sidereal day
time-steps is such a wonderful function:
Every real planetarium demonstrates how the sun and the planets move among
the stars.
In our public observatory we miss it really.
If we want to demonstrate it, we have to go back to version 0.9.1

Anyway Stellarium is great.
Peter

Operating System: Windows XP
Used Versions: 0.10.2 and 0.10.3

To unsubscribe from this bug, go to:
https://bugs.launchpad.net/stellarium/+bug/514779/+subscribe

Revision history for this message
faluco (borja-ferav) wrote :

Hello i'm having the same problem, my keyboard layout is spanish, so to get = i have to do shift+0. Doing alt+shift+0 wont work.
This is what im getting in the logfile as asked in a previous comment:
QAction::eventFilter: Ambiguous shortcut overload: =
QAction::eventFilter: Ambiguous shortcut overload: Alt+=
QAction::eventFilter: Ambiguous shortcut overload: =
QAction::eventFilter: Ambiguous shortcut overload: Alt+=
QAction::eventFilter: Ambiguous shortcut overload: =
QAction::eventFilter: Ambiguous shortcut overload: Alt+=

Revision history for this message
Bogdan Marinov (daggerstab) wrote :

I'm adding this bug to the wishlist, as fixing it requires implementing a new feature.

I have added the work-around in the bug description, because it is more visible there.

description: updated
Changed in stellarium:
importance: Undecided → Wishlist
status: New → Confirmed
Revision history for this message
Alexander Wolf (alexwolf) wrote :

I can't reproduce this bug on version 0.10.6.1 (Windows; on english and russian keyboard)

Revision history for this message
faluco (borja-ferav) wrote :

In my case it still happens (spanish layout), getting the same error messages as mentioned in my previous message, doing alt+shift+0 won't do it.

Changed in stellarium:
milestone: none → 1.0.0
Changed in stellarium:
assignee: nobody → Guillaume Chereau (guillaume-chereau)
milestone: 1.0.0 → none
milestone: none → 0.13.0
Revision history for this message
Guillaume Chereau (guillaume-chereau) wrote :

I can reproduce the problem with a Spanish layout.

It used to work in version 0.12, and the code is still using Qt QAction to automatically handle different keyboard layouts. So either the Qt code has changed, either we have some new shortcuts introduced that might prevent Qt from resolving the actual shortcut. I am going to have a look at this.

Revision history for this message
Guillaume Chereau (guillaume-chereau) wrote :

OK, the good news is that it seems to work with Qt 5.3 beta (available at:
http://download.qt-project.org/development_releases/qt/5.3/5.3.0-beta)

So maybe the best thing to do is just to wait for the release and see if the problem will just solves itself.

Revision history for this message
Alexander Wolf (alexwolf) wrote :

Any news?

Revision history for this message
Guillaume Chereau (guillaume-chereau) wrote :

I just tried again, and unfortunately it still does not work with the Spanish layout.

In the logs I can see:

QAction::eventFilter: Ambiguous shortcut overload: =
QAction::eventFilter: Ambiguous shortcut overload: Alt+=

So apparently Qt refuses to trigger the action because it decided that the shortcuts are ambiguous. Indeed if I remove the "=" shortcut, then the "Alt+=" works fine. I don't understand where the ambiguity comes from though. "Alt+=" and "=" should be different even on a Spanish keyboard.

Revision history for this message
Guillaume Chereau (guillaume-chereau) wrote :

I created a Qt bug about this problem:

https://bugreports.qt-project.org/browse/QTBUG-40194

We'll see if the Qt people can help us on this.

Changed in stellarium:
milestone: 0.13.0 → 0.13.1
Changed in stellarium:
milestone: 0.13.1 → 0.14.0
Changed in stellarium:
milestone: 0.14.0 → 0.15.0
Changed in stellarium:
milestone: 0.15.0 → none
Revision history for this message
Guillaume Chereau (guillaume-chereau) wrote :

Seems to work with Qt 5.6, tested with Spanish keyboard layout on ubuntu.

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

Duplicates of this bug

Other bug subscribers

Related questions

Related blueprints

Remote bug watches

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