Summary: | Bad ".desktop" file can easily screw up all gtk icons | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | Qu Wenruo <quwenruo.btrfs> |
Component: | Task Manager and Icons-Only Task Manager widgets | Assignee: | Eike Hein <hein> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | justin.zobel, nate, nicolas.fella, plasma-bugs, qydwhotmail |
Priority: | NOR | ||
Version: | 5.19.5 | ||
Target Milestone: | 1.0 | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/plasma/plasma-workspace/-/commit/5b59a1334c92d3edaf44b774df3fa608016913e8 | Version Fixed In: | 5.27.7 |
Sentry Crash Report: |
Description
Qu Wenruo
2020-11-01 13:10:41 UTC
It sounds like the issue to me is the bad .desktop file that Steam are providing, not a KDE issue. Perhaps they need to call the desktop file asterisk.desktop. Yes, steam is the cause, but the problem is, shouldn't KDE be robust enough to detect such malfunctioning desktop file and don't allow it to corrupt other app's icon? True I guess this could be solidified more to verify a .desktop file is within spec and if not, ignore it completely. I guess that's the correct way to go. Although the only invalid part is the file name. ".desktop". Everything else is pretty OK, and I'm not sure if the name ".desktop" really breaks any spec though. I would guess this has to do with how libtaskmanager resolves/guesses the desktop entry for a window, but I haven't looked closer Cannot reproduce in 5.27 Git commit 506fd06e5d07717bd0b52bdfc5970b181454228f by Fushan Wen. Committed on 25/07/2023 at 01:43. Pushed by fusionfuture into branch 'master'. libtaskmanager: skip empty appId when matching '*.appId.desktop' When appId is empty, "*..desktop" can be a match. Some games like Touhou tend to add an extra dot at the end of the desktop name, which causes Marisa to exist everywhere. Related: bug 472576 FIXED-IN: 5.27.7 A +8 -0 libtaskmanager/autotests/data/applications/marisa..desktop M +3 -0 libtaskmanager/autotests/tasktoolstest.cpp M +1 -1 libtaskmanager/tasktools.cpp https://invent.kde.org/plasma/plasma-workspace/-/commit/506fd06e5d07717bd0b52bdfc5970b181454228f Git commit 5b59a1334c92d3edaf44b774df3fa608016913e8 by Fushan Wen. Committed on 25/07/2023 at 02:08. Pushed by fusionfuture into branch 'Plasma/5.27'. libtaskmanager: skip empty appId when matching '*.appId.desktop' When appId is empty, "*..desktop" can be a match. Some games like Touhou tend to add an extra dot at the end of the desktop name, which causes Marisa to exist everywhere. Related: bug 472576 FIXED-IN: 5.27.7 (cherry picked from commit 506fd06e5d07717bd0b52bdfc5970b181454228f) A +8 -0 libtaskmanager/autotests/data/applications/marisa..desktop M +3 -0 libtaskmanager/autotests/tasktoolstest.cpp M +1 -1 libtaskmanager/tasktools.cpp https://invent.kde.org/plasma/plasma-workspace/-/commit/5b59a1334c92d3edaf44b774df3fa608016913e8 |