After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 720295 - Turn off touchscreen when screensaver is on
Turn off touchscreen when screensaver is on
Status: RESOLVED FIXED
Product: gnome-settings-daemon
Classification: Core
Component: power
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gnome-settings-daemon-maint
gnome-settings-daemon-maint
Depends on:
Blocks:
 
 
Reported: 2013-12-12 00:28 UTC by Bastien Nocera
Modified: 2014-10-28 12:54 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
common: Fix possible crash in GsdDeviceMapper (913 bytes, patch)
2014-07-25 22:07 UTC, Bastien Nocera
committed Details | Review
power: Disable touchscreens when turning off its screen (3.58 KB, patch)
2014-07-25 22:07 UTC, Bastien Nocera
committed Details | Review

Description Bastien Nocera 2013-12-12 00:28:24 UTC
When the screen is DPMS'ed, also turn off the touchscreen.
Comment 1 Bastien Nocera 2014-04-28 17:21:09 UTC
We should also do that when disabling outputs, and not just for touchscreens, but also for wacom tablets (such as Cintiqs).
Comment 2 Bastien Nocera 2014-07-25 22:07:21 UTC
Created attachment 281734 [details] [review]
common: Fix possible crash in GsdDeviceMapper

If the input device isn't known to the device mapper (say a keyboard for
example), we'd crash trying to check which output it was attached to.
Comment 3 Bastien Nocera 2014-07-25 22:07:26 UTC
Created attachment 281735 [details] [review]
power: Disable touchscreens when turning off its screen

For example, turning off a tablet's touchscreen when the screenlock
kicks in.
Comment 4 Bastien Nocera 2014-07-26 12:24:59 UTC
The reason why I'm not pushing that is because X.org seems to replay a bunch of touch events when turning the screen back on, leading to very bizarre behaviour.

I can reproduce the problem by doing:
xinput disable 9 ; sleep 5 ; xinput enable 9

With 9 being the device ID for the touchscreen.
Comment 5 Bastien Nocera 2014-07-26 13:48:38 UTC
Filed as https://bugs.freedesktop.org/show_bug.cgi?id=81781
Comment 6 Bastien Nocera 2014-10-21 08:34:56 UTC
Carlos, can you review the patches?
Comment 7 Bastien Nocera 2014-10-28 12:54:24 UTC
Attachment 281734 [details] pushed as 311849e - common: Fix possible crash in GsdDeviceMapper
Attachment 281735 [details] pushed as ab2b808 - power: Disable touchscreens when turning off its screen