[Merge] lp:~dandrader/qtubuntu/busySwap-lp1473720 into lp:qtubuntu

Daniel d'Andrada daniel.dandrada at canonical.com
Tue Jul 14 21:05:36 UTC 2015


Daniel d'Andrada has proposed merging lp:~dandrader/qtubuntu/busySwap-lp1473720 into lp:qtubuntu.

Commit message:
Fix surface resize

If you call QWindowSystemInterface::handleExposeEvent() from the render
thread you won't give a change for the main thread to process further
resize events. In a long resize animation (like dragging a window border
with mouse) the resize events will queue up like crazy, leving
handleSurfaceResize() to deal with a ton of outdated resize events
once the resize animation is finally over.

Furthermore, as there's no synchronicity between the processing of resize
events and the consupmtion of buffers, there's no point in trying to tie
one to the other in any way. So better ignore the actual size information
from a resize event.

Requested reviews:
  Ubuntu Phablet Team (phablet-team)
Related bugs:
  Bug #1473720 in qtubuntu: "keyboard stops working, maliit and unity8 consuming cpu"
  https://bugs.launchpad.net/qtubuntu/+bug/1473720

For more details, see:
https://code.launchpad.net/~dandrader/qtubuntu/busySwap-lp1473720/+merge/264761

Fixes https://bugs.launchpad.net/qtubuntu/+bug/1473720
-- 
Your team Ubuntu Phablet Team is requested to review the proposed merge of lp:~dandrader/qtubuntu/busySwap-lp1473720 into lp:qtubuntu.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: review-diff.txt
Type: text/x-diff
Size: 2401 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-reviews/attachments/20150714/ce6ddd72/attachment.diff>


More information about the Ubuntu-reviews mailing list