discipl / flinteditor-mps

GNU General Public License v3.0
2 stars 3 forks source link

Editing Explanation field freezes UI #175

Open TristanAlbers opened 2 years ago

TristanAlbers commented 2 years ago

Bug

User story

The user wants to be able to create and edit an explanation in an Act/Fact/Duty/FlintSource

Description

The bug consists of the UI freezing while editing the explanation field. This is because the string property is directly linked to a Root Node. When the property changes (which is with every key stroke) every Root Node in the model is refreshed. This causes the UI to freeze when the model exceeds ca. 1300 Root Nodes

Workaround

Currently the only workaround for this issue is decreasing the amount of nodes, sadly this is not feasible. This issue should be fixed with completing either #148 or #186

TristanAlbers commented 2 years ago

Should be fixed when switch to reFACToring story.

Hotfix could be moving the explanation from a property to a child with a property. (Issue stems from to many nodes inside one model)