-
Notifications
You must be signed in to change notification settings - Fork 6
Description
Checklist:
- I updated to the latest version available
Used the latest sources Commit 8be7670
Running on Python 3.11
poetry run python build.py to build the package
poetry run doorstop-edit to run the program
Description of problem:
Document Tree behaves erratic after adding items
I opened up the original doorstop repository in Doorstop-Edit. this contains requirements in different documents:
REQ
│
├── LLT
│
├── EXT
│
└── TUT
│
└── HLT
Tried to add a new item using the context menu in the document tree. Document REQ:
Expected behavior
A new item is shown below the 3.4 Assets entry.
Observed behavior
The new item is displayed in the tree as 1.0 and the section 3 is collapsed again.
The new entry however, has the correct number 3.5 after selecting in the tree view.
After editing the new requirement, on has to reload the tree view manually to have the new item in the correct position.
Additional Info
Things get worse, when adding a new item to a sub document:
- new item is created like described above
- The treeview displays the parent document and one has to manually change the document, find the new item, edit it and reload the tree.
Version dump:
Version: (local)
VCS: 0.1.1-47-g8be7670-dirty
Commit: 8be7670925b9c2116494df66a693c05b9c6a7450
Date: 2025-08-05T14:37:58.107678
Doorstop: 3.0
PySide6: 6.9.0
Python: 3.11.11
OS: Windows-10-10.0.26100-SP0
Additional information:
Looks like the tree view is not correctly synchronized with other things going on. unfortunately, I'm not sufficiently into QT to inestigate further.
I would really appreciate some update on this, as the other functions of doorstop-edit quite fit exactly our needs.