lp://staging/~ci-train-bot/qtmir/qtmir-ubuntu-yakkety-landing-036
- Get this branch:
- bzr branch lp://staging/~ci-train-bot/qtmir/qtmir-ubuntu-yakkety-landing-036
Branch merges
Branch information
Recent revisions
- 544. By Daniel van Vugt
-
Fix incorrect mouse wheel/touchpad scrolling scale (LP: #1607240)
and also add sufficient precision that high-resolution touchpad
scrolling now works! (LP: #1607223)This fixes two mistakes:
1. angleDelta is not in degrees but eighths of a degree, so the magic
constant 15 should be 120 (QWheelEvent::DefaultDeltasP erStep)
[http://doc.qt. io/qt-5/ qwheelevent. html#angleDelta].
2. When converting from Qt back into a Mir event we forgot completely
to divide by the same factor to get back to the Mir scale of things. (LP: #1607223, #1607240)Approved by: Lukáš Tinkl, Unity8 CI Bot
- 543. By Daniel d'Andrada
-
Remove Application.stage and RoleStage from ApplicationManager
They're not used anymore
Approved by: Gerry Boland
- 541. By Albert Astals Cid
-
Improvements from running clazy over the code
* Use QStringLiterals for literals
* Add some QLatin1Strings
* Add some reserve() calls
* Change a QList to QVector since QList is not optimal on big items
* Add some const &
* Add one override
* Fix some struct/class mistmatchesclazy: https:/
/quickgit. kde.org/ ?p=scratch% 2Fsmartins% 2Fclazy. git
Run over the src folderApproved by: Gerry Boland
- 540. By Alan Griffiths
-
Reduce MirServer to an implementation detail of QMirServer (nothing else needs to touch it).
Approved by: Daniel d'Andrada, Unity8 CI Bot
- 538. By Gerry Boland
-
AppMan: queue the onProcessStarting slot, as processStarting blocks ubuntu-app-launch from executing the process.
The ProcessStarting signal is fired by a sync dbus call from upstart via ubuntu-app-launch. It is a sync call as AppMan needs to be informed of a new process, before that process can connect through Mir and be authenticated with authoriseSession (it was async before, but we had to make it sync to fix a bug where fast starting processes would connect to Mir before upstart's signal was received).
Instead of reacting immediately in the onProcessStarted - creating the Application & emitting signals to shell (which causes animations) -all blocking upstart launching the app, it is better to push an event onto the event queue and let upstart launch the app.
Note that authoriseSession is a slot connected to with a BlockingQueuedC
onnection, which also creates an event and pushes it to the event queue. As this will definitely happen after the processStarted signal, we are guaranteed that the slots will be called in the correct order. This change improves app startup times on Krillin by around 100ms.
Approved by: Daniel d'Andrada
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp://staging/qtmir