Bug 276870 - with zoom-out on display, 2 pixel right border displayed as transparent pixels
Summary: with zoom-out on display, 2 pixel right border displayed as transparent pixels
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: General (show other bugs)
Version: git master (please specify the git hash!)
Platform: Unlisted Binaries Linux
: NOR critical
Target Milestone: ---
Assignee: Dmitry Kazakov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-01 06:54 UTC by David REVOY
Modified: 2011-11-19 11:45 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
screenshot of the phoenomena (136.48 KB, image/jpeg)
2011-07-01 06:54 UTC, David REVOY
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David REVOY 2011-07-01 06:54:55 UTC
Created attachment 61520 [details]
screenshot of the phoenomena

Version:           svn trunk
OS:                Linux

When I zoom out, I often got displayed a border of 2 pixel on the right border of my canvas. They are displayed as if they was 2 transparent pixels. But, in my document, the full canvas is filled with a color. ( I don't use OpenGl rendering ). Tested here on a 1440x900px at 50% zoom out, filled with a dark purple. )

To see the effect, I place a screenshot on attachement. 

Reproducible: Didn't try


Actual Results:  
 

Expected Results:
Comment 1 David REVOY 2011-07-01 06:58:27 UTC
Note : this can be tested with many resolution, and sometime also affect the border of the bottom.
Comment 2 Halla Rempt 2011-07-01 07:42:24 UTC
Ack... I've seen it too. I blame my anti-aliasing improvement patches. Dmitry, can we discuss this when you're back from Astrakhan?
Comment 3 Halla Rempt 2011-09-20 07:58:11 UTC
This really is a big problem that needs to be solved for 2.4.
Comment 4 Halla Rempt 2011-11-04 19:54:45 UTC
If it must be solved, it's critical.
Comment 5 Dmitry Kazakov 2011-11-19 11:45:54 UTC
Git commit f0a2681d363a3524c8addb70059e7a0c5cb12bc0 by Dmitry Kazakov.
Committed on 19/11/2011 at 13:45.
Pushed by dkazakov into branch 'master'.

Workaround for a scaling bug in the canvas

The line at the bottom-right corner appears due to different
behavior of QPainter while scaling. Added a workaround and reported
a bug: https://bugreports.qt.nokia.com/browse/QTBUG-22827

BUG:276870

M  +14   -2    krita/ui/canvas/kis_coordinates_converter.cpp
M  +43   -0    krita/ui/tests/kis_prescaled_projection_test.cpp
M  +2    -0    krita/ui/tests/kis_prescaled_projection_test.h

http://commits.kde.org/calligra/f0a2681d363a3524c8addb70059e7a0c5cb12bc0