Bug 443732 - [KCommandBar] Commands without name
Summary: [KCommandBar] Commands without name
Status: RESOLVED FIXED
Alias: None
Product: frameworks-kwidgetsaddons
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 5.86.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Christoph Feck
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-10-14 16:39 UTC by popov895
Modified: 2021-10-16 10:23 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Commands without name (75.71 KB, image/png)
2021-10-14 16:39 UTC, popov895
Details

Note You need to log in before you can comment on or make changes to this bug.
Description popov895 2021-10-14 16:39:19 UTC
Created attachment 142440 [details]
Commands without name

SUMMARY

Some applications (e.g. Dolphin) have commands without name. It would be great if the KCommandBar didn't display such commands, since it's not clear what they do anyway.

SOFTWARE/OS VERSIONS

Operating System: openSUSE Tumbleweed 20211011
KDE Plasma Version: 5.22.5
KDE Frameworks Version: 5.86.0
Qt Version: 5.15.2
Graphics Platform: X11
Comment 1 Bug Janitor Service 2021-10-16 08:53:21 UTC
A possibly relevant merge request was started @ https://invent.kde.org/frameworks/kconfigwidgets/-/merge_requests/81
Comment 2 popov895 2021-10-16 10:23:57 UTC
Git commit 70238c3badb0a5dfcbee7244888420b13df9a2c2 by Eugene Popov.
Committed on 16/10/2021 at 10:02.
Pushed by waqar into branch 'master'.

[KCommandBar] Skip actions with empty text

Don't add action with empty text, since it's not clear what they do anyway.

M  +6    -0    src/kcommandbarmodel_p.cpp

https://invent.kde.org/frameworks/kconfigwidgets/commit/70238c3badb0a5dfcbee7244888420b13df9a2c2