---
title: "Cinnamon: network applet, buttons and window fixes | VulCode"
description: "In the Cinnamon desktop we fixed the network applet after resume, St buttons, the window manager and the account picture picker, in GJS, C and Python."
url: "https://vulcode.com/en/opensource/contributions/cinnamon"
lang: "en"
---

[All contributions](https://vulcode.com/en/opensource/contributions)

linuxmint/cinnamon

# Cinnamon

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

[See the repository](https://github.com/linuxmint/cinnamon) [All contributions](https://vulcode.com/en/opensource/contributions)

- **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](https://github.com/linuxmint/cinnamon/pull/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](https://github.com/linuxmint/cinnamon/pull/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](https://github.com/linuxmint/cinnamon/pull/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](https://github.com/linuxmint/cinnamon/pull/14043)

## Merged changes 4

- [#14054 windowManager.js: Skip windows without a workspace in handleSeen Merged 2 November 2026](https://github.com/linuxmint/cinnamon/pull/14054)

- [#14048 st-button.c: Don't rely on hover state to accept clicks Merged 2 November 2026](https://github.com/linuxmint/cinnamon/pull/14048)

- [#14045 network@cinnamon.org: Don't crash on access points with a null SSID Merged 2 November 2026](https://github.com/linuxmint/cinnamon/pull/14045)

- [#14043 cs_user: Use the scaled face image when choosing a picture from file Merged 2 November 2026](https://github.com/linuxmint/cinnamon/pull/14043)

## 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](https://vulcode.com/en/technologies/typescript-react-and-node)

## Other projects we write code for

- [**Material UI** JavaScript · 99,391 stars A React component library that implements Google's Material Design: ready-made text fields, selects, buttons and other interface elements.](https://vulcode.com/en/opensource/contributions/material-ui)

- [**Grafana** TypeScript · 78,050 stars An open observability and data visualisation platform that shows metrics, logs and traces from Prometheus, Loki, Elasticsearch, PostgreSQL and many other sources on dashboards.](https://vulcode.com/en/opensource/contributions/grafana)

- [**Marked** TypeScript · 37,323 stars A fast Markdown parser and compiler to HTML, written in TypeScript and following CommonMark and GitHub Flavored Markdown.](https://vulcode.com/en/opensource/contributions/marked)

- [**Autoprefixer** JavaScript · 22,197 stars A PostCSS plugin that adds browser prefixes to CSS based on Can I Use data, including the -ms-grid syntax for CSS Grid layouts.](https://vulcode.com/en/opensource/contributions/autoprefixer)

- [**Lichess** TypeScript · 19,013 stars The lichess.org chess server: free, ad-free and open source, focused on real-time play. The back end is written in Scala, the interface in TypeScript.](https://vulcode.com/en/opensource/contributions/lichess)

- [**compromise** JavaScript · 12,176 stars A natural language processing library in JavaScript: it splits text into sentences and words, tags parts of speech, conjugates verbs and inflects nouns, and reads dates through a plugin. It runs in the browser and in Node.js.](https://vulcode.com/en/opensource/contributions/compromise)

## Describe your project.

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

### Rather skip the form?

Ask in the chat or write to us directly.

Open the chat

- **Email**: [hello@vulcode.com](mailto:hello@vulcode.com)
- **Phone**: [+48 576 043 920](tel:+48576043920)
- **Discord**: [discord.gg/vulcode](https://discord.gg/vulcode)
