File: 624095-disable_smooth_scrolling.patch

package info (click to toggle)
abiword 3.0.7~dfsg-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 64,700 kB
  • sloc: cpp: 477,933; ansic: 16,754; makefile: 5,834; xml: 3,993; yacc: 1,818; lex: 1,104; perl: 812; python: 413; php: 183; sh: 169
file content (29 lines) | stat: -rw-r--r-- 1,043 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
Description: Disable smooth scrolling
 Comment out code enabling smooth scrolling disregarding preferences
 to leave decision whenever use the smooth scrolling or not to user.
Author: Thomas Richter <richter@rus.uni-stuttgart.de>
Reviewed-by: Dmitry Smirnov <onlyjob@member.fsf.org>
Origin: other, https://bugs.debian.org/624095
Bug-Debian: https://bugs.debian.org/624095
Last-Update: 2020-06-05
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/src/text/fmt/xp/fv_View.cpp
+++ b/src/text/fmt/xp/fv_View.cpp
@@ -14363,6 +14363,8 @@
 	{
 		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);
@@ -14371,6 +14373,7 @@
 	{
 		XAP_App::getApp()->setEnableSmoothScrolling(true);
 	}
+*/
 	if(iOldNo != static_cast<UT_sint32>(m_iNumHorizPages))
 	{
 		UT_uint32 iPrevYOffset = m_yScrollOffset;