linuxmint / linuxmint/cinnamon

after restarting Cinnamon (e.g. with a `SIGHUP`) most windows are shifted to the top

Open
#12,510 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

BUG
Dominant language
JavaScript
Stars
5.6k
Forks
915
Avg merge
5d 22h
Merged PRs (30d)
3

Description

Distribution

Debian unstable

Package version

6.2.9-1

Graphics hardware in use

Mesa Intel(R) Graphics (ADL GT2) (0x46a6)

Frequency

Always

Bug description

Hey.

Just a minor issue.

Sometimes (see #12509) I do have to SIGHUP Cinnamon (from the kernel console) after which a popup window asks me whether I want to restart Cinnamon (where I click yes).

After that, most windows are shifted to the top (some, e.g. maxmised ones, partially outside of the screen).

Steps to reproduce
  1. Switch to the kernel console & log in.
  2. # pgrep -a cinnamon
    4726 /usr/lib/x86_64-linux-gnu/cinnamon-session/cinnamon-session-binary --session cinnamon
    4907 cinnamon-launcher
    4953 cinnamon --replace
    5025 cinnamon-killer-daemon
    
  3. Here I SIGHUP the one with --replace, i.e. kill -HUP 4953
  4. Switch back to X.
  5. Click Yes when Cinnamon asks whether it shall restart.
Expected behavior

Windows should ideally stay in the same position/state as they had when Cinnamon "crashed".

Additional information

No response

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 with the Cinnamon process launched with --replace and reproduce the SIGHUP restart sequence from the listed steps. Trace the restart path and window placement behavior, then verify that windows retain their previous positions and states, including maximized windows.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, linux
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.