Bug 493949

Summary: Double Tap to wake wakes phone up in pocket
Product: [Plasma] plasma-mobile Reporter: brisk.wing4197
Component: ShellAssignee: Plasma Mobile Bugs <plasma-mobile-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: brisk.wing4197, carl, florian.richer
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: postmarketOS   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 6.5
Sentry Crash Report:

Description brisk.wing4197 2024-10-02 03:50:43 UTC
SUMMARY

Plasma Mobile seems to always enable double tap to wake. This means a user can double tap the screen when the screen is off, but the device isn't in deep sleep, to wake up the device.

The problem is that double tap to wake can not be disabled and that it activates when the phone is in a users pocket

STEPS TO REPRODUCE
1. Install Plasma Mobile on a device
2. Put the device to sleep (ensure deep sleep/suspend is disabled or on a longer timeout)
3. Double tap the screen to wake up the device
4. Put device back to sleep
5. Put device in your pocket and check in a few minutes, the device will be awake from a double tap event

OBSERVED RESULT

The device wakes up in a pocket

EXPECTED RESULT

For the device to not wake up in a pocket. So either avoid double tap to wake based on light input, or at least allow users to disable the feature.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: 
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Florian RICHER 2025-06-13 07:41:32 UTC
Same as https://invent.kde.org/teams/plasma-mobile/issues/-/issues/90
Comment 2 Florian RICHER 2025-07-20 11:45:46 UTC
In plasma 6.5:

- Option added to "disable double tap to wake up" in Settings -> Shell
- Proximity Sensors added in QT and DPMS don't wake up if proximity sensor is active.

Merge requests:
- https://invent.kde.org/plasma/plasma-mobile/-/merge_requests/761
- https://codereview.qt-project.org/c/qt/qtsensors/+/579214
- https://invent.kde.org/plasma/kwin/-/merge_requests/7843