Bug 293799 - Provide a preference setting to disable "kinetic pan" feature
Summary: Provide a preference setting to disable "kinetic pan" feature
Status: RESOLVED FIXED
Alias: None
Product: marble
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR wishlist
Target Milestone: 1.3 (KDE 4.8)
Assignee: marble-bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-10 20:02 UTC by Vincent de Phily
Modified: 2012-06-03 20:35 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: KDE-4.9.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vincent de Phily 2012-02-10 20:02:49 UTC
Version:           unspecified (using KDE 4.8.0) 
OS:                Linux

Since KDE SC 4.8, marble continues to pan the map "on its own" for a while after the user has initiated the panning by draging the viewport.

I have tried to get used to the new behaviour since 4.8 came out, but it keeps frustrating me. I feel that, on a desktop, that feature is eye-candy detrimental to usability :

* The combination of a mouse (panning+zooming) and a big screen already make it easy to reach the desired location in marble.
* Kinetic paning gets in the way of that efficiency by being hard to use deterministicaly :
  - the duration and speed of the kinetic pan is hard to gauge
  - it is hard to drag the map without causing kinetic pan, so that one has to wait for it to finish or to click the map again (without moving !)
  - viewport is using low-quality rendering until the map has completely stoped, even if the movement is very slow

I do not use small-(touch)screen devices much, but I assume kinetic pan makes more sense on that form-factor. Personal preference and pointing ability surely comes into play too. So I am asking for a preference setting (either boolean or slider) rather than a tweak of the existing feature.

I know preference settings should be added with care. I *wanted* to get used to the new behaviour but haven't suceeded after a few weeks : using marble has become slower (UI, not performance) for me since that feature apeared. I am an OSM contributor and use marble as my primary mean to browse the map.

Reproducible: Always

Steps to Reproduce:
Pan the map using ample movements

Actual Results:  
Paning continues after user input has stoped

Expected Results:  
Perference setting to make paning stop when user input stops
Comment 1 Vincent de Phily 2012-02-10 20:11:45 UTC
See also bug #293801
Comment 2 Dennis Nienhüser 2012-06-03 20:35:47 UTC
Git commit d889c6f5fb825bb0abc3ae058290ec5be232b5d9 by Dennis Nienhüser.
Committed on 03/06/2012 at 22:19.
Pushed by nienhueser into branch 'master'.

Kinetic scrolling can be disabled via the API.

Default is on except for the N900.

To deactivate kinetic scrolling manually, do:
- when using Marble as a library:
  MarbleWidget *marbleWidget = ...
  marbleWidget->inputHandler()->setKineticScrollingEnabled(false);
- when using Marble (KDE version):
  $EDITOR ~/.kde/share/config/marblerc
  Add a new line 'kineticScrolling=false' (no quotes)
- when using Marble (Qt version, also Nokia N900/N950/N9):
  $EDITOR ~/.config/kde.org/"Marble Desktop Globe.conf"
  Scroll down to the [MarbleWidget] section
  Edit 'kineticScrolling=true' to 'kineticScrolling=false' (no quotes)

No user interface for it yet, but adding one in the desktop version
might be useful (in the Navigation settings).
FIXED-IN: KDE-4.9.0

M  +5    -0    src/QtMainWindow.cpp
M  +31   -7    src/lib/MarbleWidgetInputHandler.cpp
M  +9    -0    src/lib/MarbleWidgetInputHandler.h
M  +3    -0    src/marble.kcfg
M  +2    -0    src/marble_part.cpp

http://commits.kde.org/marble/d889c6f5fb825bb0abc3ae058290ec5be232b5d9