Bug 385069 - Touch screen swipe gestures drag the window instead scroll its content
Summary: Touch screen swipe gestures drag the window instead scroll its content
Status: RESOLVED DUPLICATE of bug 385066
Alias: None
Product: Breeze
Classification: Plasma
Component: QStyle (show other bugs)
Version: 5.10.95
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Hugo Pereira Da Costa
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-25 22:17 UTC by Patrick Silva
Modified: 2017-10-02 03:34 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Silva 2017-09-25 22:17:37 UTC
Unless the touch event is on the window decoration, I think that the correct/expected behavior is scroll the content, not drag the window.
Comment 1 Hugo Pereira Da Costa 2017-09-26 07:24:45 UTC
hello,
Thanks for reporting the issue !

How window should behave by default is a matter of perspective, and was heavily discussed (admittedly, only in the context of using a mouse). 
In any case, there is an option to select how window should behave 
system settings -> application style -> widget style -> config -> windows' drag mode. 
Tell me if just changing this setting is enough for you 

Best,

Hugo
Comment 2 Patrick Silva 2017-09-26 14:17:22 UTC
Thank you Hugo.

I tested the two other available options, both gave me the same result:
the window (dolphin and system settings, for example) is not dragged, but scrolling does not work.
Comment 3 Hugo Pereira Da Costa 2017-09-26 16:30:30 UTC
(In reply to Dr. Chapatin from comment #2)
> Thank you Hugo.
> 
> I tested the two other available options, both gave me the same result:
> the window (dolphin and system settings, for example) is not dragged, but
> scrolling does not work.

mm but scrolling issue is unrelated to the original issue (the swipe). Or do I miss something ? 
Does it work with other widget styles ? (fusion ? Plastique ?)
Comment 4 Hugo Pereira Da Costa 2017-09-26 16:31:58 UTC
(In reply to Hugo Pereira Da Costa from comment #3)
> (In reply to Dr. Chapatin from comment #2)
> > Thank you Hugo.
> > 
> > I tested the two other available options, both gave me the same result:
> > the window (dolphin and system settings, for example) is not dragged, but
> > scrolling does not work.
> 
> mm but scrolling issue is unrelated to the original issue (the swipe). Or do
> I miss something ? 
> Does it work with other widget styles ? (fusion ? Plastique ?)

What I mean is that scrolling by swiping must actually be supported at the application level, in order to work, and is unrelated to the widget style.
But maybe I miss the poitn.
Comment 5 Patrick Silva 2017-09-26 17:01:08 UTC
Fusion gives me the same result and plastique is not available on my system.

The point is that the expected behavior (scrolling) does not happen when I use swipe gestures. I will open new reports for some affected apps.
Change the current annoying behavior (drag) is enough for me for now.
Comment 6 Nate Graham 2017-10-02 03:34:31 UTC
This is basically a duplicate of the other bug you filed: https://bugs.kde.org/show_bug.cgi?id=385066

And yes, I agree that touch swipes need to be supported here.

*** This bug has been marked as a duplicate of bug 385066 ***