Bug 424868 - The "Undo" feature seems to be lacking functionality
Summary: The "Undo" feature seems to be lacking functionality
Status: REPORTED
Alias: None
Product: umbrello
Classification: Applications
Component: general (show other bugs)
Version: Git
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Umbrello Development Group
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-31 15:46 UTC by Robert Hairgrove
Modified: 2020-08-02 08:51 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Hairgrove 2020-07-31 15:46:25 UTC
SUMMARY
In Settings/General, there is an option "Enable undo" which can be checked or unchecked. However, most operations seem not to be undoable. Also, there is no menu item "Edit/Undo" or "Redo"

STEPS TO REPRODUCE
1. In the Tree View, create a new class, but do not edit its properties;
2. Try to undo the class creation.
3. ???

OBSERVED RESULT
Hitting Ctrl-Z does nothing, and there seems to be no other way to undo the creation of the new class.

EXPECTED RESULT
The newly-created class should go away.

SOFTWARE/OS VERSIONS
Linux Ubuntu 18.04.4
Qt Version: 5.x

ADDITIONAL INFORMATION
Perhaps I didn't see the correct way to do this?
Comment 1 Robert Hairgrove 2020-08-02 08:34:16 UTC
It looks like the slots are there in the class UMLApp:

    void slotEditUndo();
    void slotEditRedo();

but they are never called by anything.
Comment 2 Robert Hairgrove 2020-08-02 08:51:51 UTC
When I toggle the setting "Enable Undo" in the Settings dialog, I can show or hide the Command history view at the bottom left. Navigating the command history seems to achieve the undo and redo effects, but this is not the "normal" or intuitive way to do this.

Every other application in the world which has undo/redo will react to CTRL-Z for undo, and this is normally at the very top of the Edit menu.