Bug 514256

Summary: Task Queue System has No Example Collections
Product: [Applications] kstars Reporter: leedpeterson
Component: generalAssignee: Jasem Mutlaq <mutlaqja>
Status: RESOLVED FIXED    
Severity: normal CC: leedpeterson
Priority: NOR    
Version First Reported In: 3.8.0   
Target Milestone: ---   
Platform: macOS (DMG)   
OS: macOS   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: attachment-2101363-0.html
attachment-2122473-0.html

Description leedpeterson 2026-01-07 00:50:51 UTC
SUMMARY
The manual entry for the scheduler task queue system has a Quick Start section that implies that there should be example collections that the user can use as templates for new task collections

STEPS TO REPRODUCE
1. Start KStars
2. Select the simulators profile for Ekos
3. Clock on the scheduler tab
4. Click on the task queue editor button
5. Click on the Load Collection button

OBSERVED RESULT
The load collection dialog opens, but there is nothing listed under Available Collections

EXPECTED RESULT
It should show these available collections:

Observatory Startup
Observatory Shutdown
Emergency Shutdown
Camera Cooling


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: 
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
I suspect that the installation is incomplete, or that these files must be downloaded from some URL. But that is not mentioned in the manual, nor is an error generated indicating that the installation is incomplete.
Comment 1 Jasem Mutlaq 2026-01-07 13:12:24 UTC
I can't reproduce this. I just tested with latest DMG and it loaded the collections fine.
Comment 2 leedpeterson 2026-01-07 14:06:21 UTC
Created attachment 188290 [details]
attachment-2101363-0.html

Morning Jasem,

Thanks for testing this. I think we may have different versions of the latest DMG. I downloaded it from the KDE site and the indilib site, but in both cases, the DMG does not contain the JSON files for the task queue examples. 

For instance, this command:

	find /Volumes/kstars-stable-3.8.0-9438-macos-clang-x86_64.dmg -name camera.json

does not find the file. Likewise, this

	find /Applications/kstars.app -name camera.json

also does not find the file. 

What build are you testing and from what download site?

Lee

> On Jan 7, 2026, at 6:12 AM, Jasem Mutlaq <bugzilla_noreply@kde.org> wrote:
> 
> https://bugs.kde.org/show_bug.cgi?id=514256
> 
> Jasem Mutlaq <mutlaqja@ikarustech.com> changed:
> 
>           What    |Removed                     |Added
> ----------------------------------------------------------------------------
>         Resolution|---                         |WORKSFORME
>             Status|REPORTED                    |RESOLVED
> 
> --- Comment #1 from Jasem Mutlaq <mutlaqja@ikarustech.com> ---
> I can't reproduce this. I just tested with latest DMG and it loaded the
> collections fine.
> 
> -- 
> You are receiving this mail because:
> You reported the bug.
> You are on the CC list for the bug.
Comment 3 leedpeterson 2026-01-07 15:34:25 UTC
Created attachment 188295 [details]
attachment-2122473-0.html

Hi Jasem,

I did some more experimenting. Ignore my message below about the files missing in the kstars.app directories. Those are installed during the first run of kstars into ~/Library/Application Support/kstars directory. But the 3.8.0 package installer is not installing those files. Here’s how I determined that:

I tried a “clean” install by removing the existing kstars application and moving the data to backups:

	rm -fr /Applications/kstars
	mv ~/Library/Application Support/kstars ~/Library/Application Support/kstars.backup

I then installed kstars 3.8.0 using the DMG. When I run kstars, there is an error during startup saying that a required file TZrules.dat is missing. In fact, it was there in the old ~/Library/Application Support/kstars, but not in the new, freshly installed one. 

Apparently the package manager uncompresses and installs these data files when kstars is first opened. This installs over the existing data files. Since older versions installed the data files properly, they are already there when 3.8.0 is first opened, and it opens without the file missing error. I suspect that in your installation, ~/Library/Application Support/kstars/taskqueue already existed. However, it is not being installed for 3.8.0 .

Lee

> On Jan 7, 2026, at 7:05 AM, Lee Peterson <leedpeterson@mac.com> wrote:
> 
> Morning Jasem,
> 
> Thanks for testing this. I think we may have different versions of the latest DMG. I downloaded it from the KDE site and the indilib site, but in both cases, the DMG does not contain the JSON files for the task queue examples. 
> 
> For instance, this command:
> 
> 	find /Volumes/kstars-stable-3.8.0-9438-macos-clang-x86_64.dmg -name camera.json
> 
> does not find the file. Likewise, this
> 
> 	find /Applications/kstars.app -name camera.json
> 
> also does not find the file. 
> 
> What build are you testing and from what download site?
> 
> Lee
> 
>> On Jan 7, 2026, at 6:12 AM, Jasem Mutlaq <bugzilla_noreply@kde.org> wrote:
>> 
>> https://bugs.kde.org/show_bug.cgi?id=514256
>> 
>> Jasem Mutlaq <mutlaqja@ikarustech.com> changed:
>> 
>>           What    |Removed                     |Added
>> ----------------------------------------------------------------------------
>>         Resolution|---                         |WORKSFORME
>>             Status|REPORTED                    |RESOLVED
>> 
>> --- Comment #1 from Jasem Mutlaq <mutlaqja@ikarustech.com> ---
>> I can't reproduce this. I just tested with latest DMG and it loaded the
>> collections fine.
>> 
>> -- 
>> You are receiving this mail because:
>> You reported the bug.
>> You are on the CC list for the bug.
>
Comment 4 Jasem Mutlaq 2026-01-08 08:43:17 UTC
Yes I can confirm the issue. Investigating.
Comment 5 Jasem Mutlaq 2026-01-09 06:18:15 UTC
Please redownload the DMG and check now.
Comment 6 leedpeterson 2026-01-09 13:43:14 UTC
Yes it works for me now. Thanks!

However I noticed that double clicking on a task in the queue does not bring up an editor for the task. Instead, the field double-clicked on goes into editing mode. For instance, double clicking on the task name field puts the name field into edit mode instead of opening an editor for the task itself. It’s easy to work around this by using a text editor on the .json file, but thought I should bring that to your attention. Let me know if you need me to enter a bug report for that.

> On Jan 8, 2026, at 11:18 PM, Jasem Mutlaq <bugzilla_noreply@kde.org> wrote:
> 
> https://bugs.kde.org/show_bug.cgi?id=514256
> 
> --- Comment #5 from Jasem Mutlaq <mutlaqja@ikarustech.com> ---
> Please redownload the DMG and check now.
> 
> -- 
> You are receiving this mail because:
> You reported the bug.
> You are on the CC list for the bug.
Comment 7 Jasem Mutlaq 2026-01-10 05:09:31 UTC
This issue is fixed in 3.8.1