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

--- Comment #6 from cwo <[email protected]> ---
Git commit 215e7d11312c31ce9b5e7ed8794a634d7ba41342 by Christoph Wolk.
Committed on 02/06/2026 at 14:18.
Pushed by cwo into branch 'Plasma/6.7'.

applets/kicker: use correct fallback in AppEntry ctor

Constructing an AppEntry (for non-preferred:// schemes), we first try
serviceByStorageId on the path part of the url, and if that does not
find anything, we try again with the value of m_id... except that m_id
only stores the supplied id in case of preferred:// urls, and is left
default-initialized otherwise, so this always looks up the service for
empty string, which is not particularly useful.

Instead, look it up by the id that was passed to the ctor. This makes
malformed .desktop file names containing the character ":" somewhat work
again. (This is disallowed by the spec, but some software may produce
them including, unfortunately, kmenuedit.) They're still broken in all
sorts of weird ways, but at least they will show up when favorited like
in 6.6, rather than just fail.


(cherry picked from commit eac0201895ea647f860cff4d3c771ae9a079a25d)

Co-authored-by: Christoph Wolk <[email protected]>

M  +1    -1    applets/kicker/appentry.cpp

https://invent.kde.org/plasma/plasma-workspace/-/commit/215e7d11312c31ce9b5e7ed8794a634d7ba41342

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

Reply via email to