[Digikam-devel] [Bug 149654] fullscreen icon changes image's zoom to 100% (should fit to screen)

Gerhard Dirschl gerhard.dirschl at gmx.de
Thu Jun 26 09:51:02 BST 2008


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=149654         




------- Additional Comments From gerhard.dirschl gmx de  2008-06-26 10:51 -------
Created an attachment (id=25615)
 --> (http://bugs.kde.org/attachment.cgi?id=25615&action=view)
Another fix

It's caused by slotZoomSliderChanged(d->albumSettings->getDefaultIconSize()) in
DigikamApp::show() which is called when switching to fullscreen.
slotZoomSliderChanged(d->albumSettings->getDefaultIconSize()) sets the
zoomFactor to a value larger than calcAutoZoomFactor(ZoomInOnly), and hence
ImagePreviewView::resizeEvent(...) does not set the fit-to-window zoom factor.

I simply removed slotZoomSliderChanged(d->albumSettings->getDefaultIconSize())
(see attachment).



More information about the Digikam-devel mailing list