[kwin] [Bug 370323] Auto-hide is broken for touch screens

2017-03-27 Thread Martin Gräßlin
https://bugs.kde.org/show_bug.cgi?id=370323

Martin Gräßlin  changed:

   What|Removed |Added

  Latest Commit||https://commits.kde.org/kwi
   ||n/aa6c8f81168e4f89c67b9e880
   ||65aee675e306d1a
 Resolution|--- |FIXED
 Status|REOPENED|RESOLVED

--- Comment #6 from Martin Gräßlin  ---
Git commit aa6c8f81168e4f89c67b9e88065aee675e306d1a by Martin Gräßlin.
Committed on 27/03/2017 at 15:44.
Pushed by graesslin into branch 'master'.

Add support for activating screenedges through touch swipe gestures

Summary:
Each Edge creates a SwipeGesture for touch activation. The swipe needs to
be a single finger starting from the edge into the screen for at least
20 %. The SwipeGesture and GestureRecognizer is extended to support the
use cases of the touch screen edge swipe.

New features supported by the gesture system are:
 * minimum and maximum position
 * a minimum delta for the swipe
 * progress signal based on the minimum delta
 * starting a swipe with a start point

The Edge has the progress signal connected to its approach signal, thus
visual feedback is provided through the screen edge effect.

The screen edge system supports touch only for the edges (corners are
too difficult to activate on touch screens). At the moment the following
features are supported:
 * screen edge show/raise of windows (e.g. auto hidden panels)
 * trigger the configured action
 * trigger the configured callback function (e.g. script)

In future it might make sense to add a touch specific configuration
action to support different actions for screen edges activated by mouse
and touch.

Test Plan:
configured a screen edge and triggered through touch,
added an auto-hiding panel and triggered through touch

Reviewers: #kwin, #plasma_on_wayland

Subscribers: plasma-devel

Tags: #plasma_on_wayland

Differential Revision: https://phabricator.kde.org/D5106

M  +1-0autotests/CMakeLists.txt
M  +234  -1autotests/test_gestures.cpp
M  +67   -3gestures.cpp
M  +87   -1gestures.h
M  +41   -0input.cpp
M  +2-2plugins/platforms/x11/standalone/edge.cpp
M  +2-2plugins/platforms/x11/standalone/edge.h
M  +67   -0screenedge.cpp
M  +12   -7screenedge.h

https://commits.kde.org/kwin/aa6c8f81168e4f89c67b9e88065aee675e306d1a

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 370323] Auto-hide is broken for touch screens

2016-10-10 Thread Simon Andric via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=370323

Simon Andric  changed:

   What|Removed |Added

 CC||simonandr...@gmail.com

-- 
You are receiving this mail because:
You are watching all bug changes.


[kwin] [Bug 370323] Auto-hide is broken for touch screens

2016-10-10 Thread Aleix Pol via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=370323

Aleix Pol  changed:

   What|Removed |Added

  Flags||Usability+

--- Comment #5 from Aleix Pol  ---
I'm on it.

-- 
You are receiving this mail because:
You are watching all bug changes.


[kwin] [Bug 370323] Auto-hide is broken for touch screens

2016-10-10 Thread Martin Gräßlin via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=370323

--- Comment #4 from Martin Gräßlin  ---
Then please nag the VDG to come up with a proposal. I cannot implement this
without any instructions on how to do it. Sorry.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 370323] Auto-hide is broken for touch screens

2016-10-10 Thread Aleix Pol via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=370323

Aleix Pol  changed:

   What|Removed |Added

 Resolution|LATER   |---
 Status|RESOLVED|REOPENED
 Ever confirmed|0   |1

--- Comment #3 from Aleix Pol  ---
I don't think we can simply ignore the issue because it's something that was
discussed over 1 year ago and no conclusion was extracted.

In fact, reading the forum thread it's quite clear that edge swipe is something
that keeps being mentioned.

-- 
You are receiving this mail because:
You are watching all bug changes.


[kwin] [Bug 370323] Auto-hide is broken for touch screens

2016-10-09 Thread Martin Gräßlin via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=370323

Martin Gräßlin  changed:

   What|Removed |Added

 Resolution|--- |LATER
 Status|UNCONFIRMED |RESOLVED
  Component|general |core

--- Comment #2 from Martin Gräßlin  ---
There's not much we can do here. KWin on X11 is not supporting any touch events
and on Wayland we are still blocked by the Visual Design Group. I requested the
VDG to come up with a proposal on how to handle global touch gestures quite
some time ago and they haven't come up with a plan yet. See
https://forum.kde.org/viewtopic.php?f=285=125570

As long as there is no plan on what our touch gestures are supposed to do and
how to look like, we cannot implement them. Setting to resolved later as there
is just nothing we can do while we are blocked.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 370323] Auto-hide is broken for touch screens

2016-10-09 Thread Kai Uwe Broulik via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=370323

Kai Uwe Broulik  changed:

   What|Removed |Added

  Component|Panel   |general
Product|plasmashell |kwin
 CC||k...@privat.broulik.de
   Assignee|plasma-b...@kde.org |kwin-bugs-n...@kde.org
   Target Milestone|1.0 |---

--- Comment #1 from Kai Uwe Broulik  ---
KWin does the autohide stuff, re-assigning

-- 
You are receiving this mail because:
You are watching all bug changes.