Bug 53666 - scrollbars missing, if image is bigger then window
Summary: scrollbars missing, if image is bigger then window
Status: RESOLVED FIXED
Alias: None
Product: kuickshow
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR wishlist
Target Milestone: ---
Assignee: Carsten Pfeiffer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-30 15:26 UTC by Ferdinand Gassauer
Modified: 2004-01-11 01:30 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ferdinand Gassauer 2003-01-30 15:26:26 UTC
Version:           0.8.5 (using KDE 3.1.0)
Installed from:    compiled sources
Compiler:          gcc version 2.95.2 19991024 (release)
OS:          Linux (i686) release 2.2.19

Hi!
Example: if image is restored to "original size" not all is displayed. 

The (good !) solution of holding LMB and pull the content is not very intuitive.

what about scrollbars as additional feature?
cu
ferdinand
Comment 1 Moritz Moeller-Herrmann 2003-07-13 19:07:54 UTC
Also scrolling with the cursor keys is much too slow to be usable, scrolling by mouse works fine. 
Comment 2 Carsten Pfeiffer 2004-01-11 01:30:46 UTC
Subject: kdegraphics/kuickshow/src

CVS commit by pfeiffer: 

make moving the image more usable
(sorry, no scrollbar)
CCMAIL: 53666-close@bugs.kde.org


  M +7 -7      imagewindow.cpp   1.59


--- kdegraphics/kuickshow/src/imagewindow.cpp  #1.58:1.59
@@ -1,4 +1,4 @@
 /* This file is part of the KDE project
-   Copyright (C) 1998-2003 Carsten Pfeiffer <pfeiffer@kde.org>
+   Copyright (C) 1998-2004 Carsten Pfeiffer <pfeiffer@kde.org>
 
    This program is free software; you can redistribute it and/or
@@ -427,20 +427,20 @@ void ImageWindow::addGamma( int factor )
 void ImageWindow::scrollUp()
 {
-    scrollImage( 0, kdata->scrollSteps );
+    scrollImage( 0, 20 * kdata->scrollSteps );
 }
 
 void ImageWindow::scrollDown()
 {
-    scrollImage( 0, - kdata->scrollSteps );
+    scrollImage( 0, - 20 * kdata->scrollSteps );
 }
 
 void ImageWindow::scrollLeft()
 {
-    scrollImage( kdata->scrollSteps, 0 );
+    scrollImage( 20 * kdata->scrollSteps, 0 );
 }
 
 void ImageWindow::scrollRight()
 {
-    scrollImage( - kdata->scrollSteps, 0 );
+    scrollImage( - 20 * kdata->scrollSteps, 0 );
 }