regolith-linux / ilia

A GTK-based Desktop Executor
Apache License 2.0
83 stars 11 forks source link

ilia -p tracker unable to properly handle unicode filenames #53

Closed tatjam closed 1 year ago

tatjam commented 1 year ago

This error is fairly easy to reproduce, simply create a file which uses unicode characters and try finding it using ilia. For example, I have created a file "test_ñ_и.txt" in Documents, and trying to find it using ilia yields:

image

This error is not limited to the user interface, trying to open the file fails because the path is passed badly formatted to xdg-open. This is the console output after hitting Enter with the entry selected:

gio: file:///home/tatjam/Documents/test_31_08.txt: Error when getting information for file “/home/tatjam/Documents/test_31_08.txt”: No such file or directory
tatjam commented 1 year ago

The fix is remarkably simple, I will create a pull request.

tatjam commented 1 year ago

Pull request #54 created that fixes this, closing the issue.