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 462 - Custom event types is not preserved after posting to QCoreapplication.
: Custom event types is not preserved after posting to QCoreapplication.
Status: CLOSED FIXED
Product: PySide
Classification: Unclassified
Component: PySide
: 0.4.2
: PC MS Windows XP/Vista/7
: P3 critical
Assigned To: renato filho
:
:
:
  Show dependency treegraph
 
Reported: 2010-11-09 07:37 EET by Krzysztof Rusek
Modified: 2010-11-25 17:48 EET (History)
8 users (show)

See Also:


Attachments
This file ilustrates the bug (876 bytes, text/x-python)
2010-11-09 07:37 EET, Krzysztof Rusek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Krzysztof Rusek 2010-11-09 07:37:59 EET
Created attachment 140 [details]
This file ilustrates the bug

After posting a custom subclass of QEvent to a QObject subclass using
QCoreapplication.postEvent, the type of a custom event is lost and the Event is
visible as QEvent class.
The problem was observed on 64 bit Windows 7 with 32 bit python 2.6
I attach a simple code for reproducing the problem.
Comment 1 renato filho 2010-11-19 16:06:15 EET
fixed on shiboken commit:
commit e1ea3fe74afca099e7bba884256e0be0e6f7d200
Author: Renato Araujo Oliveira Filho <renato.filho@openbossa.org>
Date:   Thu Nov 18 10:54:10 2010 -0300

pyside commit:
commit 5e0550446c3546beb4a7076a80a7475b394567f4
Author: Renato Araujo Oliveira Filho <renato.filho@openbossa.org>
Date:   Thu Nov 18 11:02:03 2010 -0300
Comment 2 renato filho 2010-11-25 17:48:23 EET
released on 1.0.0~beta1