Bug 168880

Summary: Artifacts appear when scaling is enabled
Product: [Applications] krdc Reporter: Guillaume Pothier <gpothier>
Component: generalAssignee: Urs Wolfer <uwolfer>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Fixes the one-pixel lines of garbage

Description Guillaume Pothier 2008-08-11 00:04:58 UTC
Version:            (using Devel)
Installed from:    Compiled sources

When (up)scaling is enabled and I do some scrolling or move windows around in the remote desktop, two kinds of artifacts appear:
1. Large vertical or horizontal one-pixel lines of garbage. This actually disturbs a lot.
2. Some areas are offset by one pixel. This is barely noticeable.

Attached is a patch for the first issue.
Comment 1 Guillaume Pothier 2008-08-11 00:06:33 UTC
Created attachment 26776 [details]
Fixes the one-pixel lines of garbage

This patch grows the update rectangle by one pixel in each direction to account
for rounding errors.
Comment 2 Urs Wolfer 2008-08-16 15:59:51 UTC
SVN commit 847957 by uwolfer:

Improve artificats issue in scaled mode a lot.
Patch by Guillaume Pothier, thanks a lot!
BUG:168880

 M  +10 -2     vncview.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=847957
Comment 3 Urs Wolfer 2008-08-16 16:02:01 UTC
SVN commit 847958 by uwolfer:

Backport:
SVN commit 847957 by uwolfer:

Improve artificats issue in scaled mode a lot.
Patch by Guillaume Pothier, thanks a lot!
CCBUG:168880

 M  +10 -2     vncview.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=847958