Bug 389420 - Thumbnails diminishing in size after switching Views.
Summary: Thumbnails diminishing in size after switching Views.
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Thumbs-IconView (other bugs)
Version First Reported In: 5.8.0
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-25 17:17 UTC by Paul
Modified: 2018-01-26 11:38 UTC (History)
2 users (show)

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


Attachments
Composite screen-shot (931.21 KB, image/png)
2018-01-25 17:17 UTC, Paul
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Paul 2018-01-25 17:17:54 UTC
Created attachment 110116 [details]
Composite screen-shot

With the Main Window displaying Thumbnails, switching back and forth between Views (Album, Tags, Labels, etc.) causes the Thumbnails to become progressively smaller.

See attached composite screen-shot.

The top row is the correct size, as set by the Thumbnail Slider.

The following three rows show the diminishing size, each row after switching Views from Album to Tag, and back to Album.
Comment 1 caulier.gilles 2018-01-25 17:35:46 UTC
Yes, reproducible too with AppImage 5.9.0 pre version.
Comment 2 Maik Qualmann 2018-01-25 18:30:12 UTC
If I switch between album, tags and labels in the left sidebar, I can not see any resizing. However, the set size changes when I switch back from the preview, depending on the size of the image.

Maik
Comment 3 Maik Qualmann 2018-01-25 19:54:58 UTC
Git commit 6a474c9e7846155c92117babb1d614b1b968d17c by Maik Qualmann.
Committed on 25/01/2018 at 19:54.
Pushed by mqualmann into branch 'master'.

fix thumb size when switching between the views.
Note: ImageCategorizedView::thumbnailSize() returns a size smaller by 2 pixels because the image frame is subtracted.

M  +3    -3    app/views/digikamview.cpp

https://commits.kde.org/digikam/6a474c9e7846155c92117babb1d614b1b968d17c
Comment 4 Maik Qualmann 2018-01-25 19:56:13 UTC
Gilles,

please confirm that the problem is resolved before we close the bug.

Maik
Comment 5 caulier.gilles 2018-01-25 22:09:27 UTC
No, the problem remain with your last commit.

Gilles
Comment 6 Maik Qualmann 2018-01-26 07:10:19 UTC
Ah, now I see the problem, it may have the same cause as the decreasing of the thumb size slider value, if switched between preview and icon view. I fix it tonight.

Maik
Comment 7 Maik Qualmann 2018-01-26 11:38:54 UTC
Git commit 00e742da19b6005627ff3ef8b7ae73a35e603743 by Maik Qualmann.
Committed on 26/01/2018 at 11:37.
Pushed by mqualmann into branch 'master'.

fix thumbnail size changing when switch views of the left sidebar
FIXED-IN: 5.9.0

M  +2    -1    NEWS
M  +2    -3    app/items/imagecategorizedview.cpp

https://commits.kde.org/digikam/00e742da19b6005627ff3ef8b7ae73a35e603743