Bug 438886 - Godot MIME icon doesn't appear to be working
Summary: Godot MIME icon doesn't appear to be working
Status: RESOLVED FIXED
Alias: None
Product: Breeze
Classification: Plasma
Component: Icons (show other bugs)
Version: 5.21.4
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: visual-design
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-06-18 19:40 UTC by Michael Alexsander
Modified: 2023-01-16 10:09 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Alexsander 2021-06-18 19:40:00 UTC
SUMMARY
I'm the author of the Godot MIME commit (https://invent.kde.org/frameworks/breeze-icons/-/merge_requests/39), and I've noticed that the icon has yet to show up for project.godot files. The SVG is present in the system, but it's not even listed when searching for it in the settings.

The MIME type is registered if you download Godot from Flathub, so that's not the problem. Did I do something wrong when making that PR?


SOFTWARE/OS VERSIONS
Linux: Kubuntu 21.04
KDE Plasma Version: 5.21.4
KDE Frameworks Version: 5.80.0
Qt Version: 5.15.2
Comment 1 Nate Graham 2021-07-29 02:40:20 UTC
It needs to be added to shared-mime-info too: https://gitlab.freedesktop.org/xdg/shared-mime-info/

Did you also do that or van you verify that it's already registered there?

If not, it needs to be added there.
Comment 2 Bug Janitor Service 2021-08-13 04:36:09 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Michael Alexsander 2021-08-16 06:00:06 UTC
We're arranging to add the MIME info there. But I just don't understand as to why that would be source of the problem. The flatpak version adds the MIME info itself (you can see it when you go to the settings), why would that not be enough to use the icons?
Comment 4 Bug Janitor Service 2021-08-31 04:36:23 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Gabriel 2022-02-23 17:24:28 UTC
I don't know what can be done with this bug. It's indeed still present and I expect it will be until shared-mimes-info gets another release. Currently the latest one (version 2.1) was over a year ago* and thus doesn't include the added mimetypes for the Godot files. I hope we'll get an update soon! A temporary solution is to manually add the file associations with their respective icons in system settings.

*https://gitlab.freedesktop.org/xdg/shared-mime-info/-/releases
Comment 6 Manuel de la Fuente 2022-11-24 12:51:47 UTC
shared-mime-info released 2.2 ~7 months ago now, and it includes godot files (https://gitlab.freedesktop.org/xdg/shared-mime-info/-/blob/master/tests/mime-detection/list#L892) so it should be possible to fix this now. I'll send a mr if I manage to do it.
Comment 7 Manuel de la Fuente 2023-01-16 10:09:21 UTC
Tested again and it works with all of the MIMEs added on the original MR. Closing...