Skip to content

Crash: hyprnavi r fails when a client title contains non-UTF8 bytes (ONLYOFFICE + umlaut filename) #13491

@Noah69420

Description

@Noah69420

Bug report: hyprnavi crashes on invalid UTF-8 in hyprctl -j clients output (ONLYOFFICE window title)

Summary

Running hyprnavi r fails with an UTF-8 decoding error when a client window title contains non-UTF-8 bytes.
This is reproducible with ONLYOFFICE when opening a file whose name contains ü (e.g. Brücken).

hyprnavi exits with: Error: invalid utf-8 sequence of 1 bytes from index 2770

Expected behavior

hyprnavi should not crash. Ideally it should:

  • handle invalid UTF-8 gracefully (lossy decode / replacement chars), or
  • skip/ignore the offending field/client and still work for navigation.

Actual behavior

hyprnavi r fails immediately with an invalid UTF-8 error.

Steps to reproduce

  1. Start Hyprland
  2. Open ONLYOFFICE
  3. Open a file with a name containing an umlaut, e.g. 2-1-Brücken.pptx
  4. Run:
    hyprnavi r

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions