Skip to content
Commit 603fd1e1 authored by Steffen Hartleib's avatar Steffen Hartleib Committed by Nate Graham
Browse files

Touch support for Gwenview

Summary:
Add touch support for Gwenview. At moment one finger scrolling, pinch gesture for zoom and rotate and one finger
swipe gesture to go to next or previous image is working with some little issue.

It is my first time I am modify the source code, so if I make same mistake please let me now.

CCBUG: 378021

Test Plan:
Browse mode
===========
* test, if mouse and touchpad working as previously: scrolling, selection and drag and drop

all follow tests with touchscreen:
    * on finger scrolling, test if uwanted drag events or selection events occur
    * two finger scrolling, test if uwanted drag events or selection events occur
    * test drag and drop action (need a TabAndHold gesture before moving the touch point)
    * pinch gesture for zoom, check sensitive and unwanted behavior
    * check double touch, if system setting is set to: open file or directory with a double click

View Mode
=========
* test, if mouse and touchpad working as previously: scrolling, selection and drag and drop

all follow tests with touchscreen:
    * one finger panning, check if unwanted drag events or image modifying events (zoom/rotate) occur
    * two finger panning, check if unwanted drag events or image modifying events (zoom/rotate) occur
    * one finger swipe gesture, check if unwanted drag events or image modifying events (zoom/rotate) occur
    * two finger swipe gesture, check if unwanted drag events or image modifying events (zoom/rotate) occur
    * pinch gesture for zoom and rotate, check sensitive and unwanted behavior
    * drag and drop action (need a TabAndHold gesture before moving the touch point)
    * test double touch to toggle between view mode and fullscreen mode.

Thumbnail bar in view Mode:
===========================
* test, if mouse and touchpad working as previously: scrolling, selection and drag and drop

all follow tests with touchscreen:
    * one finger scrolling, check if unwanted drag events or image modifying events (zoom/rotate) occur
    * two finger scrolling, test if uwanted drag events or selection events occur
    * drag and drop action (need a TabAndHold gesture before moving the touch point)

Fullscreen Mode
===============
* test, if mouse and touchpad working as previously: scrolling, selection and drag and drop

all follow tests with touchscreen:
    * one finger panning, check if unwanted drag events or image modifying events (zoom/rotate) occur
    * two finger panning,  check if unwanted drag events or image modifying events (zoom/rotate) occur
    * one finger swipe gesture, check if unwanted drag events or image modifying events (zoom/rotate) occur
    * two finger swipe gesture, check if unwanted drag events or image modifying events (zoom/rotate) occur
    * pinch gesture for zoom and rotate, check sensitive and unwanted behavior
    * drag and drop action (need a TabAndHold gesture before moving the touch point)
    * check if you get access to the fullscreen thumbnail bar on the top screen border

Thumbnail bar in fullscreen Mode:
===========================
* test, if mouse and touchpad working as previously: scrolling, selection and drag and drop

all follow tests with touchscreen:
    * one finger scrolling, check if unwanted drag events or image modifying events (zoom/rotate) occur
    * two finger scrolling, check if unwanted drag events or image modifying events (zoom/rotate) occur
    * drag and drop action (need a TabAndHold gesture before moving the touch point)

Reviewers: #gwenview, ngraham, muhlenpfordt

Reviewed By: #gwenview, ngraham

Subscribers: volkov, asturmlechner, sander, ngraham, rkflx

Tags: #gwenview

Differential Revision: https://phabricator.kde.org/D13901
parent a6165da5
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment