Unblank can be slow when a sensor is still claimed (or monitor-sensor is running)
To reproduce (on current main):
- set the screen to lock past blank (e.g. 30s later)
- Disable automatic rotation
- With unlocked shell press the power button to blank and unblank in quick succession: screen blanks/unblanks quickly (as expected)
- Enable automatic rotation
- With unlocked shell press the power button to blank and unblank. It blanks quickly but takes several seconds to unblank
As a variation: disable automatic rotation but run monitor-sensors in a terminal. It then doesn't matter if the screen is locked (which unbinds the sensor). Unblank always takes a couple of seconds.
This is mitigated by !1227 (merged) but I'm not yet certain what is causing the delay.
Edited by Guido Günther