[Bug 1298767] [NEW] Cannot remove a layout on a QDockWidget

Thomi Richards 1298767 at bugs.launchpad.net
Fri Mar 28 04:05:23 UTC 2014


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
Foundations Bugs, which is subscribed to python-qt4 in Ubuntu.
https://bugs.launchpad.net/bugs/1298767

Title:
  Cannot remove a layout on a QDockWidget

Status in “python-qt4” package in Ubuntu:
  New

Bug description:
  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)

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



More information about the foundations-bugs mailing list