xapp_kbd_layout_controller_get_current_group assertion fails
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- arch-linux, c, javascript, linux
- Domain
- desktop, operating-systems
Research direction
Start by tracing xapp_kbd_layout_controller_get_current_group and the keyboard applet's _syncGroup calls in applet.js:265-269, using the reported .xsession-error output as the reproduction context. Determine why the controller becomes disabled and verify that the applet and layout-switching shortcut remain usable without assertion or undefined-item errors.
Written by the indexing model from the issue text.
Description
Hi there,
at a seemingly random point during the Cinnamon session the keyboard layout applet disappears and cannot be loaded anymore. The keyboard shortcut to switch between layouts stops working too.
I think this is due to something going wrong in xapp-kbd-layout-controller.
Here's some suspicious error log in .xsession-error:
Cjs-Message: 19:13:16.380: JS LOG: Unknown network device type, is 14
Cjs-Message: 19:13:16.392: JS LOG: Unknown network device type, is 13
Cjs-Message: 19:13:16.392: JS LOG: Unknown network device type, is 13
Cinnamon warning: Log level 8: xapp_kbd_layout_controller_get_current_group: assertion 'controller->priv->enabled' failed
(cinnamon:1043): Cjs-WARNING **: 19:13:45.953: JS ERROR: TypeError: item is undefined
_syncGroup@/usr/share/cinnamon/applets/keyboard@cinnamon.org/applet.js:265:9
Cinnamon warning: Log level 8: xapp_kbd_layout_controller_get_current_group: assertion 'controller->priv->enabled' failed
(cinnamon:1043): Cjs-WARNING **: 19:13:45.954: JS ERROR: TypeError: item is undefined
_syncGroup@/usr/share/cinnamon/applets/keyboard@cinnamon.org/applet.js:265:9
Cinnamon warning: Log level 8: xapp_kbd_layout_controller_get_current_group: assertion 'controller->priv->enabled' failed
(cinnamon:1043): Cjs-WARNING **: 19:13:45.954: JS ERROR: TypeError: item is undefined
_syncGroup@/usr/share/cinnamon/applets/keyboard@cinnamon.org/applet.js:265:9
Cinnamon warning: Log level 8: xapp_kbd_layout_controller_get_current_group: assertion 'controller->priv->enabled' failed
(cinnamon:1043): Cjs-WARNING **: 19:13:45.954: JS ERROR: TypeError: item is undefined
_syncGroup@/usr/share/cinnamon/applets/keyboard@cinnamon.org/applet.js:269:9
Cinnamon warning: Log level 8: xapp_kbd_layout_controller_get_current_group: assertion 'controller->priv->enabled' failed
(cinnamon:1043): Cjs-WARNING **: 19:13:45.954: JS ERROR: TypeError: item is undefined
_syncGroup@/usr/share/cinnamon/applets/keyboard@cinnamon.org/applet.js:269:9
(cinnamon:1043): Cjs-CRITICAL **: 19:13:47.841: JS ERROR: SyntaxError: unterminated character class @ /usr/share/cinnamon/js/misc/fileUtils.js line 210 > Function:3251
The main culprit being xapp_kbd_layout_controller_get_current_group: assertion 'controller->priv->enabled' failed. Why did that assertion fail? What can be done about it?
My configuration:
- Linux 4.18.7-zen1-1-zen
- Arch Linux (current, except kernel and graphic card drivers)
- Cinnamon 4.0.8
- Dominant language
- C
- Stars
- 167
- Forks
- 49
- Avg merge
- 5d 15h
- Merged PRs (30d)
- 2
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from linuxmint/xapp
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
-
Difficulty 3/5 1-2 days Newbie friendliness 72/100
-
Difficulty 4/5 3-5 days Newbie friendliness 42/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 55/100
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
Similar issues
-
task
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
vsanthanam/JBird#429 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
-
bug documentation
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
es-ude/OnDeviceTraining#459 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
bilelmoussaoui/gobject-linter#199 · 1 comment ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
bradcypert/plum#53 ·