Details
-
Bug
-
Resolution: Invalid
-
Not Evaluated
-
None
-
5.15.1
-
None
-
Windows 7
Python 3.7.9
Pyside2 5.15.1
Description
I am trying to add multiple QGraphicsTextItem in a scene, grouped through a QGraphicsItemGroup.
If I add the QGraphicsTextItem to the scene before the group (or without even adding the group), the text item is editable just as it should be.
However, in the case where I add the QGraphicsTextItem through the QGraphicsItemGroup (adding the text item after that indicates that it is already in the scene, so it is indeed added), it cannot be edited.
As in both scenario the item is added to the scene and is inside the group, I wonder why the inserting order affects whether it is editable or not - it should be editable in any case.
I don't know if this is a PySide only issue or even an issue at all (maybe it is something I haven't understand correctly).
Feel free to correct me or ask for more details. I have included a script showing the issue.