[Digikam-devel] [digikam] [Bug 205776] Option to load full image size in preview mode does not only do what it says with RAW files

Vincent Tassy timetre at free.fr
Fri Nov 7 09:47:43 GMT 2014


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

--- Comment #64 from Vincent Tassy <timetre at free.fr> ---
Created attachment 89490
  --> https://bugs.kde.org/attachment.cgi?id=89490&action=edit
Use preview area size instead of screen resolution

Use the preview area size instead of the entire screen resolution when making
the decision to load the embedded JPG preview or the half size preview.
This reflects the reality of the space available for display ! (window
maximized or not, sidebars opened or not, etc)

Here's the behavior now on my WQXGA screen (2560x1440) with a 4000x3000 RAW
file containing a 1600x1200 JPG preview:

Window maximized + Left sidebar open + Right Sidebar open:
digikam(1592)/digikam (core) Digikam::PreviewLoadingTask::execute: Preview
Loading - size =  1688
digikam(1592)/digikam (core) Digikam::PreviewLoadingTask::execute: Preview
Loading - bestSize =  4000
digikam(1592)/digikam (core) Digikam::PreviewLoadingTask::execute: Preview
Loading - bestSize =  2000
digikam(1592)/digikam (core) Digikam::PreviewLoadingTask::execute: Preview
Loading - aBitSmallerThanSize =  1350
digikam(1592)/digikam (core) Digikam::PreviewLoadingTask::execute: Preview
Loading - sizeLimit =  1350
digikam(1592)/digikam (core) Digikam::PreviewLoadingTask::execute: Preview
Loading - exiv2 Preview largest dimension >= sizeLimit (  1600  >=  1350  )
digikam(1592)/digikam (core) Digikam::PreviewLoadingTask::execute: Preview
Loading - Loading embedded preview


Window maximized + Left sidebar open + Right Sidebar closed:
digikam(1592)/digikam (core) Digikam::PreviewLoadingTask::execute: Preview
Loading - size =  1925
digikam(1592)/digikam (core) Digikam::PreviewLoadingTask::execute: Preview
Loading - bestSize =  4000
digikam(1592)/digikam (core) Digikam::PreviewLoadingTask::execute: Preview
Loading - bestSize =  2000
digikam(1592)/digikam (core) Digikam::PreviewLoadingTask::execute: Preview
Loading - aBitSmallerThanSize =  1540
digikam(1592)/digikam (core) Digikam::PreviewLoadingTask::execute: Preview
Loading - sizeLimit =  1540
digikam(1592)/digikam (core) Digikam::PreviewLoadingTask::execute: Preview
Loading - exiv2 Preview largest dimension >= sizeLimit (  1600  >=  1540  )
digikam(1592)/digikam (core) Digikam::PreviewLoadingTask::execute: Preview
Loading - Loading embedded preview


Window maximized + Left sidebar closed + Right Sidebar closed:
digikam(1592)/digikam (core) Digikam::PreviewLoadingTask::execute: Preview
Loading - size =  2494
digikam(1592)/digikam (core) Digikam::PreviewLoadingTask::execute: Preview
Loading - bestSize =  4000
digikam(1592)/digikam (core) Digikam::PreviewLoadingTask::execute: Preview
Loading - bestSize =  2000
digikam(1592)/digikam (core) Digikam::PreviewLoadingTask::execute: Preview
Loading - aBitSmallerThanSize =  1995
digikam(1592)/digikam (core) Digikam::PreviewLoadingTask::execute: Preview
Loading - sizeLimit =  1995
digikam(1592)/digikam (core) Digikam::PreviewLoadingTask::execute: Preview
Loading - kdcrawPreview largest dimension < sizeLimit (  1600  <  1995  )
digikam(1592)/digikam (core) Digikam::PreviewLoadingTask::execute: Preview
Loading - Loading half preview

That's the behavior I expected.

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



More information about the Digikam-devel mailing list