Skip to content

Proposed fix for JS warning in decoding strings #8286

@LOTRg

Description

@LOTRg

Applet version/Build date

2025-10-08 23:24:16

Cinnamon version

6.4.12

Distribution

Fedora 43

Graphics hardware and driver used

No response

Applet name and maintainer

batterypower@joka42 @joka42

What happened?

Logs are filled with warnings about String decoding in the functions used. Attached is a proposal to safely handle string decoding in compliance with JS specifications to avoid such warnings and limit crashes.
This has been tested for a few days on my system, more testing is of course advised and

applet.js

Other information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions