[umbrello] [Bug 449662] request: add undo feature

Oliver Kellogg bugzilla_noreply at kde.org
Fri Feb 18 07:02:58 GMT 2022


https://bugs.kde.org/show_bug.cgi?id=449662

--- Comment #5 from Oliver Kellogg <okellogg at users.sourceforge.net> ---
(In reply to Oliver Kellogg from comment #4)
> (In reply to Ralf Habacker from comment #3)
> > (In reply to Oliver Kellogg from comment #2)
> [...]
> So then the bug is that the Undo button got lost.

We are talking about the toolbar between the main menu bar (File, Edit,
Diagram, Code, Settings, Help)
and the work toolbar with the arrow and the UML symbols (Note, Anchor,
Label(XYZ) etc).

In the Qt4/KDE4 build of git master, the Undo/Redo icons are present in that
toolbar:

New, Open, Save, Print, Print Preview, Undo, Redo, Cut, Copy, Paste, Find.

In the Qt5/KF5 build, the Undo/Redo icons are missing completely, i.e. there
are not even fallback icons in those positions.

How this has been working in KDE4 I do not know.
The only mentions I find are:

1) In umbrello/umbrelloui.rc.cmake the line
<ToolBar name="mainToolBar" fullWidth="true" newline="true">

2) in umbrello/uml.cpp
function UMLApp::saveOptions() :
    toolBar(QLatin1String("mainToolBar"))->saveSettings(cg);
function UMLApp::readOptions() :
   
toolBar(QLatin1String("mainToolBar"))->applySettings(m_config->group("toolbar"));

How that toolbar is filled with icons is not visible from the source code.
I must be missing something.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the umbrello-devel mailing list