linuxmint / linuxmint/cinnamon

Window decorations and panel input intermittently break after Cinnamon restart

Open
#14,005 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Environment

  • Linux Mint Cinnamon
  • X11
  • AMD GPU
  • Cinnamon was restarted with cinnamon --replace

Problem

After some time, window interaction becomes inconsistent. Taskbar icons stop responding to mouse clicks, while the Cinnamon menu and file manager may still work.

The affected applications included:

  • Visual Studio Code
  • GNOME Terminal

The affected windows were unexpectedly restored with invalid or inconsistent states:

  • _NET_WM_STATE_MAXIMIZED_HORZ
  • _NET_WM_STATE_MAXIMIZED_VERT
  • sometimes _NET_WM_STATE_FULLSCREEN

The title-bar buttons (minimize, maximize and close) were missing. Removing the window states with wmctrl restored normal behavior:

wmctrl -r "window title" -b remove,fullscreen
wmctrl -r "window title" -b remove,maximized_vert
wmctrl -r "window title" -b remove,maximized_horz

The issue appeared intermittently and was not caused by the Cinnamon button-layout setting, which was:

:minimize,maximize,close

Expected behavior

Cinnamon should preserve valid window decorations and panel input after restarting Cinnamon or restoring application windows. Maximized windows should not be restored as fullscreen or lose their title-bar controls.

Additional information

The issue was observed with both VS Code and GNOME Terminal, suggesting a possible Cinnamon/Muffin window-state or decoration restoration problem rather than an application-specific issue.

Please investigate whether Cinnamon/Muffin can incorrectly restore maximized/fullscreen window state or lose window decorations after cinnamon --replace.

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 reported Linux Mint Cinnamon/X11 setup, restart Cinnamon with cinnamon --replace, and observe VS Code or GNOME Terminal after panel or window interaction degrades. Use the listed wmctrl state-removal commands as a diagnostic comparison; done means maximized windows retain valid state, title-bar controls, and panel clicks after a restart.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.