Bug 438735 - [KCommandBar] Show additional information about a command in a tooltip
Summary: [KCommandBar] Show additional information about a command in a tooltip
Status: RESOLVED FIXED
Alias: None
Product: frameworks-kwidgetsaddons
Classification: Frameworks and Libraries
Component: general (other bugs)
Version First Reported In: 5.83.0
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: Christoph Feck
URL:
Keywords: usability
Depends on:
Blocks:
 
Reported: 2021-06-16 12:36 UTC by popov895
Modified: 2021-10-11 16:03 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 5.88
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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