Bug 352173 - Tapping on a touchscreen is not registered as clicks
Summary: Tapping on a touchscreen is not registered as clicks
Status: RESOLVED UPSTREAM
Alias: None
Product: plasmashell
Classification: Plasma
Component: general (show other bugs)
Version: 5.3.2
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: 1.0
Assignee: David Edmundson
URL:
Keywords:
Depends on:
Blocks: 353964
  Show dependency treegraph
 
Reported: 2015-09-02 18:48 UTC by Fahad Alduraibi
Modified: 2015-11-25 14:08 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 Fahad Alduraibi 2015-09-02 18:48:36 UTC
Tapping on plasma panels is not getting registered as clicks and I think all new KF5/Plasma5 apps (such as Kwrite, Konsole) have the same problem, while apps that are not ported yet like Dolphin and Apper still works.

Note: Using xev it looks like screen taps are sent like normal button press & release, but it seems like KF5, plasma5 or Qt5 does distinguish between the two!

Output from xev:
--------
ButtonPress event, serial 40, synthetic NO, window 0x2a00001,
    root 0xd6, subw 0x0, time 6149689, (164,167), root:(1098,349),
    state 0x10, button 1, same_screen YES

ButtonRelease event, serial 40, synthetic NO, window 0x2a00001,
    root 0xd6, subw 0x0, time 6149761, (164,167), root:(1098,349),
    state 0x110, button 1, same_screen YES
------

Reproducible: Always

Steps to Reproduce:
1. Run for example KWrite
2. Tap on "Open" button


Actual Results:  
 The button will have the blue highlight around it but won't open the OpenFile dialog (it reacts to it as a mouse hover only)

Expected Results:  
The tap should be handled as a click
Comment 1 David Edmundson 2015-09-02 21:02:13 UTC
KWrite and Konsole are not part of the Plasmashell so we can't do much here. Sorry

In any case your problem is with Qt.
Comment 2 Fahad Alduraibi 2015-09-09 16:51:25 UTC
Thank you David, btw, I mentioned KWrite and Konsole because they are experiencing the same behaviour as plasma, which is clear to me now since they are using Qt5.

I searched in Qt bug reports and found this, which I believe is related to the issue: https://bugreports.qt.io/browse/QTBUG-46142
Comment 3 David Edmundson 2015-09-09 16:55:37 UTC
Thanks for finding that and reporting back, useful to know.
Comment 4 Fahad Alduraibi 2015-11-25 14:08:31 UTC
The problem got fix, however, it will only be applied to Qt 5.6+, since there is no more development in the 5.5 branch

Patch: https://codereview.qt-project.org/#/c/125718/