Bug 508513

Summary: kf.xmlgui: Action without text! "view_show_...
Product: [Applications] umbrello Reporter: Ralf Habacker <ralf.habacker>
Component: generalAssignee: Umbrello Development Group <umbrello-devel>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version First Reported In: Git   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 25.11.70
Sentry Crash Report:
Attachments: List of keyboard shortcuts

Description Ralf Habacker 2025-08-20 10:55:43 UTC
Created attachment 184280 [details]
List of keyboard shortcuts

In the list of keyboard shortcuts there are some entries showing "view_show_..." without a real text representation.

When starting umbrello there is printed: 

kf.xmlgui: Action without text! "view_show_diagrams"
kf.xmlgui: Action without text! "view_show_objects"
kf.xmlgui: Action without text! "view_show_stereotypes"
kf.xmlgui: Action without text! "view_show_welcome"
Comment 1 Ralf Habacker 2025-08-26 15:15:54 UTC
Git commit dde0c7e5e02fe9ae01580ffbc3864ceba668fe30 by Ralf Habacker.
Committed on 26/08/2025 at 14:56.
Pushed by habacker into branch 'master'.

Fix warnings: 'kf.xmlgui: Action without text! "view_show_.'
FIXED-IN:25.11.70

M  +4    -0    umbrello/umlappprivate.h

https://invent.kde.org/sdk/umbrello/-/commit/dde0c7e5e02fe9ae01580ffbc3864ceba668fe30
Comment 2 Ralf Habacker 2025-08-26 15:15:56 UTC
Git commit 6693b7ae74883b31ffa5735499e55dd25d65f7b0 by Ralf Habacker.
Committed on 26/08/2025 at 14:56.
Pushed by habacker into branch 'master'.

Fixed missing entries for showing/hiding in the settings menu

The corresponding menu entries were not displayed in the settings
menu because the associated actions were initialized too late.
They must be present before the umbrelloui.rc file is loaded.

To fix the problem, the initialization of actions in the
UMLAppPrivate class has been moved to a new method
initActions() and the window creating moved from
UMLApp::initView() to UMLAppPrivate::initWidgets().

Furthermore setting the visual state of the related menu
entries has also been fixed.

M  +5    -9    umbrello/uml.cpp
M  +1    -1    umbrello/uml.h
M  +43   -21   umbrello/umlappprivate.h

https://invent.kde.org/sdk/umbrello/-/commit/6693b7ae74883b31ffa5735499e55dd25d65f7b0