Giter Site home page Giter Site logo

Comments (4)

collinss avatar collinss commented on September 12, 2024

Are you getting any errors in the logs? I doubt this is an issue with the icon chooser as it's using the same mechanism to list the icon names as the menu applet uses to display them (gtk icon theme). If the icon is picked up by Gtk, it should also be able to show in the menu applet.

from xapp.

smurphos avatar smurphos commented on September 12, 2024

Hi,

This works fine as expected and writes the full path to the menu applets settings json

screenshot-window-2018-11-18-120624

This writes the icon file name only to the menu applets settings json and for this particular icon which exists only in the root of /usr/share/icons/ it fails to actually apply to the menu itself.

screenshot-window-2018-11-18-120703

There's no specific xsession-errors entry on picking the icon and I've just tried restarting cinnamon after trying the first method and again the second - there's no difference in the reload messages.

Not sure if this might be relevant but it appears on both restarts.

Cjs-Message: 12:21:00.331: JS WARNING: [/usr/share/cinnamon/js/misc/fileUtils.js line 210 > Function 514]: reference to undefined property "iconTheme"

from xapp.

mtwebster avatar mtwebster commented on September 12, 2024

I'm not sure why the icon picker is displaying this icon, as it's not in a valid spot. the 'hicolor' folder is the place for these sort of package-specific icons. If I move manjaro-shiny.png to hicolor/64x64/apps and regenerate the icon cache (sudo gtk-update-icon-cache /usr/share/icons/hicolor) then it works.

I'm wondering if this icon is falling thru the cracks of gtk's icon fallback handling somehow, and is being picked up by the code that the icon chooser uses to sift thru icons, but not by icon name users. I can reproduce this same issue using xapp's xapp-gtk-window test script (so the problem is not cinnamon-specific either)

For a bit of additional info what I'm talking about: https://developer.gnome.org/gtk3/stable/GtkIconTheme.html#gtk-icon-theme-set-search-path

from xapp.

smurphos avatar smurphos commented on September 12, 2024

Cheers that makes sense, it's seems that the icon picker and the menu config GUI are using the fallback search to find the icon successfully, but Cinnamon isn't using the fallback search to actually display it on the panel.

from xapp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.