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 643 - QTabWidget.insertTab not taking ownership
: QTabWidget.insertTab not taking ownership
Status: CLOSED FIXED
Product: PySide
Classification: Unclassified
Component: QtGui
: HEAD
: PC Linux
: P3 normal
Assigned To: Hugo Parente Lima
:
:
:
  Show dependency treegraph
 
Reported: 2011-01-27 10:02 EET by Mattia Barbon
Modified: 2011-02-17 19:18 EET (History)
8 users (show)

See Also:


Attachments
Test program (236 bytes, text/x-python)
2011-01-27 10:02 EET, Mattia Barbon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mattia Barbon 2011-01-27 10:02:33 EET
Created attachment 236 [details]
Test program

Hi,
using PyQt, the attached program displays a single tab containing a button,
with PySide it displays no tabs; it seems the QTabWidget is not taking
ownership of the added widget (storing the button in a global variable makes
the program "work" in PySide).

Regards,
Mattia
Comment 1 Matti Airas 2011-01-28 09:03:53 EET
Thanks for the bug report - although I think this may be a feature instead of a
bug, I'm prioritizing this P3 to let the core dev team members verify the issue
and provide a workaround, if required.
Comment 2 Matti Airas 2011-01-28 09:41:21 EET
*** Bug 644 has been marked as a duplicate of this bug. ***
Comment 3 Hugo Parente Lima 2011-02-04 15:20:55 EET
It's a typo on typesystemm, we have two entries for:

insertTab(int, QWidget*, const QIcon&, const QString&)

instead of one entry for each overload.
Comment 4 Hugo Parente Lima 2011-02-04 19:32:39 EET
Fixed in commit:
pyside/d44aa5c3106ad8b2e9b08bd36a471bffd29fc5fc
Comment 5 Hugo Parente Lima 2011-02-17 19:18:17 EET
Released in 1.0.0~rc1