Skip to content

End session dialog still showing Suspend option despite being locked #13486

@japaneseTemmie

Description

@japaneseTemmie

Distribution

Linux Mint 22.3

Package version

6.6.6

Graphics hardware in use

Intel Iris Xe (ADL GT2)

Frequency

Always

Bug description

When an application does something that 'locks' the Suspend action, (e.g. Discord voice call or Update Manager initialization) the end session dialog (the window showing Suspend, Restart and Shutdown) would still show the Suspend entry. Clicking on it would do nothing, possibly due to a lower level system detecting the suspend 'lock'. Linux Mint 22.2 (Cinnamon 6.4.8) would handle this by simply hiding the option. This bug also causes the end session dialog to simply not show again when requested. (Clicking the power icon in the Menu applet) With the following X session errors:

Gjs-Message: 18:03:34.015: JS LOG: [LookingGlass/warning] End session dialog already exists
Gjs-Message: 18:04:31.674: JS LOG: [LookingGlass/warning] End session dialog already exists

Steps to reproduce

  1. Let an application trigger a Suspend 'lock'
  2. Suspend the system through the dialog menu
  3. Action is not taken
  4. Open power menu again
  5. No window

Expected behavior

Cinnamon should hide the option like it used to.

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions