Bug 501380 - Tooltips ("descriptions") are displayed on hover when set to "Name only"
Summary: Tooltips ("descriptions") are displayed on hover when set to "Name only"
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Application Launcher (Kickoff) widget (show other bugs)
Version: 6.3.2
Platform: Manjaro Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-03-11 23:36 UTC by flan_suse
Modified: 2025-03-13 16:53 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 6.4.0
Sentry Crash Report:


Attachments
"Name only", but tooltips ("descriptions") still show on hover (32.20 KB, image/png)
2025-03-11 23:36 UTC, flan_suse
Details

Note You need to log in before you can comment on or make changes to this bug.
Description flan_suse 2025-03-11 23:36:50 UTC
Created attachment 179322 [details]
"Name only", but tooltips ("descriptions") still show on hover

SUMMARY
Tooltips are displayed whenever I hover my mouse over items in the Application Launcher (Kickoff), even though I have it set to "Show applications as: Names only". These tooltips are the applications' descriptions, some of which can be very long and obtrusive.


STEPS TO REPRODUCE
1. Set "Name only" in the Application Launcher settings for "Show applications as".
2. Open the Application Launcher (Kickoff) and hover your mouse over applications.

OBSERVED RESULT
Tooltips ("descriptions") are displayed when hovering with the mouse over menu items. This happens under "Favorites", "All Applications", and any category I navigate to. It doesn't matter what theme I use, as this occurs with Breeze, Oxygen, and Breathe.

EXPECTED RESULT
No tooltips ("descriptions") should display upon mouse hover.


ADDITIONAL INFO
This is borrowed from another bug report (501312), said by Nate:

"For this specific use case, Kickoff settings > Show applications as > Name Only.

If this setting isn't actually suppressing the descriptions on the Favorites page (or anywhere else?) then that's a bug that should be fixed. Can you open a new bug report about that specifically?"


SOFTWARE/OS VERSIONS
KDE Plasma Version: 6.3.2
KDE Frameworks Version: 6.11.0
Qt Version: 6.8.2
Comment 1 flan_suse 2025-03-12 00:03:13 UTC
This also affects "Places" too. When I go to Places -> History, the tooltips obstruct the nearby items, which makes it hard to navigate.

There's a list of my recently opened files, but it wants to display a tooltip for the "location" of each item as I am hovering. It gets in the way of looking at the items, since the tooltips can sometimes block the other nearby items.

It feels like playing peekaboo with the items in the list.

I don't remember it being like this before.
Comment 2 Nate Graham 2025-03-12 17:59:44 UTC
Can confirm. In this case, we should suppress the description-bearing tooltip in grid views to respect the user's configuration preference, just like we suppress the subtitle in list views.
Comment 3 Bug Janitor Service 2025-03-12 21:08:39 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/2883
Comment 4 Nate Graham 2025-03-13 16:53:16 UTC
Git commit e822032c4b93bd22e87e23c0e40a7499cb5879b4 by Nate Graham.
Committed on 13/03/2025 at 16:27.
Pushed by ngraham into branch 'master'.

applets/kickoff: don't show tooltips with text the user didn't ask for

Kickoff allows you to configure the label style to show the app name,
description, both, or both with the description first.

In the first two cases, the user is indicating that they only want one
label — just the app name or just the app description.

Right now Kickoff does not honor that, and always shows the second label
in a tooltip anyway.

With this commit, Kickoff now only shows the second label in a tooltip
if the user wants it. Elided main label text still appears in a tooltip
as expected.
FIXED-IN: 6.4.0

M  +3    -2    applets/kickoff/package/contents/ui/AbstractKickoffItemDelegate.qml

https://invent.kde.org/plasma/plasma-desktop/-/commit/e822032c4b93bd22e87e23c0e40a7499cb5879b4