Bug 464569 - Days highlighting in Dates view lost when moving files to trash
Summary: Days highlighting in Dates view lost when moving files to trash
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Searches-Dates (other bugs)
Version First Reported In: 7.9.0
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-01-20 21:35 UTC by Roberto
Modified: 2023-01-20 22:28 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 8.0.0
Sentry Crash Report:


Attachments
PRINTSCREEN (34.58 KB, image/jpeg)
2023-01-20 21:35 UTC, Roberto
Details

Note You need to log in before you can comment on or make changes to this bug.
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