[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 149654] fullscreen icon changes image's zoom to 100% (should fit
From:       Gerhard Dirschl <gerhard.dirschl () gmx ! de>
Date:       2008-06-26 8:51:03
Message-ID: 20080626085103.12557.qmail () ktown ! kde ! org
[Download RAW message or body]

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
         
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).
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic