View Issue Details

IDProjectCategoryView StatusLast Update
0004666FreeCADBugpublic2021-12-09 11:50
Reportertarun.johar Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
Status newResolutionopen 
Product Version0.19 
Summary0004666: Undo does not reset the document saved state
DescriptionUndo does not reset the document saved state. The issue is reproducible with version 0.19 and 0.19.2

The cylinder disappears but there is still a '*' in the document tab.

We are developing a workbench that creates temporary objects for preview purposes. When an operation is canceled, the transaction is properly aborted but the document saved state is not reverted. Applications such as Emacs and LibreOffice keep track of the saved state as part of the undo stack, so this is a reasonable expectation for the user.
Steps To ReproduceSteps to reproduce:

1. Create a new document
2. Create a Part Design box
3. Save the document
4. There is no '*' next to the document name
5. Create a Part Design cylinder
6. There is a '*' next to the document name
7. Select Edit | Undo
Additional InformationThe topic is already discussed at following Help on using FreeCAD forum link : viewtopic.php?f=3&t=58752&e=1&view=unread#unread
TagsNo tags attached.
FreeCAD InformationOS: Ubuntu 20.04.2 LTS (KDE/plasma)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.24291 (Git) AppImage
Build type: Release
Branch: (HEAD detached at 0.19.2)
Hash: 7b5e18a0759de778b74d3a5c17eba9cb815035ac
Python version: 3.8.8
Qt version: 5.12.9
Coin version: 4.0.0
OCC version: 7.4.0
Locale: English/United States (en_US)

Activities

tarun.johar

2021-05-28 18:50

reporter   ~0015678

Hi team,

Can this be looked into?

wmayer

2021-12-09 11:50

administrator   ~0016071

https://forum.freecadweb.org/viewtopic.php?f=3&t=58752&p=504797#p504797

yorik

2022-03-03 13:55

administrator   ~0017051

This ticket has been migrated to GitHub as issue 6220.

Issue History

Date Modified Username Field Change
2021-05-24 14:36 tarun.johar New Issue
2021-05-28 18:50 tarun.johar Note Added: 0015678
2021-12-09 11:50 wmayer Note Added: 0016071