Bug 119542 - Changing the coordinate system via the View menu does not change the grid at all
Summary: Changing the coordinate system via the View menu does not change the grid at all
Alias: None
Product: kstars
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR wishlist
Target Milestone: ---
Assignee: Jasem Mutlaq
Depends on:
Reported: 2006-01-05 06:11 UTC by Shriramana Sharma
Modified: 2012-04-09 12:17 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:

Suggestion for change in Settings dialog (4.88 KB, image/png)
2006-01-05 06:13 UTC, Shriramana Sharma

Note You need to log in before you can comment on or make changes to this bug.
Description Shriramana Sharma 2006-01-05 06:11:57 UTC
Version:           1.2.0 (using KDE 3.5.0 Level "a" , SUSE 10.0 UNSUPPORTED)
Compiler:          Target: i586-suse-linux
OS:                Linux (i686) release 2.6.13-15-smp

Steps to reproduce:
1. Switch on Settings > Configure KStars > Guides > Coordinate Grid
2. Change the coordinate system by View > Equatorial Coordinates and View > Horizontal Coordinates. 

Actual result:

The horizon is put on the x-axis when horizontal coordinates are selected and the equator when equatorial coordinates are selected. This is expected behaviour. 

But only RA/Dec grid is shown even when Horizontal Coordinates are selected. This is unexpected behaviour.

Expected result:

When Horizontal Coordinates are selected, the altaz grid must be shown.

There's a difference between the viewmode and the grid that gets plotted on the map. The specified menu item toggles between equatorial and azimuthal viewmode but the grid in the map is always a RA/Dec grid.

The menu item says "Horizontal Coordinates". It is very difficult to get an idea of the horizontal *coordinates* without an altaz grid. IMHO there is no meaning to a "view in horizontal coordinates" without an altaz grid. 

An altaz grid must replace the RA/Dec grid when viewing in horizontal coordinates is desired.

Alternative/additional suggestions:

Instead of just a Settings > Configure KStars > Guides > Coordinate Grid setting, use three checkboxes. 

One is: "Display grid according to active coordinate system system". If this is checked, disable the following two: The second checkbox "Display RA/Dec grid" and third checkbox "Display Altaz" grid. When it is unchecked, enable individual selection. I will create an attachment illustrating this.

In the View menu, list both Equatorial Coordinates and Horizontal Coordinates, and when one is selected, deselect the other. Otherwise, one has to *deduce* that the current mode is the one that is *not* listed in the View menu. Using a Radio button type selection in the View Menu clears up the situation.
Comment 1 Shriramana Sharma 2006-01-05 06:13:07 UTC
Created attachment 14139 [details]
Suggestion for change in Settings dialog
Comment 2 kstars 2006-01-23 21:22:36 UTC
Accepting report as a wish.
thanks for reporting!
Comment 3 Jérôme SONRIER 2012-03-07 00:36:07 UTC
Git commit a1b84b762b80f3c09023b79b53206b3422b0edd0 by Jérôme SONRIER.
Committed on 07/03/2012 at 01:28.
Pushed by jsonrier into branch 'master'.

Display grid according to active coordinate system system.
CCMAIL: kstars-devel@kde.org

M  +5    -0    kstars/kstars.kcfg
M  +2    -0    kstars/kstarsdcop.cpp
M  +8    -0    kstars/options/opsguides.cpp
M  +2    -1    kstars/options/opsguides.h
M  +14   -1    kstars/options/opsguides.ui
M  +5    -2    kstars/skycomponents/equatorialcoordinategrid.cpp
M  +5    -2    kstars/skycomponents/horizontalcoordinategrid.cpp