Suspend process is interrupted by ALT key

Bug #1839016 reported by cktenn
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OEM Priority Project
New
Medium
Unassigned
Bionic
New
Undecided
Unassigned
gnome-shell (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

When trying to suspend the system via pressing the power button in the system tray with ALT key pressed, it is possible to interrupt the system to enter sleep mode and fall back to screen lock. While trying to unlock the screen, the system goes to sleep immediately.

Gnome-shell is able to suspend the system by drop-down menu in the system tray. By pressing ALT key or long-press the power button until it switches to suspend icon. The system will suspend if it is by the long-press power button, while with ALT key pressed, there is a failure rate that causes the suspend process to be interrupted.

The second issue is that if the suspend process is interrupted, the locked screen is shown. While trying to unlock the screen by inputting password, the system will go sleeping after that.

STEPS TO REPRODUCE:
1. To suspend system via pressing the power button in the drop-down system tray with ALT key pressed.
2. During system is going to sleep, e.g., screen going dark, emulate a key bounce by pressing ALT key again.

RESULTS:
The locked screen shows up and goes to sleep after tens of seconds. While trying to unlock screen, system enter suspend after unlocking successfully.

EXPECTED RESULTS:
The system going to sleep without a problem.

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: gnome-shell 3.28.4-0ubuntu18.04.1

cktenn (cktenn)
no longer affects: gnome-shell
tags: added: originate-from-1838504
cktenn (cktenn)
affects: gnome-shell → oem-priority
Changed in oem-priority:
importance: Undecided → Medium
importance: Medium → High
assignee: nobody → Che Cheng (cktenn)
cktenn (cktenn)
description: updated
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

I'm not familiar with the code that does suspension so suggest:

1. Verify the bug is still in Ubuntu 19.04/19.10.

2. If so then please report it to the upstream developers at:

   https://gitlab.gnome.org/GNOME/gnome-shell/issues

   and then tell us the new bug ID.

tags: added: bionic
Changed in gnome-shell (Ubuntu):
status: New → Incomplete
Revision history for this message
cktenn (cktenn) wrote :

The issue cannot be reproduced on 19.10 daily (2019-10-14).

GNOME Shell 3.34.1
When trying to reproduce the issue by pressing a key repeatedly after pressing the suspend button, the locked screen will show for a short period of time (less than 2 seconds), then the system keeps going to sleep.

I think gnome-shell 3.34.1 do fix this, need to find out how to fix in bionic.

Changed in gnome-shell (Ubuntu):
status: Incomplete → Fix Released
Chih-Hsyuan Ho (chih)
summary: - Suspend is iterrupted by ALT key
+ Suspend process is interrupted by ALT key
Rex Tsai (chihchun)
Changed in oem-priority:
importance: High → Medium
assignee: Che Cheng (cktenn) → nobody
Revision history for this message
Jerry Kao (jerry.kao) wrote :

I can see the symptom on XPS13 9380 with 19.04, gnome-shell 3.32.2

Revision history for this message
Rex Tsai (chihchun) wrote :

The upstream is working on the new UI with suspend function, which has passed the design review. The merge propose is still under review, and not been landed yet, need to keep an eye on it to see if it can make it for focal.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/764

Rex Tsai (chihchun)
tags: added: oem-priority
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.