Hieroglyphic icon indicating copy to clipboard operation
Hieroglyphic copied to clipboard

Filename collision on case-insensitive filesystems

Open TomaSajt opened this issue 1 year ago • 1 comments

As discovered in https://github.com/NixOS/nixpkgs/pull/357401 the following two files conflict when used on a case-insensitive filesystem: data/resources/icons/c3RtYXJ5cmQtT1QxLV9sYmFn-symbolic.svg (decoded: stmaryrd-OT1-_lbag) data/resources/icons/c3RtYXJ5cmQtT1QxLV9SYmFn-symbolic.svg (decoded: stmaryrd-OT1-_Rbag)

This means that only one of them will be present on MacOS.

Not sure what could be done about this other than choosing an alternative encoding to base64.

TomaSajt avatar Nov 30 '24 15:11 TomaSajt

Thanks for the report. The project currently only supports Linux (GNOME to be precise) as I can't guarantee the quality on other systems. However, I'm happy to accept PRs :) I think this may be why TeX-Match uses base32 encoding.

Not sure what could be done about this other than choosing an alternative encoding to base64.

They're aliased, so technically it's relatively easy to rename them. However, as the icons are automatically generated, the script would have to take this into account, so I don't think it's a viable solution.

FineFindus avatar Nov 30 '24 21:11 FineFindus