PySide Bugzilla Closed for New Bugs

PySide is now a Qt Add-on and uses the Qt Project's JIRA Bug Tracker instead of this Bugzilla instance. This Bugzilla is left for reference purposes.

Bug 367 - Adding nested items to QStandardItemModel fails in C++-Layer
: Adding nested items to QStandardItemModel fails in C++-Layer
Status: CLOSED FIXED
Product: PySide
Classification: Unclassified
Component: PySide
: 0.4.1
: PC Linux
: P3 normal
Assigned To: renato filho
:
:
:
  Show dependency treegraph
 
Reported: 2010-09-18 10:04 EEST by msonnemann
Modified: 2010-10-13 13:48 EEST (History)
8 users (show)

See Also:


Attachments
Bug in the QStandardIteModel when nesting items (1.44 KB, text/x-python)
2010-09-18 10:05 EEST, msonnemann
Details

Note You need to log in before you can comment on or make changes to this bug.
Description msonnemann 2010-09-18 10:04:32 EEST
Trying to construct a deeply nested tree fails with "Exception: RuntimeError:
Internal C++ object already deleted."

This happens only if the parent item is not referenced in a separate python
instance (e.g. in a list). Additionally, it happens only at a depth of two
parent items or moe.

A minimal test case plus workaround is attached.
Comment 1 msonnemann 2010-09-18 10:05:31 EEST
Created attachment 89 [details]
Bug in the QStandardIteModel when nesting items
Comment 2 renato filho 2010-09-20 19:10:07 EEST
fixed on PySide commit: 

commit f8a12b7577773f6a02804e1e60920a964f5e01ca
Author: renatofilho <renato.filho@openbossa.org>
Date:   Mon Sep 20 18:31:49 2010 -0300
Comment 3 renato filho 2010-10-13 13:48:48 EEST
released on PySide 0.4.2