Public bug reported:

With PyQt4, it seems impossible to remove the default layout from a
QDockWidget.

I need to remove the default QLayout widget so I can add a new layout
(Qt won't let you add a new one while another one exists).

The attached script contains a minimal example that tries four different
strategies to remove the old layout. all of them segfault.

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: python-qt4 4.10.4+dfsg-1
ProcVersionSignature: Ubuntu 3.13.0-19.40-generic 3.13.6
Uname: Linux 3.13.0-19-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.13.3-0ubuntu1
Architecture: amd64
CurrentDesktop: Unity
Date: Fri Mar 28 17:00:40 2014
InstallationDate: Installed on 2014-01-06 (81 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Alpha amd64 (20140105)
SourcePackage: python-qt4
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: python-qt4 (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug trusty

** Attachment added: "reproducer script"
   https://bugs.launchpad.net/bugs/1298767/+attachment/4047731/+files/test.py

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1298767

Title:
  Cannot remove a layout on a QDockWidget

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-qt4/+bug/1298767/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to