Public bug reported:

This is an upstream bug: https://bugreports.qt.io/browse/QTBUG-57608

---[quote]---
As per the src; Qt assumes that all resize requests will succeed (and in turn, 
apparently, "proactively" resizes child windows for such requests; it's not 
clear if this is because of or even related to the noted issue; it may just be 
how Virtualbox commands Qt5 to behave in this case). This leads to very broken 
behavior and unusable applications where this assumption is invalid; for a 
library like Qt, it's never actually valid (as acknowledged by the FIXME: 
comment).

This has most recently shown its face with the Virtualbox project, exposed by 
i3 and other window managers, though tiling window managers seem to make use of 
this protocol more than most. The Virtualbox bug report has some good details; 
the i3 report has good details on the compounding effects of such an issue.
---[end quote]---

The attached patch is a backport of the upstream fix. I'm also currently
maintaining a PPA including this patch: https://launchpad.net/~paulo-
matias/+archive/ubuntu/qt5-tiling

It would be nice if the patch was included in the official Ubuntu
package.

** Affects: qtbase-opensource-src (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: patch-accepted-upstream

** Patch added: "Backport of upstream fix"
   
https://bugs.launchpad.net/bugs/1704803/+attachment/4916192/+files/QTBUG-57608.diff

-- 
You received this bug notification because you are a member of Ubuntu
SDK bug tracking, which is subscribed to qtbase-opensource-src in
Ubuntu.
https://bugs.launchpad.net/bugs/1704803

Title:
  X11/XCB window resize is broken

Status in qtbase-opensource-src package in Ubuntu:
  New

Bug description:
  This is an upstream bug: https://bugreports.qt.io/browse/QTBUG-57608

  ---[quote]---
  As per the src; Qt assumes that all resize requests will succeed (and in 
turn, apparently, "proactively" resizes child windows for such requests; it's 
not clear if this is because of or even related to the noted issue; it may just 
be how Virtualbox commands Qt5 to behave in this case). This leads to very 
broken behavior and unusable applications where this assumption is invalid; for 
a library like Qt, it's never actually valid (as acknowledged by the FIXME: 
comment).

  This has most recently shown its face with the Virtualbox project, exposed by 
i3 and other window managers, though tiling window managers seem to make use of 
this protocol more than most. The Virtualbox bug report has some good details; 
the i3 report has good details on the compounding effects of such an issue.
  ---[end quote]---

  The attached patch is a backport of the upstream fix. I'm also
  currently maintaining a PPA including this patch:
  https://launchpad.net/~paulo-matias/+archive/ubuntu/qt5-tiling

  It would be nice if the patch was included in the official Ubuntu
  package.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtbase-opensource-src/+bug/1704803/+subscriptions

-- 
Mailing list: https://launchpad.net/~ubuntu-sdk-bugs
Post to     : ubuntu-sdk-bugs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-sdk-bugs
More help   : https://help.launchpad.net/ListHelp

Reply via email to