Describe the bug
Placefiles with local icons fail to load the local icons on Linux. It also shows an error (log bellow). I believe this is because the path is passed to the file handler as a local file URI (file:///home/...). I have a fix in the works and will make a pull request.
To Reproduce
On Linux
Make a placefile that uses a local png file as an icon file.
Add it to Supercell-WX.
Will not display icons and will display error.
Expected behavior
Should load the file without error
Desktop (please complete the following information):
Debian 12 (developer branch)
Arch Linux (4.4.0)
Debug Log (if applicable):
[2024-06-29 12:20:35.924] [180033] [debug] [scwx::qt::util::texture_atlas] Loading image: file:///home/ankom/Downloads/place.png
[2024-06-29 12:20:35.924] [180033] [error] [scwx::qt::util::texture_atlas] Could not open image: file:///home/ankom/Downloads/place.png
Describe the bug Placefiles with local icons fail to load the local icons on Linux. It also shows an error (log bellow). I believe this is because the path is passed to the file handler as a local file URI (
file:///home/...
). I have a fix in the works and will make a pull request.To Reproduce On Linux Make a placefile that uses a local png file as an icon file. Add it to Supercell-WX. Will not display icons and will display error.
Expected behavior Should load the file without error
Desktop (please complete the following information):
Debug Log (if applicable):