From: Thomas Richter Date: Sat, 13 Jun 2020 10:56:47 +0000 (+0100) Subject: Disable smooth scrolling X-Git-Tag: archive/raspbian/3.0.4_dfsg-2+rpi1^2~8 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=b7546ab877d154d5e2be3c98f6bfb350ba42ee59;p=abiword.git Disable smooth scrolling Reviewed-by: Dmitry Smirnov Origin: other, https://bugs.debian.org/624095 Bug-Debian: https://bugs.debian.org/624095 Last-Update: 2020-06-05 Comment out code enabling smooth scrolling disregarding preferences to leave decision whenever use the smooth scrolling or not to user. Last-Update: 2020-06-05 Gbp-Pq: Name 624095-disable_smooth_scrolling.patch --- diff --git a/src/text/fmt/xp/fv_View.cpp b/src/text/fmt/xp/fv_View.cpp index 6952c9b..d4e8da9 100644 --- a/src/text/fmt/xp/fv_View.cpp +++ b/src/text/fmt/xp/fv_View.cpp @@ -14364,6 +14364,8 @@ void FV_View::calculateNumHorizPages() { m_iNumHorizPages = m_pLayout->countPages(); } +/* Debian bug #624095: smooth scrolling enabled, preferences ignored. + * Commenting to leave decision whenever use the smooth scrolling to user. if (m_iNumHorizPages > 1) { XAP_App::getApp()->setEnableSmoothScrolling(false); @@ -14372,6 +14374,7 @@ void FV_View::calculateNumHorizPages() { XAP_App::getApp()->setEnableSmoothScrolling(true); } +*/ if(iOldNo != static_cast(m_iNumHorizPages)) { UT_uint32 iPrevYOffset = m_yScrollOffset;