Bug 452794

Summary: Saving a schedule does not save the associated fits file
Product: [Applications] kstars Reporter: Adrian Knagg-Baugh <aje.baugh>
Component: generalAssignee: Wolfgang Reissenberger <wreissen>
Status: RESOLVED NOT A BUG    
Severity: normal CC: wreissen
Priority: NOR    
Version First Reported In: 3.5.8   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Adrian Knagg-Baugh 2022-04-20 13:06:40 UTC
SUMMARY
***
The scheduling tool allows for using a fits file to get an accurate goto reference. When loading a schedule job that had a fits file specified in the config, the fits file location is not restored.
***


STEPS TO REPRODUCE
1. Create new schedule item choosing object, sequence file etc.
2. Specify a fits file using the file selector.
3. Save schedule job.
4. Clear the schedule.
5. Load the saved schedule job.
6. Schedule is listed but no longer has the reference fits file listed.

OBSERVED RESULT

After reloading, the reference fits file is not shown in the job details.

EXPECTED RESULT

The reference fits file to be used for the job should be shown.

SOFTWARE/OS VERSIONS

Linux/KDE Plasma:  Ubuntu 21.10
KDE Plasma Version:  5.86
KDE Frameworks Version: 5.86
Qt Version: 5.15.2

ADDITIONAL INFORMATION
Comment 1 Wolfgang Reissenberger 2022-09-04 12:22:33 UTC
The scheduler job only saves the file location, not the file itself. As long as you don't move the reference file, the scheduler will work as expected.