Summary: | Timeline gives zero height column for dates with a single entry | ||
---|---|---|---|
Product: | [Applications] digikam | Reporter: | Gandalf Lechner <gandalflechner> |
Component: | Searches-TimeLine | Assignee: | Digikam Developers <digikam-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | caulier.gilles, marcel.wiesweg |
Priority: | NOR | ||
Version: | 0.10.0 | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 7.0.0 | |
Sentry Crash Report: |
Description
Gandalf Lechner
2008-08-01 17:00:34 UTC
I can confirm this problem only with logarithmic scale... Gilles Confirming for 0.10b7svn both: linear and logarythmic scale for days, weeks and even months. Not only for one image but if there are several of them. I have a patch here that draws the smallest visible rectangle (one-pixel line of blue, one-pixel line border, so 2px) when the value for a time span is not 0, but value / maxCount is sufficiently small that it would result in 0 pixels. Now this is not linear any more for small values, but I think it's better for usability Fine with you Gilles? Marcel, yes, fine for me... Gilles SVN commit 897802 by mwiesweg: If number of pictures is not null, use a minimum height of 1 (I first thought to use minimum height 2, but height 1, just a one-pixel line, works as well) CCBUG: 168004 M +18 -5 timelinewidget.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=897802 Not reproducible with 7.0.0-beta1 |