Bug 438735

Summary: [KCommandBar] Show additional information about a command in a tooltip
Product: [Frameworks and Libraries] frameworks-kwidgetsaddons Reporter: popov895 <popov895>
Component: generalAssignee: Christoph Feck <cfeck>
Status: RESOLVED FIXED    
Severity: wishlist CC: kdelibs-bugs-null, nate, popov895, waqar.17a
Priority: NOR Keywords: usability
Version First Reported In: 5.83.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 5.88
Sentry Crash Report:

Description popov895 2021-06-16 12:36:28 UTC
SUMMARY

Currently very long commands get cut off in the KCommandBar, so it would be great to display some tooltip with additional/full information about that command on hover.

SOFTWARE/OS VERSIONS

Operating System: KDE neon 5.22
KDE Plasma Version: 5.22.1
KDE Frameworks Version: 5.83.0
Qt Version: 5.15.3
Graphics Platform: X11
Comment 1 Bug Janitor Service 2021-09-19 10:57:08 UTC
A possibly relevant merge request was started @ https://invent.kde.org/frameworks/kconfigwidgets/-/merge_requests/75
Comment 2 Waqar Ahmed 2021-10-10 15:44:38 UTC
Git commit 4794b0d81eb9d462398957da0e267a0f92dddac8 by Waqar Ahmed, on behalf of Eugene Popov.
Committed on 10/10/2021 at 15:41.
Pushed by waqar into branch 'master'.

[KCommandBar] Show information about a command in a tooltip

This MR adds support for displaying tooltips for commands, which displays its full name (group and command name), as well as its shortcuts. This is useful when the full command name is very long or it has a lot of shortcuts.

M  +16   -3    src/kcommandbarmodel_p.cpp
M  +2    -0    src/kcommandbarmodel_p.h

https://invent.kde.org/frameworks/kconfigwidgets/commit/4794b0d81eb9d462398957da0e267a0f92dddac8