number of satellite orbit segments resets

Bug #1510592 reported by wkitty42
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Stellarium
Fix Released
Low
Alexander Wolf
0.14
Fix Released
Low
Alexander Wolf

Bug Description

in the satellite settings (ALT-Z), i set my orbit lines segments to the following values...

number of segments : 60
segment length (s) : 5
fade length : 10 to 30

this gives me five minute long orbit lines and keeps the clutter on the screen down nicely... the problem is that when i exit 0.14.0, reload it, and reenter the ALT-Z settings, the segment length is reset to 15... it didn't used to do that... i always use ALT-Z to see how many satellites were updated, added and removed when i update my satellite TLEs... this bug is quite annoying when working with TLEs that are updated quite frequently several times a day...

here's my log again just to be certain that i don't leave any information out...

===== begin ~/.stellarium/log.txt =====
2015-10-27T11:14:59
Linux version 3.13.0-65-generic (buildd@lgw01-26) (gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1) ) #106-Ubuntu SMP Fri Oct 2 22:08:27 UTC 2015
Compiled using GCC 4.8.4
Qt runtime version: 5.2.1
Qt compilation version: 5.2.1
Addressing mode: 64-bit
MemTotal: 16398088 kB
MemFree: 1208724 kB
SwapTotal: 16776188 kB
model name : AMD FX(tm)-8350 Eight-Core Processor
cpu MHz : 4000.000
model name : AMD FX(tm)-8350 Eight-Core Processor
cpu MHz : 4000.000
model name : AMD FX(tm)-8350 Eight-Core Processor
cpu MHz : 4000.000
model name : AMD FX(tm)-8350 Eight-Core Processor
cpu MHz : 4000.000
model name : AMD FX(tm)-8350 Eight-Core Processor
cpu MHz : 4000.000
model name : AMD FX(tm)-8350 Eight-Core Processor
cpu MHz : 4000.000
model name : AMD FX(tm)-8350 Eight-Core Processor
cpu MHz : 4000.000
model name : AMD FX(tm)-8350 Eight-Core Processor
cpu MHz : 4000.000
01:00.0 VGA compatible controller: NVIDIA Corporation Device 1287 (rev a1) (prog-if 00 [VGA controller])
Kernel driver in use: nvidia
/usr/bin/stellarium
 -------------------------------------------------------
[ This is Stellarium 0.14.0 - http://www.stellarium.org ]
[ Copyright (C) 2000-2015 Fabien Chereau et al. ]
 -------------------------------------------------------
Writing log file to: "/home/myuser/.stellarium/log.txt"
File search paths:
  0 . "/home/myuser/.stellarium"
  1 . "/usr/share/stellarium"
Config file is: "/home/myuser/.stellarium/config.ini"
Detected: OpenGL "4.5"
Driver version string: "4.5.0 NVIDIA 346.96"
GL vendor is "NVIDIA Corporation"
GL renderer is "GeForce GT 730/PCIe/SSE2"
GL Shading Language version is "4.50 NVIDIA"
GLSL Version Number detected: 4.5
GLSL version is fine, we should not see a graphics problem.
Cache directory is: "/home/myuser/.cache/stellarium/stellarium"
Sky language is "en_US"
Application language is "en_US"
Loading Solar System data ...
Loading star data ...
"Loading "/usr/share/stellarium/stars/default/stars_0_0v0_5.cat": 0_0v0_2; 4963"
"Loading "/usr/share/stellarium/stars/default/stars_1_0v0_5.cat": 1_0v0_2; 21598"
"Loading "/usr/share/stellarium/stars/default/stars_2_0v0_5.cat": 2_0v0_2; 150090"
"Loading "/usr/share/stellarium/stars/default/stars_3_1v0_3.cat": 3_1v0_3; 428466"
"Loading "/home/myuser/.stellarium/stars/default/stars_4_1v0_1.cat": 4_1v0_3; 1702042"
"Loading "/home/myuser/.stellarium/stars/default/stars_5_2v0_1.cat": 5_2v0_1; 7083058"
"Loading "/home/myuser/.stellarium/stars/default/stars_6_2v0_1.cat": 6_2v0_1; 24670782"
"Loading "/home/myuser/.stellarium/stars/default/stars_7_2v0_1.cat": 7_2v0_1; 50733321"
"Loading "/home/myuser/.stellarium/stars/default/stars_8_2v0_1.cat": 8_2v0_1; 92304337"
Finished loading star catalogue data, max_geodesic_level: 8
navigation/preset_sky_time is a double - treating as jday: "2451514.25001"
Reloading DSO data...
Loaded 10756 DSO records
Loading DSO name data ...
Loaded 217 / 275 DSO name records successfully
Loading star names from "/usr/share/stellarium/skycultures/western/star_names.fab"
Loaded 340 / 340 common star names
Loading star names from "/usr/share/stellarium/stars/default/name.fab"
Loaded 4502 / 4502 scientific star names
Loading variable stars from "/usr/share/stellarium/stars/default/gcvs_hip_part.dat"
Loaded 6916 / 6916 variable stars
Loading cross-index data from "/usr/share/stellarium/stars/default/cross-index.dat"
Loaded 108279 / 108279 cross-index data records
Loaded 88 / 88 constellation records successfully for culture "western"
Loaded 85 / 85 constellation art records successfully for culture "western"
Loaded 88 / 88 constellation names
Loading constellation boundary data ...
Loaded 782 constellation boundary segments
Initializing basic GL shaders...
Creating GUI ...
Loaded plugin "AngleMeasure"
Loaded plugin "MeteorShowers"
MeteorShowersMgr: Loading catalog file: "/home/myuser/.stellarium/modules/MeteorShowers/showers.json"
Loaded plugin "Satellites"
Satellites: loading catalog file: "/home/myuser/.stellarium/modules/Satellites/satellites.json"
Loaded plugin "SolarSystemEditor"
Using the ssystem.ini file that already exists in the user directory...
Unable to find module called "TimeZoneConfiguration"
Loaded plugin "TimeZoneConfiguration"
Unloaded plugin "TimeZoneConfiguration"
Unloaded plugin "SolarSystemEditor"
Unloaded plugin "Satellites"
Unloaded plugin "MeteorShowers"
Unloaded plugin "AngleMeasure"
Downloaded 0 files (0 kbytes) in a session of 282.421 sec (average of 0 kB/s + 0 files from cache (0 kB)).
===== end ~/.stellarium/log.txt =====

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

Are you pressed button "save as defaults" in plugin before exit?

Changed in stellarium:
assignee: nobody → Alexander Wolf (alexwolf)
milestone: none → 0.15.0
Revision history for this message
wkitty42 (wkitty42) wrote :

yes, absolutely... numerous times in testing to ensure that i wasn't missing it...

here's a copy (without the TLE urls) of my [satellites] section before starting stellarium...

===== snip =====
[Satellites]
auto_add_enabled = true
auto_remove_enabled = true
hint_color = 0.0,0.4,0.6
hint_font_size = 10
last_update = 2015-10-27T08:19:48
orbit_fade_segments = 10
orbit_line_flag = true
orbit_line_segments = 60
orbit_segment_duration = 5
realistic_mode_enabled = false
show_satellite_hints = true
show_satellite_labels = 0
[...]
update_frequency_hours = 12
updates_enabled = true
===== snip =====

i start stellarium, hit ALT-Z, the orbit lines all jump in visual size and the satellites settings window shows 15 for the segment duration value... quitting without saving anything and restarting comes up with the segments short again... ALT-Z causes them to jump to 15 again... the value does not get saved to the config.ini... it is only when the program is running and you hit ALT-Z the !FIRST! time... i set it back to 5, do not save the defaults because they already are saved and exit the settings window... after that i can enter and exit from ALT-Z all i want and the lines and duration value will stay set to 5... if i quit stellarium, then the first time i ALT-Z, the duration value is reset to 15 again... set back to 5 and it will stay there for the remainder of the session no matter how many times i ALT-Z and exit the settings window...

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

Why you expected saving data into config.ini, if you do not pressed the "save settings" button?

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

Or I did not understand you?

Changed in stellarium:
assignee: Alexander Wolf (alexwolf) → nobody
Revision history for this message
wkitty42 (wkitty42) wrote :

i didn't expect the settings to be saved... i was checking to ensure that it wasn't being done automatically ;)

something in the initialization when first using ALT-Z is forcing the segment duration to back to the default of 15... that is what is wrong... it is probably a one line fix... i'd fix it and provide the patch but i don't do C/C++... i used to read it years ago but i've spent more time with other code (pascal, perl, nasal, php, bat, rexx, etc)...

Changed in stellarium:
importance: Undecided → Low
status: New → Confirmed
status: Confirmed → Fix Committed
Revision history for this message
Alexander Wolf (alexwolf) wrote :

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

Changed in stellarium:
assignee: nobody → Alexander Wolf (alexwolf)
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.