[Digikam-devel] [Bug 298265] Embedded preview changes from full to reduced size regardless album view settings [patch]

Varun Herale varun.herale at gmail.com
Thu Apr 19 03:40:10 BST 2012


https://bugs.kde.org/show_bug.cgi?id=298265

--- Comment #23 from Varun Herale <varun.herale at gmail.com> ---
(In reply to comment #22)
> Varun,
> 
> Can you explain a little bit your fixes please ?
> 
> Gilles Caulier

Gilles,

Using gdb I found that the image is previewed properly whenever it is loaded
using "load()" function of DImg class before painting from -

https://projects.kde.org/projects/extragear/graphics/digikam/repository/revisions/master/entry/libs/widgets/graphicsview/graphicsdimgitem.cpp#L191

This happens only in certain cases where QImage to DImg conversion is done -

https://projects.kde.org/projects/extragear/graphics/digikam/repository/revisions/master/entry/libs/threadimageio/previewtask.cpp#L261

So I added another line to load after the conversion is done. This change
affects only during preview of images.

Varun Herale

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Digikam-devel mailing list