[PATCH] libtaskmanager: show Comment for launcher icons when appropriate
authorNate Graham <nate@kde.org>
Thu, 22 May 2025 15:06:52 +0000 (09:06 -0600)
committerAurélien COUDERC <coucouf@debian.org>
Mon, 21 Jul 2025 16:21:10 +0000 (18:21 +0200)
commitbdb142dad33cd350c880c4dfecc0c69ecb7149af
tree6bb9e2e07005b5127e95084a447f017f74e9eee9
parent16bc516018cb948d95f4577389ae248b5f1e117d
[PATCH] libtaskmanager: show Comment for launcher icons when appropriate

Right now, launcher icons get a caption equal to the app's GenericName,
if one is set in the metadata. If not, it gets no caption.

This differs from what Kicker and Kickoff Manager do: a more complex
behavior to show the Comment if the app has no GenericName or if its
GenericName is equal to its Name. Let's replicate the same logic here.

BUG: 504431
FIXED-IN: 6.4.0

(cherry picked from commit ae39f3219d6fc849fe8de0d1c165a572598082fe)

Co-authored-by: Nate Graham <nate@kde.org>
Gbp-Pq: Name upstream_45784326_libtaskmanager-show-Comment-for-launcher-icons-when-appropriate.patch
libtaskmanager/tasktools.cpp