Cannot disable smooth scrolling
authorThomas Richter <richter@rus.uni-stuttgart.de>
Thu, 4 Dec 2014 22:00:10 +0000 (22:00 +0000)
committerEdward Betts <edward@4angle.com>
Thu, 4 Dec 2014 22:00:10 +0000 (22:00 +0000)
Gbp-Pq: Name 624095-disable_smooth_scrolling.patch

src/text/fmt/xp/fv_View.cpp

index 38cf5cf4c0e5fc3978d16f5a318414d1475b815b..101fadade78db801ef607ebfccee5d13cd173cb8 100644 (file)
@@ -14314,6 +14314,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);
@@ -14322,6 +14324,7 @@ void FV_View::calculateNumHorizPages()
        {
                XAP_App::getApp()->setEnableSmoothScrolling(true);
        }
+*/
        if(iOldNo != static_cast<UT_sint32>(m_iNumHorizPages))
        {
                UT_uint32 iPrevYOffset = m_yScrollOffset;