Bug 266774 - KStars does not center on a constellation
Summary: KStars does not center on a constellation
Status: RESOLVED FIXED
Alias: None
Product: kstars
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Akarsh Simha
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-21 00:55 UTC by Akarsh Simha
Modified: 2013-12-24 03:33 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Akarsh Simha 2011-02-21 00:55:03 UTC
Version:           unspecified (using Devel) 
OS:                Linux

If you try to center on a constellation, KStars slews to that for a fraction of a second, but immediately returns to the Northern Horizon.

Reproducible: Always

Steps to Reproduce:
Ctrl + F to open find dialog, type the name of a constellation (eg: Andromeda) and select the constellation from the list (eg: ANDROMEDA). Click OK.

Actual Results:  
The map slews to Andromeda for a second, but then reverts to the northern horizon.

Expected Results:  
The map should stay at Andromeda.

Most likely -- it's not finding a tangible FocusObject, and therefore is resetting the location.
Comment 1 Jérôme SONRIER 2011-07-17 15:26:23 UTC
I can not reproduce this bug. When I click OK, the map slews to the constellation's label and stay on it.

I 've not found when this bug may have been corrected. Can you confirm that the bug no longer exists ?
Comment 2 Rishab Arora 2013-03-08 19:07:35 UTC
Can you confirm if you still have this bug?
Comment 3 Akarsh Simha 2013-03-08 22:30:12 UTC
Still reproducible, all the time.

Use Horizontal Coordinates and have the simulation clock running (not paused). Happens irrespective of atmospheric refraction correction.

Make sure your simulation clock is on a high simulation rate (maybe 1 min), since the bug seems to only happen upon recomputation of coordinates, or redrawing of map, or something like that.
Comment 4 Rishab Arora 2013-03-08 22:58:36 UTC
Steps for me:
1) Switch off constellation labels. 
2) Restart KStars.
3) Perform steps in Comment 3.

I have the same issue with Supernovae
Comment 5 Akarsh Simha 2013-05-13 08:15:38 UTC
Is this still valid? It centers fine for me, but the position doesn't track if the simulation clock is on.

Also, I've noticed similar behaviour with comets. Seems to happen whenever you are trying to center on objects that are not displayed in KStars.
Comment 6 Vijay Dhameliya 2013-10-17 22:06:30 UTC
This bug producible only when you have not clicked button toggle constellation label after starting Kstars.  The reason is when object constellations are created in ConstellationNamesComponent() constructor only ra/dec are set from database and not alt/az which are being used in find object. So alt/az needs to be set before we perform find object on constellation which happens when EquatorialToHorizontal() is called while toggling constellation label. 
Review request: 112898 solves this bug permanently for constellations.
Comment 7 Vijay Dhameliya 2013-10-22 21:10:58 UTC
*** Bug 325198 has been marked as a duplicate of this bug. ***