linuxmint / linuxmint/cinnamon

Freezing when canceling icon or program rearrangement on the task bar

Open
#10,824 4 comments 3 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

System Info

 * Cinnamon version: Cinnamon 5.2.7 - no daily builds
 * Distribution: Linux Mint 20.3 Cinnamon
 * Graphics hardware + driver: NVIDIA Corporation GP104 [GeForce GTX 1070 Ti] - nvidia-driver-510
 * 64 bit

Issue
All UI components freeze and I can't interact with the desktop any more. Can still use my mouse and open the applications menu with the Super key on my Keyboard.

Steps to reproduce
When grabbing and holding a program icon or program on the task bar press the Esc key.

Steps to fix
Hard reset the computer and reboot

Expected behavior
The rearranging process should cancel and the desktop should not freeze.

Configuration info
I have tried to reset my cinnamon configuration as described in #4072 - the issue still persists.

Logs
.xsession-errors

(cinnamon:1499): Cjs-CRITICAL **: 18:54:02.899: JS ERROR: TypeError: this.target is null
_onEvent@/usr/share/cinnamon/js/ui/dnd.js:193:21
wrapper@resource:///org/gnome/gjs/modules/script/_legacy.js:82:27
_getEventHandlerActor/<@/usr/share/cinnamon/js/ui/dnd.js:57:63


(cinnamon:1499): Cjs-CRITICAL **: 18:54:04.294: JS ERROR: TypeError: this.target is null
_onEvent@/usr/share/cinnamon/js/ui/dnd.js:193:21
wrapper@resource:///org/gnome/gjs/modules/script/_legacy.js:82:27
_getEventHandlerActor/<@/usr/share/cinnamon/js/ui/dnd.js:57:63


(cinnamon:1499): Cjs-CRITICAL **: 18:54:04.901: JS ERROR: TypeError: this.target is null
_onEvent@/usr/share/cinnamon/js/ui/dnd.js:193:21
wrapper@resource:///org/gnome/gjs/modules/script/_legacy.js:82:27
_getEventHandlerActor/<@/usr/share/cinnamon/js/ui/dnd.js:57:63

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 by reproducing the task-bar rearrangement cancellation with Esc and inspect the reported dnd.js locations, especially _onEvent at line 193 and _getEventHandlerActor near line 57. The logs consistently report that this.target is null; done means cancelling the rearrangement no longer freezes Cinnamon or produces that error.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 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.