Bug 148214

Summary: allow window to be resized completely on a single dimension
Product: [Applications] krdc Reporter: Mike Frysinger <vapier>
Component: generalAssignee: Urs Wolfer <uwolfer>
Status: RESOLVED FIXED    
Severity: wishlist    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:

Description Mike Frysinger 2007-07-26 04:12:07 UTC
Version:            (using KDE KDE 3.5.7)
Installed from:    Gentoo Packages
OS:                Linux

if the remote machine has dimensions larger than the window, scroll bars will appear.  often times i connect to a 3:4 ratio desktop from a 16:9 laptop, so i should be able to resize the X axis of the window so i can view it completely.  however, krdc does not allow the window to be resized beyond the boundary of the scrollbar.

for example, connect to any machine that has a desktop smaller than the one you're on.  there should be no scrollbars as the window is completely viewable.  if you shrink the window down and force both the Y and X scrollbars to appear, you cannot resize the window such that only one dimension is completely viewable.  either both scrollbars exist or neither do, you cant get just one to go away.
Comment 1 Urs Wolfer 2008-03-24 13:31:05 UTC
SVN commit 789489 by uwolfer:

Implement scaling of remote desktop for VNC protocol.
Allows up- and downscaling with free ascpect ratio.

There are sometimes small roundig errors, what results small artefacts (KDE 3 version had this issue too). Need to find a solution for this issue later, but this implementation is already usable without problems. This is still work in progress,; fixes for small problems will follow.

BUG:151519
FEATURE:148214
FEATURE:151099

 M  +2 -0      krdcui.rc  
 M  +28 -9     mainwindow.cpp  
 M  +21 -0     mainwindow.h  
 M  +4 -2      remoteview.cpp  
 M  +2 -1      remoteview.h  
 M  +52 -9     vnc/vncview.cpp  
 M  +8 -0      vnc/vncview.h  


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