Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Konsole Konsole
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1
    • Issues 1
    • List
    • Boards
    • Service Desk
    • Milestones
  • Bugzilla
    • Bugzilla
  • Merge requests 33
    • Merge requests 33
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Utilities
  • KonsoleKonsole
  • Merge requests
  • !318

Closed
Created Jan 01, 2021 by Henry Heino@personalizedrefrigeratorContributor
  • Report abuse
Report abuse

Better Touchscreen Support

  • Overview 40
  • Commits 20
  • Changes 17

Description

This PR adds support for gestures. Allows touchscreen input to move the cursor, scroll, select, and open the context menu.

Gestures

  • When scrolled to the end of output (or mouse-tracking enabled),
    • Two-finger right-swipe: Tab
    • Two-finger left-swipe: Escape
    • Single-finger pan: Arrow keys
  • Not scrolled to the end,
    • Vertical, single-finger pan: Scroll up and down
    • Horizontal, single-finger pan: Select
  • Any scroll,
    • Two-finger pan: Vertical scroll
    • Long tap: Right click
    • Short, 1-finger tap: Left click
    • Short, 3-finger tap: Middle click
    • Short tap, drag: Left-button down, move, end mouse event.

To-do

  • Tests
  • Kinetic scrolling
  • Drag and drop on long tap -> drag
  • Dolphin-like right-click indicator

Screencasts

screengrab

screengrab

screengrab

Notes

  • Initially, I tried to use QGestureRecognizer. Unfortunately, it only recognized two-finger gestures.
  • It might be helpful to compare this PR to this PR that improved touch support in Dolphin.
  • The code is currently somewhat messy...

BUG: 437553

Edited May 26, 2021 by Nate Graham
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: master