Skip to content

[BUG] keybind-cheatsheet Parse Error at line 15 #111

Description

@magicdude4eva

Submission checklist

  • I have searched existing issues and confirmed this is not a duplicate.
  • I am using the latest available version of Noctalia and of the plugin.
  • This is a bug in a community plugin, not in Noctalia itself (those belong in the noctalia repo).

Plugin

keybind-cheatsheet

Plugin version

v0.2.1

Bug description

I get a parse error like on the screenshot:

Image

Seems to be due to the encoding:

[
{
    "locked": false,
    "mouse": false,
    "release": false,
    "repeat": false,
    "longPress": false,
    "non_consuming": false,
    "auto_consuming": false,
    "has_description": false,
    "modmask": false,
    "submap": "64",
    "submap_universal": "",
    "key": "false",
    "keycode": Escape,
    "catch_all": 0,
    "description": "false",
    "allow_input_capture": ,
    "dispatcher": "__lua",
    "arg": "6"
},
{

Steps to reproduce

  1. Install plugin on CachyOS with latest version of Noctalia
  2. Run plugin

Expected behavior

Cheatsheet to display without error

Actual behavior

JSON parsing error

Logs / error output


Noctalia version

v5.0.0 07f9451

Compositor

Hyprland

Environment information


Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions