https://bugs.kde.org/show_bug.cgi?id=428559

            Bug ID: 428559
           Summary: Bad ".desktop" file can easily screw up all gtk icons
           Product: kwin
           Version: 5.19.5
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: decorations
          Assignee: kwin-bugs-n...@kde.org
          Reporter: quwenruo.bt...@gmx.com
  Target Milestone: ---

SUMMARY
If installing a specific game (*) using steam with proton, proton would create
a corrupted desktop file ".desktop" (exactly the name), to corrupt all gtk app
icons used in decoration and "big icon" alt-tab switcher.

The offending game is https://store.steampowered.com/app/1372300/Iwaihime/

But since the cause the ".desktop" in .local/share/applications, it doesn't
need the game to do the trick.

STEPS TO REPRODUCE
1. Create file ".local/share/applications/.desktop" with whatever icon you like
2. Check the icon of the window decoration of any running gtk applications 
3. Check the icon of "big icon" alt-tab window

OBSERVED RESULT
Most GTK applications get wrong icon from the ".desktop" file.


EXPECTED RESULT
GTK applications still follow their original icon.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch
KDE Plasma Version: 5.20.2
KDE Frameworks Version: 5.75.0
Qt Version: 5.15.1

ADDITIONAL INFORMATION
Maybe it's a bug in gtk icon cache? But strangely I only found the following
icons get affects:
- GTK app icons in window decoration (if enabled)
- GTK app icons in big/small icon alt-tab task switcher

QT applications like konsole, dolphin doesn't get affected.

And of course, with that ".desktop" file renamed, everything comes back to
normal.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to