~ci-train-bot/qtubuntu/qtubuntu-ubuntu-xenial-landing-005

  • Committer: CI Train Bot
  • Author(s): Alberto Aguirre
  • Date: 2015-11-17 14:49:21 UTC
  • mfrom: (258.6.46 use-mir-surface-apis)
  • Revision ID: ci-train-bot@canonical.com-20151117144921-nrpn5zal5ncrjxvt
Add support for Qt popups and dialog windows.

I have done some refactoring, cleanup and some bug fixing.

- An UbuntuWindow internally creates UbuntuSurface
- UbuntuSurface is responsible for creating the mir surfaces and calling mir apis
- Fix mutex locking (now really protecting access to mSurface) was not locked properly (QMutexLocker temporaries were created : QMutexLocker(&d->mutex) instead of QMutexLocker lock(&d->mutex).
- Handling resize events from the server has been improved.
-- Old resize events are dropped - meaning no redraw requests are issued if we know there are newer resize events in the queue
-- Redraw requests are never issued through the rendering thread only through the Qt event dispatch thread.
-- No flushing of event queue which leads to fewer interruptions in other surfaces (specially noticeable on surfaces that do animations).
- Workaround QtCreator not assigning a parent to its menu bar menus
-- The last focused window is tracked and used if a Qt popup is created without a parent
- Client requested resizes (through setGeometry) is now supported
- Resizing constraints are supported (propagateSizeHints)
- Visibility and window state are tracked separately
- Better focusing event handling
-- When an app has multiple windows, mir will send focus lost/gain pairs,
   in which case we need to peek into the queue to avoid telling Qt to unfocus all windows prematurely.
Approved by: PS Jenkins bot, Daniel d'Andrada
Filename Latest Rev Last Changed Committer Comment Size
..
.bzr-builddeb 106.3.1 11 years ago Loïc Molinari Fixed licensing and packaging issues before releas Diff
debian 18.1.1 11 years ago Ricardo Mendoza Add packaging rules and point lib includes to corr Diff
src 1 11 years ago Loïc Molinari Initial import. Diff
.bzrignore 91.1.1 11 years ago Loïc Molinari Added clipboard support. 510 bytes Diff Download File
COPYING 106.3.1 11 years ago Loïc Molinari Fixed licensing and packaging issues before releas 34.3 KB Diff Download File
COPYING.LGPL 106.3.1 11 years ago Loïc Molinari Fixed licensing and packaging issues before releas 7.4 KB Diff Download File
qtubuntu.pro 271.1.2 8 years ago Daniel d'Andrada Remove unneeded dependencies from debian/control a 34 bytes Diff Download File
README 231.1.1 9 years ago Gerry Boland Flatten class hierarchy, drop legacy and ubuntumir 2.6 KB Diff Download File