User location names with whitespace

Bug #1083731 reported by Robert Virag
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Stellarium
Fix Released
Low
Alexander Wolf

Bug Description

This is more an observation than a bug report since I've found a work-around (below):

Short story:
Adding a space bar character in front of a named location adds the name to the top of the list of cities but prevents it from being saved as a 'default location'. Using any other non-alpha character as the first character of a named location adds it to the top of the list AND allows it to be saved as the default location.

Long Story:
Using Stellarium 0.11.4 OpenGL "2.1.0 - Build 8.15.10.1883"on a Windows 7 64-bit PC.
 I thought I would be clever and add a custom list of local viewing locations to the long list of cities already included. But I wanted to add them to the TOP of the long list, for easy access, and not scattered throughout. So I began each named location with an underscore "_my location" but that put my aded names below other named locations beginning with an asterisk. So I got cleverer (if that's a word) and started each custom name with a space bar character " my location". Doing so neatly places my location's name on the very top of the list, but prevents it from being saved as a default location. Instead Stellarium always starts up in Paris (wish I were there instead).

Work-around: Precede custom named locations with a non-alpha character.

Thanks for all your hard work on making Stellarium world-class.

Related branches

tags: removed: default location
Revision history for this message
Alexander Wolf (alexwolf) wrote :

This issue related to way of storing default location in config.ini

Changed in stellarium:
status: New → Opinion
Revision history for this message
Bogdan Marinov (daggerstab) wrote : Re: User landscape names with whitespace

This sounds like a bug. It shouldn't be possible to define a name starting (or ending) with whitespace.

And when I'm redesigning the Location window, I'll add an option to list user-defined locations only. :)

summary: - Location USE AS DEFAULT error
+ User landscape names with whitespace
Revision history for this message
Alexander Wolf (alexwolf) wrote :

A fix has been committed as revision 7830 of the trunk branch of Stellarium's Bazaar repository at Launchpad: http://bazaar.launchpad.net/~stellarium/stellarium/trunk/revision/7830

summary: - User landscape names with whitespace
+ User location names with whitespace
Changed in stellarium:
milestone: none → 0.14.0
assignee: nobody → Alexander Wolf (alexwolf)
importance: Undecided → Low
status: Opinion → Fix Committed
Revision history for this message
Alexander Wolf (alexwolf) wrote :

Option for display of list user-defined locations only is good idea, IMHO. I'll look around it.

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.