linuxmint / xapp

Cross-desktop libraries and common resources
GNU Lesser General Public License v3.0
127 stars 44 forks source link

Can't Select Custom Icon from any PNG file #182

Closed username227 closed 5 months ago

username227 commented 11 months ago

Distribution

Arch

Package version

5.8.4

Graphics hardware in use

Nvidia GeForce 1650, AMD Radeon Vega

Frequency

Always

Bug description

When I try to select a custom icon through properties, and then clicking on the icon to change it, any png file that I'd like to use as an icon does not show up. If I select a PNG icon, the icon chooser field is completely blank.

Steps to reproduce

  1. Choose a file to change the icon
  2. Right click and select properties.
  3. Click the icon
  4. Select Browse
  5. Choose png file The icon won't populate in the box to be able to choose it.

Expected behavior

Have the program populate the png file as an icon. I believe this has happened in the past.

Additional information

This never seemed to be an issue, to my recollection, until I reinstalled Arch a few weeks ago. Since then, it has happened consistently.

rado84-github commented 5 months ago

This problem still exists in 6.0.4 (but it started happening in version 5.2.1) and it's not just with PNG but with any custom icon, no matter the image format.

There is a workaround but it's annoying to have to do it for every program: find the .desktop file in /usr/share/applications (or ~/.local/share/applications) and manually change the icon in that file.

I made a video of the problem, in case anyone wants to see it happening and finally try to fix it: Cinn_6.0.4-changing-icons-problem.mkv.zip

username227 commented 5 months ago

I have another workaround that seems to work - rename the png file a svg file. No need to convert. But I agree - it should be fixed. And I'm glad that there is finally someone to confirm that i'm not crazy.