Skip to content

[BUG] Icons from ~/.local/share/icons and /usr/share/icons/HighContrast not displayed #2326

Description

@rileyophus

Rofi version (rofi -v or git commit in case of build issue)

2.0.0

Configuration

https://gist.github.com/rileyophus/8cfdacbd2c2de6079f15565ee86fc13e

Theme

https://gist.github.com/rileyophus/7bbac9c6042eb9c329e9f75fde7ea188

Timing report

No response

Launch command

rofi -show drun

Step to reproduce

  1. Choose icon (in my case, a PNG) from ~/.local/share/icons/hicolor/<some resolution>/apps/
  2. Create .desktop file (in ~/.local/share/applications/) with the Icon field set to the basename of that icon file (minus file extension)
  3. Run rofi -show drun

Expected behavior

Icon is properly displayed

Actual behavior

Icon is not displayed

Additional information

If the procedure to reproduce is followed but ~/.local/share/icons/hicolor is replaced with /usr/share/icons/hicolor, the icon is properly displayed. If the Icon field is set to the full path of the icon, the icon is properly displayed. Icons from flatpaks, which are not located in ~/.local/share/icons/ but instead ~/.local/share/flatpak/app/<flatpak name>/current/active/files/share/icons/, are displayed properly.

I've checked if the issue exists in the latest stable release

  • Yes, I have checked the problem exists in the latest stable version

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions