Bug 481908

Summary: Kstars 3.6.9 - Dark Library - Clear All button not deleting files
Product: [Applications] kstars Reporter: Edoardo Zanoni <edoardo.zanoni+kde_bug>
Component: generalAssignee: Jasem Mutlaq <mutlaqja>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Debian stable   
OS: Linux   
Latest Commit: Version Fixed In: 3.7.0

Description Edoardo Zanoni 2024-02-27 19:33:32 UTC
*SUMMARY*
When clearing all the rows using "Clear All", the entries in the kstars window get removed, but the files in the directory are not

*STEPS TO REPRODUCE*
1. Open the Darks button in the CCD menu
2. Create 2 darks
3. Goto "Masters" tab
4. Press "Clear All"
5. Confirm

*OBSERVED RESULT*
All the row are deleted from the interface, but their files persists

*EXPECTED RESULT*
All the files are deleted alongside the respective row

*SOFTWARE/OS VERSIONS*
Application: kstars
Version: 3.6.9 Stable
Linux: Debian GNU/Linux 12 (bookworm) 12 (arm64)

*ADDITIONAL INFORMATION*
None
Comment 1 Jasem Mutlaq 2024-02-29 05:46:53 UTC
Git commit 19cc38071ca46d3df5626595bed40fe334394612 by Jasem Mutlaq.
Committed on 29/02/2024 at 05:46.
Pushed by mutlaqja into branch 'master'.

Fix issues with removing dark frames from table.
Related: bug 481907
FIXED-IN:3.7.0

M  +17   -22   kstars/ekos/auxiliary/darklibrary.cpp

https://invent.kde.org/education/kstars/-/commit/19cc38071ca46d3df5626595bed40fe334394612
Comment 2 Jasem Mutlaq 2024-03-03 04:54:40 UTC
Git commit 455591ec33a7f0bdae7574e3cc115b8a25424179 by Jasem Mutlaq.
Committed on 03/03/2024 at 04:53.
Pushed by mutlaqja into branch 'stable-3.6.9'.

Fix issues with removing dark frames from table.
Related: bug 481907
FIXED-IN:3.7.0

M  +17   -22   kstars/ekos/auxiliary/darklibrary.cpp

https://invent.kde.org/education/kstars/-/commit/455591ec33a7f0bdae7574e3cc115b8a25424179