linuxmint / linuxmint/cinnamon-session

cinnamon-session-quit : Missing "Sleep" button when sleep inhibited

Open
#163 1 comment 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
31
Forks
41
PR merge metrics
No merged PRs in 30d

Description

On Mint 21.3 64 bit with cinnamon-session 6.0.1

Issue

With any program inhibiting sleep running (like Rhythmbox playing a track), the "Sleep" button is now missing from the dialog.
image

This makes it hard to put a PC to sleep with an unknown program inhibiting sleep.

Steps to reproduce

Play a song with Rhythmbox, click on "Shutdown" in Cinnamon menu.

Expected behaviour

Mint 21.2 displayed a popup listing the apps preventing the PC from going to sleep, and offered options.

Other information

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue on Mint 21.3 with a program such as Rhythmbox inhibiting sleep, then trace the cinnamon-session shutdown dialog and its sleep-inhibition handling. Compare the behavior with Mint 21.2. Done means the Sleep option remains available and the dialog presents the programs preventing sleep, as expected.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
desktop-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.