All contributions

linuxmint/cinnamon

Cinnamon

A Linux desktop environment developed by the Linux Mint team, with a traditional panel and menu layout.

Language
JavaScript
GitHub stars
5,668
Merged changes
4

What we changed

We fixed four bugs across the layers of the desktop: a network applet that crashed after waking from sleep, a dialog button that ignored clicks, an error when switching workspaces, and an account picture that did not change when a large file was chosen.

What this work shows

  • GJS desktop code
  • Mouse events in the Clutter and St interface libraries
  • NetworkManager integration
  • AccountsService account pictures
What was broken

The network applet crashed after resume

After resume, NetworkManager can leave an access point with a null SSID in an existing network group. NMNetworkMenuItem took its label from the strongest access point's SSID, so _createSection threw halfway through rebuilding the menu and left menu items and signal handlers connected. In the reported case the desktop stayed black until Cinnamon was killed by hand.

How we fixed it

The name comes from the network group

Network items now take their name from the SSID stored on the network group, which the submenu title already used. The labels are unchanged, and rebuilding the menu no longer depends on a live access point having an SSID.

#14045

What was broken

A button ignored clicks

Pressing a button in a dialog, dragging onto another one and releasing left the second button with a stale hover state. It ignored clicks until the pointer left it and came back.

How we fixed it

Clicks checked against the event source

In st_button_button_release() a click is accepted when the source of the release event lies inside the button, which clutter_actor_contains() checks. GNOME Shell uses the same fix.

#14048

What was broken

Switching workspaces threw a TypeError

An unmanaged window can still have a window actor, for example during the destroy effect, while get_workspace() returns null for it. handleSeen in windowManager.js then threw a TypeError on workspace switch and stopped the loop for the other windows.

How we fixed it

Windows without a workspace are skipped

handleSeen checks that the window has a workspace before reading its index. A window without one is skipped, and the loop moves on to the remaining windows.

#14054

What was broken

A large picture did not change the avatar

Browse for more pictures in the account settings saved a scaled copy to ~/.face but passed the original file to AccountsService. AccountsService refuses icon files larger than 1 MB, so large pictures were silently ignored and the menu kept the old avatar.

How we fixed it

AccountsService gets the scaled file

Settings now pass the scaled ~/.face to AccountsService and to the preview, just as the camera path already did.

#14043

Merged changes 4

  1. #14054 windowManager.js: Skip windows without a workspace in handleSeen Merged 2 November 2026
  2. #14048 st-button.c: Don't rely on hover state to accept clicks Merged 2 November 2026
  3. #14045 network@cinnamon.org: Don't crash on access points with a null SSID Merged 2 November 2026
  4. #14043 cs_user: Use the scaled face image when choosing a picture from file Merged 2 November 2026

What it taught us

In a codebase written in JavaScript (GJS), C and Python at once, a bug has to be traced through NetworkManager, Clutter and AccountsService before anything is changed. Only then is a small, targeted fix enough.

More about this technology: TypeScript, React and Node

Other projects we write code for

Describe your project.

A free quote comes back within an hour during working hours.