Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some Icons not showing #168

Closed
Nesaijn opened this issue Aug 26, 2020 · 5 comments
Closed

Some Icons not showing #168

Nesaijn opened this issue Aug 26, 2020 · 5 comments

Comments

@Nesaijn
Copy link

Nesaijn commented Aug 26, 2020

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.
qtfm

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.

@rodlie
Copy link
Owner

rodlie commented Aug 26, 2020

Hi,

Can you give me a link to the icon theme so I can test?

@Nesaijn
Copy link
Author

Nesaijn commented Aug 26, 2020

Sure. It is this one:
https://github.com/daniruiz/flat-remix

I noticed another issue which may be related?
#139

@Nesaijn
Copy link
Author

Nesaijn commented Aug 26, 2020

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"

@Nesaijn
Copy link
Author

Nesaijn commented Aug 28, 2020

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?

qtfm

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))

@Nesaijn
Copy link
Author

Nesaijn commented Sep 4, 2020

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!

@Nesaijn Nesaijn closed this as completed Sep 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants