Page 1 of 1

Gestures on Panel

Posted: Sun Jan 27, 2019 7:38 pm
by brunoisa10
Is it possible to add double fingers swipe on Panels ? Up, Down, Left, Right
On Folder too

Currently there is Tap or Double Tap only

Re: Gestures on Panel

Posted: Mon Jan 28, 2019 8:51 am
by Pierrot
To tell the truth, I don't remember why this is not enabled on panels nor folders (more generally sub containers). I think there's an important issue, but I will have a closer look at this.

Re: Gestures on Panel

Posted: Mon Jan 28, 2019 10:46 am
by brunoisa10
I agree about normal slide as it would change the normal behaviour.
but not double slide, so I think you can enable it there.

while you'll enable I've set to all items now :D lol

Re: Gestures on Panel

Posted: Mon Jan 28, 2019 12:43 pm
by TrianguloY
Indeed. One finger scroll on panels can be problematic. What if the parent can scroll? What if the parent can't scroll but have a different event set?
Maybe with the new propagation of scrolling to parents this can be better defined. Still on folders that shouldn't be a problem (but you can use a folder as a panel so...).

About double swipe gestures, the problem maybe is: what if one finger is on a panel, and the other isn't? (Or is in another panel).
[Wait, what happens now? I need to test!]

Re: Gestures on Panel

Posted: Mon Jan 28, 2019 5:30 pm
by brunoisa10
Only double fingers swipe asked here.
I know single finger is not possible.

Edit:
Tested and in case of 1 finger out and 1 finger in it's the 2 fingers events on the desktop currently : I don't see any issue with that behaviour

Re: Gestures on Panel

Posted: Tue Jan 29, 2019 3:00 pm
by TrianguloY
I tested it too.
A soon as two fingers are on the screen, the desktop handles them. Either for events or for zoom. Maybe that's the reason they were disabled, because if the panel handles them, zoom on the desktop won't work.
(Note that zoom doesn't work on panels).

The behaviour could be defined so that when the two fingers are on the same container, that container handles them. And if they are on different containers, either traverse the hierarchy to find the first common container, or directly default to the desktop/folder.

Re: Gestures on Panel

Posted: Tue Jan 29, 2019 9:02 pm
by brunoisa10
So what ?
I've set slide on the items inside the panel and it works well. Please @Pierrot enable it on Panel and Folder events.
With a settings by default not allowing it.