Bug 429709 - Date view suddenly switches to month view
Summary: Date view suddenly switches to month view
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Searches-Dates (show other bugs)
Version: 7.2.0
Platform: Appimage Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-11-27 03:44 UTC by Mike Morrison
Modified: 2022-10-10 18:42 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In: 7.9.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Morrison 2020-11-27 03:44:23 UTC
SUMMARY
When viewing photos from a specific date (e.g. Nov. 26, 2020), digiKam suddenly switches to show photos from the entire month (e.g. Nov. 2020).

STEPS TO REPRODUCE
1. In the Dates view, choose a specific date on the calendar grid in the lower left corner of digiKam. The photo thumbnails will be photos from that date, sorted into their various albums.
2. Perform some operation, for example select some of the photos and move them into a different album.
3. Observe that the thumbnails don't appear to have moved to the new album, but still appear to be in the old album.
4. To force the display to refresh, click a different date in the same month (for example Nov. 24, 2020) on the calendar grid, and then click the original date to return to it.
5. Notice that the photos are now correctly shown to be in the new album.
6. Now do nothing and wait for about 10 seconds.

OBSERVED RESULT
After a few seconds, the date selection and photo thumbnails suddenly show the entire month (for example November 2020) instead of the specific day (e.g. Nov. 26, 2020) that was chosen. This loss of specific date selection occurs after a delay, without any input from the user.

EXPECTED RESULT
Whenever the user clicks a specific date, the selection should stay on that date, and should not change to a whole month unless the user clicks the month name.

SOFTWARE/OS VERSIONS
Using 7.2.0-beta1, build date Oct 17 2020, rev 92da0191aa60e3eb1a188083016e958928ddd0b2 on Ubuntu 20.10.
KDE Frameworks Version: 5.74.0
Qt Version: 5.14.2
Comment 1 Maik Qualmann 2020-11-27 07:06:50 UTC
The virtual date album is resolved by month. The day is not saved. After changes in the database that affect the creation date, it takes 30 seconds for the date view to be updated. Since the construction of the date view is quite time-consuming, there is this waiting time. Since only the month is resolved, the display jumps back. I'll see if there's an easy way to save the day temporarily.

Maik
Comment 2 caulier.gilles 2021-07-19 06:53:48 UTC
With next digiKam 7.4.0 release, AppImage bundle is compiled using a more recent Linux Mageia 7.1 host. Last stable Qt 5.15.2 and KF5 5.84 are used. ImageMagick codec 7 and libav 58 (ffmpeg) are used to supports extra image and video formats.

https://i.imgur.com/XV1tZkL.png

Please check if problem still reproducible with this version available as pre-release here:

https://files.kde.org/digikam/

Gilles Caulier
Comment 3 Mike Morrison 2021-12-01 22:01:38 UTC
(In reply to caulier.gilles from comment #2)

The observed behavior (date view suddenly switches to month view after a delay) still occurs in 7.4.0 AppImage, build date 2021-11-18.