Summary: | DateBar selection of time-units imprecise | ||
---|---|---|---|
Product: | [Applications] kphotoalbum | Reporter: | Johannes Zarl-Zierl <johannes> |
Component: | Datebar | Assignee: | KPhotoAlbum Bugs <kpabugs> |
Status: | RESOLVED FIXED | ||
Severity: | minor | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Johannes Zarl-Zierl
2023-04-01 19:49:13 UTC
Git commit d5179c263ac52bd9b30b1f28c91488a163627fda by Johannes Zarl-Zierl. Committed on 02/04/2023 at 22:43. Pushed by johanneszarl into branch 'master'. Fix image count in DateBar When counting images, the earliest starting of two time ranges with the same end time was skipped, leading to an image count that was too low. This bug is easily demonstrated using the demo database, as seen in the linked bug report. Also, images with a start date that is exactly the same as the end of the time range would be ignored. This bug may be triggered by an image with a non-fuzzy date that was shot exactly on Dec. 31st at 23:59:59 when having the datebar units set to years. M +5 -4 XMLDB/XMLImageDateCollection.cpp https://invent.kde.org/graphics/kphotoalbum/commit/d5179c263ac52bd9b30b1f28c91488a163627fda Git commit 58eafdf7af84d5efeb538a5b3ab541d560e8bfa8 by Johannes Zarl-Zierl. Committed on 03/04/2023 at 22:19. Pushed by johanneszarl into branch 'master'. Fix date range for selection via DateBar Selecting a date range via the DateBar incorrectly included the begin of the following time unit when it shouldn't. I.e. selecting a year like 1988 by clicking below it on the DateBar selected the range 1988-01-01T00:00:00 - 1989-01-01T00:00:00 instead of 1988-01-01T00:00:00 - 1988-12-31T23:59:59. M +6 -5 DateBar/MouseHandler.cpp https://invent.kde.org/graphics/kphotoalbum/commit/58eafdf7af84d5efeb538a5b3ab541d560e8bfa8 |