linuxmint / linuxmint/cinnamon

Network State Changes Degrade and Break UI Requiring --replace

Open
#13,096 7 comments 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

Arch

Package version

6.4.10

Graphics hardware in use

Intel Xe/NV4090

Frequency

Always

Bug description

Integration of network manager into cinnamon appears to be unstable - switching wireless networks, connecting to and disconnect from VPNs, and stability after any of these events suffer to include black screens and UI lockups requiring cinnamon --replace invocation in a screen session to restore most of the functionality (visual artifacts occur when doing this but at least its usable). The screen session's log outputs are numerous and concerning but the most common messages around the times of the lockups look like:

(cinnamon:1390245): Gjs-CRITICAL **: 06:45:56.515: JS ERROR: TypeError: apObj.item.updateAccessPoints is not a function
_accessPointRemoved@/usr/share/cinnamon/applets/network@cinnamon.org/applet.js:1478:24

(cinnamon:1390245): Gjs-CRITICAL **: 06:45:56.517: JS ERROR: TypeError: apObj.item.updateAccessPoints is not a function
_accessPointRemoved@/usr/share/cinnamon/applets/network@cinnamon.org/applet.js:1478:24

(cinnamon:1390245): Gjs-CRITICAL **: 06:46:51.129: JS ERROR: TypeError: apObj.item.updateAccessPoints is not a function
_accessPointAdded@/usr/share/cinnamon/applets/network@cinnamon.org/applet.js:1364:28

(cinnamon:1390245): Gjs-CRITICAL **: 06:51:06.818: JS ERROR: TypeError: apObj.item.updateAccessPoints is not a function
_accessPointRemoved@/usr/share/cinnamon/applets/network@cinnamon.org/applet.js:1478:24

(cinnamon:1390245): Gjs-CRITICAL **: 06:51:56.061: JS ERROR: TypeError: apObj.item.updateAccessPoints is not a function
_accessPointAdded@/usr/share/cinnamon/applets/network@cinnamon.org/applet.js:1364:28

Steps to reproduce

Change network connections - starting a client VPN session seems a pretty good reproducer. With Open VPN the packages are:

networkmanager-openvpn 1.12.3-1
networkmanager-vpn-plugin-openvpn 1.12.3-1
Expected behavior

Stable runtime operation

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 in applet.js around lines 1364 and 1478, where the reported updateAccessPoints errors occur. Reproduce the problem by changing network connections, especially with an OpenVPN client session, and inspect the Cinnamon log output. Done means network changes no longer produce these errors, black screens, or UI lockups requiring cinnamon --replace.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.