"Select Single Constellation" sometimes shows > 1

Bug #1780951 reported by Phil Shepherd
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Stellarium
Fix Released
Undecided
Alexander Wolf

Bug Description

- Stellarium 0.18.1 (happens in lower versions)
- Configuration Window -> Tools -> Select single constellation

Example:
Set date/time to 2018-07-11 23:00:00 (UTC+1)
search : Ursa Major
C - constellation lines on : shows Ursa Major

Search Virgo
C - constellation lines on : shows Virgo AND Ursa Major

Search : Bootes
C - constellation lines on : shows Bootes AND Virgo AND Ursa Major

etc.

Note: It also happens when stars in a constellation are selected... that constellation is then added to the list of rendered items

(I have attached my config file)

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

This is correct behaviour of the tool. What exactly you are expect to see here?

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

This is intentional behaviour and allows incremental storytelling.
If you want to display single constellations only, simply deselect the current constellation.

Changed in stellarium:
status: New → Opinion
Revision history for this message
Phil Shepherd (psjshep) wrote :

Alexander - I was expecting to see one constellation at a time displayed, with the previous disappearing

Georg:
I am scripting all my tours.
Before selecting object, with various options (lines, art, etc), I issue :

 core.selectObjectByName("", false);

If running manually, I de-select the Constellation by righ-click.... is there another way?

Phil

Revision history for this message
Phil Shepherd (psjshep) wrote :

I even tried
ConstellationMgr.deselectConstellations;

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

Oh, now I see. This used to behave differently, sorry.

Changed in stellarium:
status: Opinion → Confirmed
Revision history for this message
Phil Shepherd (psjshep) wrote :

Phew! No probs.... I thought I was going mad

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

Please check script from attachment

Revision history for this message
Phil Shepherd (psjshep) wrote :

Genius...

I was using

   ConstellationMgr.deselectConstellations;

whereas it should have been

    ConstellationMgr.deselectConstellations();

The scripting is now working - thank you, Alexander

Phil

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

I've made behaviour of deselectConstellations() method more aggressive

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

Hint: you may call deselectConstellations() via "W" shortkey

Revision history for this message
Phil Shepherd (psjshep) wrote :

Thank you, Alexander... I appreciate your help

Phil

Changed in stellarium:
assignee: nobody → Alexander Wolf (alexwolf)
status: Confirmed → Fix Committed
gzotti (georg-zotti)
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.