Bug 464569

Summary: Days highlighting in Dates view lost when moving files to trash
Product: [Applications] digikam Reporter: Roberto <betokella>
Component: Searches-DatesAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: metzpinguin
Priority: NOR    
Version First Reported In: 7.9.0   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed/Implemented In: 8.0.0
Sentry Crash Report:
Attachments: PRINTSCREEN

Description Roberto 2023-01-20 21:35:43 UTC
Created attachment 155460 [details]
PRINTSCREEN

SUMMARY
In the Dates view, selecting a month highlights the days for which there are files. Moving files from the list to trash makes the highlight disapear from all days but the one selected. To bring it back one has to select another months and then back to the original.

STEPS TO REPRODUCE
1. In Dates view, select a month. The days which have files will be highlighted
2. Move one or more files to trash

OBSERVED RESULT
The highlight disapear from all days but the one selected

EXPECTED RESULT
The highlights should eventually be refreshed to reflect the new situation, but not disapear completelly

SOFTWARE/OS VERSIONS
Windows:  10
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Maik Qualmann 2023-01-20 22:28:03 UTC
Git commit e3467c2381fe2235fba5b784238b380583175eb2 by Maik Qualmann.
Committed on 20/01/2023 at 22:27.
Pushed by mqualmann into branch 'master'.

for the calculation of the days we need the source item model
When a day is selected the filter model is filtered.
FIXED-IN: 8.0.0

M  +2    -1    NEWS
M  +3    -3    core/app/date/monthwidget.cpp

https://invent.kde.org/graphics/digikam/commit/e3467c2381fe2235fba5b784238b380583175eb2