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 951 - ComponentComplete not called on QDeclarativeItem subclass
: ComponentComplete not called on QDeclarativeItem subclass
Status: CLOSED FIXED
Product: PySide
Classification: Unclassified
Component: QtDeclarative
: 1.0.4
: PC MS Windows XP/Vista/7
: P1 normal
Assigned To: renato filho
:
:
:
  Show dependency treegraph
 
Reported: 2011-08-01 18:07 EEST by Thomas
Modified: 2011-08-23 00:35 EEST (History)
8 users (show)

See Also:


Attachments
python file to trigger the bug (493 bytes, text/plain)
2011-08-01 18:07 EEST, Thomas
Details
qml file to trigger the bug (97 bytes, application/octet-stream)
2011-08-01 18:08 EEST, Thomas
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas 2011-08-01 18:07:54 EEST
Created attachment 384 [details]
python file to trigger the bug

I define a subclass of QDeclarativeItem and register it with qmlRegisterType.
The subclass overrides the componentComplete virtual method of
QDeclarativeItem.

When I create an instance of my class in a qml file, the componentComplete
method is never called. The problem appeared when I updated to 1.0.5.
Comment 1 Thomas 2011-08-01 18:08:32 EEST
Created attachment 385 [details]
qml file to trigger the bug
Comment 2 Thomas 2011-08-01 18:10:09 EEST
I attached a simple test case.
When I run test_.py on 1.0.4, it print "componentComplete", and print nothing
on 1.0.5.
Comment 3 Hugo Parente Lima 2011-08-01 19:09:37 EEST
Thanks for reporting this regression, we are going to fix it ASAP.

Regards
Comment 4 renato filho 2011-08-12 01:10:33 EEST
fixed on pyside commit:

commit f40f69f6e1a65f3b025a3035d4de0a4eaf23b05f
Author: Renato Filho <renato.filho@openbossa.org>
Date:   Thu Aug 11 13:58:04 2011 -0300
Comment 5 renato filho 2011-08-23 00:35:34 EEST
Released on PySide 1.0.6