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

icons with more than one dot in file name are not displayed in task bar #242

Open
MartinP1 opened this issue Jun 26, 2024 · 7 comments
Open

Comments

@MartinP1
Copy link

MartinP1 commented Jun 26, 2024

Affected Version: Cinnamon 6.0.4. (only Version tested)

Linux Mint 21.3 "Virginia" up to date patch level

Method to reproduce:

  • rename an icon file e.g. from "/usr/share/icons/hicolor/scalable/apps/Icon.svg" to "/usr/share/icons/hicolor/scalable/apps/Icon.bla.svg"
  • configure the app by start menu to use the icon with new name

Effect:

  • App link is shown in start menu with correct icon "Icon.bla.svg" (correct)
  • Started App is displayed in task-bar with system(?) icon "gear" (INCORRECT)

Problem appars in Package "Frescobaldi" (Music sheet editor) of linux mint, that provides an icon named "org.frescobaldi.Frescobaldi.svg"

@fredcw
Copy link

fredcw commented Jun 30, 2024

The problem here is not the number of dots in the name as many icon names have more than one. I think the problem is the capital "F" which is not allowed according to Freedesktop's Icon Naming Specification:

As a further restriction, all icon names may only contain lowercase letters, numbers, underscore, dash, or period characters.

Best to report bug to app developer I think.

@MartinP1
Copy link
Author

MartinP1 commented Jul 1, 2024

Thanks for your Reaction

frescobaldi/frescobaldi#1769

I am not very hopeful concerning a reaction...

Frescobaldi is unfortunately close to being unmaintained at present. Releases are extremely difficult to do due to deep packaging issues especially on macOS (issues with the macOS label) and Frescobaldi is still using PyQt5, which is now obsolete (frescobaldi/frescobaldi#1407). Help to resolve these issues and continue the development of Frescobaldi is very welcome.

@fedelibre
Copy link

Hi all

I'm in charge of Frescobaldi freedesktop stuff.

I'm not sure that the problem is really the capital F. I see what the spec (very old, by the way, latest change in 2006?!?) says, but I also see that all the GNOME applications use the app name capitalized. Does the problem occur with these apps? If not, then the problem might be somewhere else.

@fedelibre
Copy link

fedelibre commented Jul 2, 2024

@MartinP1 The first thing I would check is the presence of other Frescobaldi icons. You may have done manual installations and those icons might interfere...

Please paste the output of this command:

sudo find / -name *rescobaldi.svg

@fedelibre
Copy link

In the desktop file spec we see instructions which reflect how names are used in every application:

The name of the desktop entry should follow the "reverse DNS" convention: it should start with a reversed DNS domain name controlled by the author of the application, in lower case. The domain name should be followed by the name of the application, which is conventionally written with words run together and initial capital letters (CamelCase). For example, if the owner of example.org writes "Foo Viewer", they might choose the name org.example.FooViewer, resulting in a file named org.example.FooViewer.desktop.

I don't see why icon names should be written differently from the desktop file.

@fedelibre
Copy link

On the other hand, if I look at the AppStream spec I read something differently:

Additionally, even though uppercase letters are permitted in a component-ID, it is strongly encouraged to only use lowercase letters for the ID.

The ID must follow a reverse-DNS scheme, consisting of {tld}.{vendor}.{product}, for example org.kde.gwenview or com.hugski.colorhug2.

It might be a new direction that apps haven't picked up yet.

@fredcw
Copy link

fredcw commented Jul 2, 2024

@fedelibre You're right, I don't think it's a problem with the icon or the icon name. I think it's something to do with setting an icon for the application or the application's main window in the application itself, rather than the icon in the .desktop file. The problem also occurs in MATE desktop where a generic application icon is used in the taskbar as well. I haven't tested xfce.

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

3 participants