X11/XCB window resize is broken

Bug #1704803 reported by Paulo Matias
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
qtbase-opensource-src (Ubuntu)
New
Undecided
Unassigned

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.

Revision history for this message
Paulo Matias (paulo-matias) wrote :
tags: added: patch
Revision history for this message
Simon Quigley (tsimonq2) wrote :

Hello Paulo!

Could you please be more specific as to what Ubuntu release this affects? Also, could you please provide a debdiff with a patch under debian/patches?

Please feel free to resubscribe ~ubuntu-sponsors when you have an updated patch.

Thank you!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.