Some Icons not showing
Nesaijn opened this issue · 5 comments
On Manjaro with qtfm version 6.2.0-2
I noticed some missing icons. Including PDF's, Markdown and also some in the upper bar.
The error messages I get are as follow:
Warning: Cannot read file '/home/gazi/.local/share/icons/Flat-Remix-Blue-Dark/mimetypes/scalable/image-x-generic.svg', because: Start tag expected. (line 1) ((null):0, (null))
When checking its contents I see following:
$ cat /home/gazi/.local/share/icons/Flat-Remix-Blue-Dark/mimetypes/scalable/image-x-generic.svg
application-images.svg
When searching for that file:
$ find ~ -name "application-images.svg"
/home/gazi/.local/share/icons/Flat-Remix-Blue-Dark/mimetypes/scalable/application-images.svg
Where the content consists of a svg tag starting with <svg
I copied its content to the file where qtfm said that it could not read it and the message was gone. Its just that now it has a problem with another file where the content also seems to reference another svg file.
Since I did not have this problem with another file manager, I guess that qtfm can not handle the references.
Hi,
Can you give me a link to the icon theme so I can test?
Sure. It is this one:
https://github.com/daniruiz/flat-remix
I noticed another issue which may be related?
#139
Something that I also should mention is that when starting qtfm with a terminal the error messages appear when I right-click on a file that does not have an icon.
Also when I click in the upper bar on "View" or "Help"
I did manage to get the PDF's icons showing by setting the mimetype for PDF's which seemed to be empty in qtfm and then cleared cache which is under the panel entry "Edit". But to be honest, I don't know which of the two actions was the necessary one.
But the other empty icons seem to be related to the issue which I have referenced above.
But I also get the error messages when pressing on "View" or "Help" in the panel at the top, which again can't be because of the XDG thumbnails right?
Warning: Cannot read file '/home/gazi/.local/share/icons/Flat-Remix-Blue-Dark/apps/scalable/go-home.svg', because: Start tag expected. (line 1) ((null):0, (null))
I found the issue. Seems like I didn't not install the icon set correctly. I don't know why it worked on another file manager without issues.
Sorry for the time waste!