Cannot disable smooth scrolling
authorThomas Richter <richter@rus.uni-stuttgart.de>
Fri, 26 Jul 2019 19:02:13 +0000 (20:02 +0100)
committerPeter Michael Green <plugwash@raspbian.org>
Fri, 26 Jul 2019 19:02:13 +0000 (20:02 +0100)
Gbp-Pq: Name 624095-disable_smooth_scrolling.patch

src/text/fmt/xp/fv_View.cpp

index 46b6cb624ce83fa5cb46124a3719da82ce2db40c..cf32881a110e6459799d91a9aeb79e2fb221e520 100644 (file)
@@ -14357,6 +14357,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);
@@ -14365,6 +14367,7 @@ void FV_View::calculateNumHorizPages()
        {
                XAP_App::getApp()->setEnableSmoothScrolling(true);
        }
+*/
        if(iOldNo != static_cast<UT_sint32>(m_iNumHorizPages))
        {
                UT_uint32 iPrevYOffset = m_yScrollOffset;