maoschanz / maoschanz/drawing

Touchscreen gestures

Open
#73 1 comment 2 reactions 0 assignees View on GitHub
feature request selection smartphone
Dominant language
Python
Stars
869
Forks
106
PR merge metrics
No merged PRs in 30d

Description

## Problem

the compatibility with the librem 5 is very theoric: it's hard to:

- zoom
- change tabs
- drag the selection?
- ~~get the selection menu?~~
- exit full-screen

## Suggested solution

implement support for this https://developer.gnome.org/gtk3/stable/GtkGesture.html

- [ ] change tabs with this https://developer.gnome.org/gtk3/stable/GtkGestureSwipe.html if it doesn't break the normal drawing movement
- [ ] drag with this https://developer.gnome.org/gtk3/stable/GtkGestureDrag.html (same condition)
- ~~[x] get the selection menu~~
- [x] zoom with this https://developer.gnome.org/gtk3/stable/GtkGestureZoom.html (no drawback)
- [ ] rotate with a rotation gesture ?
- [ ] exit full-screen with this https://developer.gnome.org/gtk3/stable/GtkGestureLongPress.html if not already implemented
----

the tablet stylus is the issue #69

Contributor guide

Open the contributing guide

Research direction

No source file or test is named. Start by reviewing the linked GTK Gesture, Swipe, Drag, Zoom, and LongPress documentation, then locate the drawing movement and existing zoom or selection-menu entry points; done means touchscreen gestures support the listed interactions without breaking normal drawing.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
desktop
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.