Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
Okular
Okular
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 7
    • Issues 7
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 32
    • Merge Requests 32
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Graphics
  • OkularOkular
  • Merge Requests
  • !50

Merged
Opened Oct 07, 2019 by kezi olio@kezikContributor

Add kinetic / inertial scrolling (mouse and touchscreen) + smooth navigation with cursor keys

  • Overview 54
  • Commits 23
  • Pipelines 46
  • Changes 5

2019-10-07_00-48-34

Hi,

I added kinetic / inertial scrolling to ease the use of Okular on touchscreen devices, using Qt's QScroller. I think it's much nicer even for mouse usage, it may seem to scroll "too much", but, after reducing the length of the scroll, I saw that using the default (as Qt docs suggests) gives the best impression, and it's easier to navigate long documents.

I left the "mouse cursor wraps when going at the edge of the screen" mechanism intact, but if you want it can be removed since now it's way less painful to scroll a long document.

Also, I made it so that there is a nice animation when using the up / down keys to navigate the document, instead of having discrete steps.

Overall there are no (voluntary) regressions and I tested everything to be reasonably bug-free.

FEATURE: 413989

FIXED-IN: 1.10.0

Edited Nov 12, 2019 by Nate Graham
Assignee
Assign to
Reviewer
Request review from
None
Milestone
None
Assign milestone
Time tracking
Reference: graphics/okular!50
Source branch: master