Re: some bugs

"Ilya Konkov" <[email protected]>
Newsgroups gmane.comp.kde.gwenview
Message-ID <[email protected]>
> Second. This one is strange. Appears only on one photo (maybe because
> it is large) in level of zoom < 25% (image still > than window), on
> panning left and top black lines appears, on right and bottom
> disappears. After minimize--maximize nothing happens.
> http://img174.imageshack.us/img174/3816/gwenviewbug4nw0.png
> http://img262.imageshack.us/img262/481/gwenviewbug6sx6.png
>
This "fixes" issue:


--- lib/imagescaler.cpp (revision 760600)
+++ lib/imagescaler.cpp (working copy)
@@ -148,7 +148,7 @@
        }

        // Compute smooth margin
-       bool needsSmoothMargins = d->mTransformationMode ==
Qt::SmoothTransformation;
+       bool needsSmoothMargins = 0;//d->mTransformationMode ==
Qt::SmoothTransformation;

        int sourceLeftMargin, sourceRightMargin, sourceTopMargin,
sourceBottomMargin;
        int destLeftMargin, destRightMargin, destTopMargin, destBottomMargin;

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.