Bug 213624 - editor: picture too "big" when comming to editor after digikam start
Summary: editor: picture too "big" when comming to editor after digikam start
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Plugin-RawImport-Native (show other bugs)
Version: 1.0.0
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-08 02:06 UTC by Bartek Pietrasiak
Modified: 2022-01-26 04:23 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 2.0.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bartek Pietrasiak 2009-11-08 02:06:07 UTC
Version:           1.0.0-beta6 (rev.: 1044916) (using 4.3.2 (KDE 4.3.2), 4.3.2-4.fc11 Fedora)
Compiler:          gcc
OS:                Linux (i686) release 2.6.30.9-90.fc11.i686.PAE

If I press F4 on file and zoom the image in editor, the editor can remember this, so if I press F4 again on some other file I can see the picture with previous zoom. However, after each restart, digikam seems to display the image in its real size (I can see the whole picture when width < about 1000px). It ends up that I can see 1/4 of the image at first time. This can be seen after decoding a raw or just big jpg (10mpix in my case). I think that "fit to window" would be a better option.
Comment 1 caulier.gilles 2009-11-08 08:55:08 UTC
Sound like there is a confusion in Raw decoding process and digiKam cache about full image size and half image size...

Gilles Caulier
Comment 2 Marcel Wiesweg 2009-11-13 13:40:48 UTC
If you have fit-to-window enabled, it is restored at next restart.
If you had set any other zoom value, the zoom is set to 100% after next restart.
Is that what you mean here?
Comment 3 Bartek Pietrasiak 2009-11-14 13:23:55 UTC
I meant that even if fit-to-window is not enabled it is better to be able to see the whole picture as in digikam (there is nothing interesting in left corner of the picture;). In fact, changing the zoom so that I could see the whole picture is always the first thing I do after digikam restart and opening editor. But I don't mean that the fit-to-window should be always on.

The same for turning on/of fit-to-window. When it is turned off, editor will show the 100% zoom. I think that a better option would not rescale at all.
Comment 4 Marcel Wiesweg 2011-03-05 22:33:25 UTC
Git commit 733b06ceda7de0125982baff4a5e9acf208c3e91 by Marcel Wiesweg.
Committed on 05/03/2011 at 22:30.
Pushed by mwiesweg into branch 'master'.

Use a fitting zoom for the initially loaded picture.
This is a bit a workaround; I have the feeling the best solution would
be to port Canvas to the same codebase as the ImagePreviewView.

BUG: 213624

M  +2    -1    NEWS     
M  +4    -1    utilities/imageeditor/canvas/canvas.cpp     
M  +1    -1    utilities/imageeditor/editor/editorwindow.cpp     

http://commits.kde.org/digikam/733b06ceda7de0125982baff4a5e9acf208c3e91