By default, Bugzilla does not search the list of RESOLVED bugs.
You can force it to do so by putting the upper-case word ALL in front of your search query, e.g.: ALL tdelibs
We recommend searching for bugs this way, as you may discover that your bug has already been resolved and fixed in a later release.
Bug 409 - disabling smooth scroll for html part
Summary: disabling smooth scroll for html part
Status: RESOLVED FIXED
Alias: None
Product: TDE
Classification: Unclassified
Component: tdebase (show other bugs)
Version: 3.5.13 [Trinity]
Hardware: Other Linux
: P5 enhancement
Assignee: Timothy Pearson
URL:
Depends on:
Blocks:
 
Reported: 2011-01-19 15:44 CST by samelian
Modified: 2012-10-19 15:54 CDT (History)
3 users (show)

See Also:
Compiler Version:
TDE Version String:
Application Version:
Application Name:


Attachments
Provide kcontrol setting for khtml "smooth scrolling" feature. (5.27 KB, patch)
2011-10-14 04:18 CDT, Nick Leverton
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description samelian 2011-01-19 15:44:47 CST
There is no option to disable smooth scrolling for html kpart
Comment 1 Timothy Pearson 2011-01-19 15:54:00 CST
See http://www.kde-forum.org/artikel/10369/how-to-turn-off-smooth-scrolling-in-kde-3-4.html

$HOME/.kde/share/config/kdeglobals:

[KDE ]
SmoothScrolling=false
Comment 2 samelian 2011-01-19 16:01:42 CST
Smooth scrolling hack is located in kdelibs/khtml/khtmlview.cpp (line 4506):

#ifndef NO_SMOOTH_SCROLL_HACK
#define timer timer2

// All scrolls must be completed within 240ms of last keypress
static const int SCROLL_TIME = 240;
// Each step is 20 ms == 50 frames/second
static const int SCROLL_TICK = 20;

void KHTMLView::scrollBy(int dx, int dy)
{
    KConfigGroup cfg( KGlobal::config(), "KDE" );
    if( !cfg.readBoolEntry( "SmoothScrolling", true )) {
        TQScrollView::scrollBy( dx, dy );
        return;
    }
Comment 3 samelian 2011-01-19 16:05:26 CST
Smoth scrolling is not disabled by default
Comment 4 Nick Leverton 2011-10-14 04:18:47 CDT
Created attachment 100 [details]
Provide kcontrol setting for khtml "smooth scrolling" feature.
Comment 5 Nick Leverton 2011-10-14 04:19:07 CDT
I find the emulated "smooth scrolling" makes Trinity difficult to use on a machine with many windows open, as for some reason the scrolling can take several seconds and will continue even when I make other scrolls or clicks.

I came up with the attached patch to allow users to disable SmoothScroll without editing kdeglobals.  Could you consider this for Trinity, please ?
Comment 6 Timothy Pearson 2011-10-23 17:10:24 CDT
Committed to SVN in revision 1260417.

Thanks for reporting, and for the patch!