Inconsistent time and sky if localization fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Stellarium |
Fix Released
|
Low
|
Alexander Wolf |
Bug Description
The following config.ini entries lead to a correct user time, but a sky incorrectly advanced by one hour (inconsistency between displayed time and sky):
[init_location]
landscape_name = guereins
location = Gießen, Germany
[localization]
date_display_format = system_default
time_display_format = system_default
time_zone = Europe/Berlin
Please refer to the thread under question # 95994 (in German).
Most probably, the localization fails if a special character (here: ß) cannot be interpreted.
There is also an interference with the config.ini entries used in version 0.9 and 0.10, respectively; version 0.10 stores the location as
location = Gießen, Germany
which solves the problem.
Suggested solution: if time_zone and/or location cannot be read properly, show a standard location (e.g. Paris, GMT) at the system time (GMT+1). Please check also whether "Europe/Berlin" is a valid entry for time_zone in version 0.10. This entry stems from version 0.9
Note that the parallel installation of v0.9 and v0.10 is necessary, if the user wants to make use of the efficient system colour editor in v0.9. After saving the configuration, location and time_zone in config.ini are altered again !
Related branches
- gzotti: Approve
- Alexander Wolf: Needs Information
-
Diff: 4888 lines (+670/-3318)38 files modifiedCMakeLists.txt (+0/-1)
cmake/default_config.ini.cmake (+0/-1)
data/gui/normalStyle.css (+6/-1)
data/zone.tab (+0/-399)
plugins/EquationOfTime/CMakeLists.txt (+1/-1)
plugins/EquationOfTime/src/EquationOfTime.cpp (+1/-42)
plugins/EquationOfTime/src/EquationOfTime.hpp (+0/-6)
plugins/Observability/src/Observability.cpp (+1/-2)
plugins/RemoteControl/src/MainService.cpp (+1/-1)
plugins/Satellites/src/Satellites.cpp (+1/-1)
plugins/Satellites/src/gui/SatellitesDialog.cpp (+1/-1)
plugins/TimeZoneConfiguration/CMakeLists.txt (+0/-19)
plugins/TimeZoneConfiguration/src/CMakeLists.txt (+0/-35)
plugins/TimeZoneConfiguration/src/TimeZoneConfiguration.cpp (+0/-127)
plugins/TimeZoneConfiguration/src/TimeZoneConfiguration.hpp (+0/-82)
plugins/TimeZoneConfiguration/src/gui/DefineTimeZoneWindow.cpp (+0/-541)
plugins/TimeZoneConfiguration/src/gui/DefineTimeZoneWindow.hpp (+0/-73)
plugins/TimeZoneConfiguration/src/gui/TimeZoneConfigurationWindow.cpp (+0/-285)
plugins/TimeZoneConfiguration/src/gui/TimeZoneConfigurationWindow.hpp (+0/-82)
plugins/TimeZoneConfiguration/src/gui/defineTimeZone.ui (+0/-621)
plugins/TimeZoneConfiguration/src/gui/timeZoneConfigurationWindow.ui (+0/-585)
po/stellarium/POTFILES.in (+0/-5)
src/core/StelApp.cpp (+0/-4)
src/core/StelCore.cpp (+118/-4)
src/core/StelCore.hpp (+17/-1)
src/core/StelLocaleMgr.cpp (+34/-93)
src/core/StelLocaleMgr.hpp (+4/-39)
src/core/StelLocationMgr.cpp (+2/-0)
src/gui/AstroCalcDialog.cpp (+12/-11)
src/gui/BookmarksDialog.cpp (+2/-2)
src/gui/ConfigurationDialog.cpp (+1/-1)
src/gui/DateTimeDialog.cpp (+5/-4)
src/gui/LocationDialog.cpp (+114/-3)
src/gui/LocationDialog.hpp (+14/-1)
src/gui/StelGuiItems.cpp (+14/-2)
src/gui/configurationDialog.ui (+94/-70)
src/gui/locationDialogGui.ui (+226/-171)
src/scripting/StelMainScriptAPI.cpp (+1/-1)
Changed in stellarium: | |
status: | New → Incomplete |
Changed in stellarium: | |
status: | Expired → Incomplete |
Changed in stellarium: | |
assignee: | Bogdan Marinov (daggerstab) → Alexander Wolf (alexwolf) |
milestone: | none → 1.0.0 |
importance: | Undecided → Low |
Changed in stellarium: | |
status: | New → In Progress |
Changed in stellarium: | |
status: | In Progress → Fix Committed |
Changed in stellarium: | |
milestone: | 1.0.0 → 0.15.1 |
no longer affects: | stellarium/0.15 |
Changed in stellarium: | |
status: | Fix Committed → Fix Released |
Do you have different folders for different installation of Stellarium as here https:/ /answers. launchpad. net/stellarium/ +question/ 137807 or not?