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 339 - RuntimeError when accessing mousepress event object
: RuntimeError when accessing mousepress event object
Status: CLOSED FIXED
Product: PySide
Classification: Unclassified
Component: QtGui
: HEAD
: All All
: P5 normal
Assigned To: renato filho
:
:
:
  Show dependency treegraph
 
Reported: 2010-09-02 08:39 EEST by Matti Airas
Modified: 2010-10-13 13:48 EEST (History)
8 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matti Airas 2010-09-02 08:39:35 EEST
In examples/itemviews/chart/chart.py:

When you click on the piechart, you get:

Traceback (most recent call last):
  File "./chart.py", line 427, in verticalOffset
    return self.verticalScrollBar().value()
  File "./chart.py", line 205, in mousePressEvent
    self.origin = event.pos()
RuntimeError: Internal C++ object already deleted.

This happens whenever any QMouseEvent method is called. Works in PyQt.

No testcase, I'm lazy, sorry. :-)
Comment 1 Hugo Parente Lima 2010-09-17 10:37:10 EEST
Fixed in commit:

shiboken/42a3b42f8a00e94dd10e786210739fee7878cf51
Comment 2 renato filho 2010-10-13 13:48:32 EEST
released on PySide 0.4.2