FreeCAD / FreeCAD/FreeCAD

TechDraw: Redo of dimensions incorrectly replaces them in the tree view

Open
#24,110 4 comments 0 reactions 0 assignees View on GitHub
Mod: TechDraw Status: Confirmed Topic: Undo/Redo Type: Bug
Dominant language
C++
Stars
33.6k
Forks
6k
Avg merge
3d 17h
Merged PRs (30d)
196

Description

### Is there an existing issue for this?

- [x] I have searched the existing issues

### Problem description

Redo of dimensions incorrectly replaces them in the tree view.

Steps to reproduce:
1. Place a view on a page in TechDraw
2. Add a dimension
3. Delete the dimension
4. Press Ctrl+z or Undo

## Video of Problem

https://github.com/user-attachments/assets/d15be58e-abdc-4e18-83cf-c6a95a0e0d45

### Full version info

```shell
OS: Fedora Linux 41 (Sway) (sway/sway/wayland)
Architecture: x86_64
Version: 1.1.0dev.43528 (Git)
Build date: 2025/09/17 23:21:16
Build type: Unknown
Branch: td-offclick
Hash: c9e7da359a871d8b864a68ab8f501df9c01c24f2
Python 3.11.13, Qt 6.8.3, Coin 4.0.3, Vtk 9.3.1, boost 1_86, Eigen3 3.4.0, PySide 6.8.3
shiboken 6.8.3, xerces-c 3.3.0, IfcOpenShell 0.8.2, OCC 7.8.1
Locale: English/Australia (en_AU)
Navigation Style/Orbit Style/Rotation Mode: Touchpad/Trackball/Drag at cursor
Stylesheet/Theme/QtStyle: OpenDark.qss/OpenDark/
Logical DPI/Physical DPI/Pixel Ratio: 96/159.34/1
Installed mods:
* Render 2024.12.15
* DFM
* fasteners 0.5.41
* AddonManager 2025.8.23dev
* OpenTheme 2025.5.20
* Telemetry 1.0.2
* CfdOF 1.32.1
* sheetmetal 0.7.53
```

### Subproject(s) affected?

TechDraw

### Anything else?

_No response_

### Code of Conduct

- [x] I agree to follow this project's Code of Conduct

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.