lp:~unity-team/qtmir/fix-wakelocks
- Get this branch:
- bzr branch lp:~unity-team/qtmir/fix-wakelocks
Branch merges
- PS Jenkins bot (community): Needs Fixing (continuous-integration)
- Daniel d'Andrada: Pending requested
-
Diff: 314 lines (+155/-3)6 files modifiedsrc/modules/Unity/Application/application.cpp (+37/-2)
src/modules/Unity/Application/application.h (+4/-0)
src/modules/Unity/Application/application_manager.cpp (+2/-0)
src/modules/Unity/Application/application_manager.h (+1/-1)
tests/modules/ApplicationManager/application_manager_test.cpp (+108/-0)
tests/modules/common/qtmir_test.cpp (+3/-0)
Related bugs
Bug #1518764: Music app high power consumption when paused | Undecided | Invalid |
Related blueprints
Branch information
Recent revisions
- 421. By Daniel d'Andrada
-
Revert revision 415
The commit "Ensured Mir surface items with size less than or equal to zero are not rendered,
as it's usually done for standard QtQuick items." caused a regression.MirSurface.size was being kept uninitialized, as QSize(-1,-1).
- 420. By Daniel d'Andrada
-
Forward Mir mouse wheel events to the shell cursor Fixes: #1497091
Approved by: Lukáš Tinkl - 419. By Gerry Boland
-
Manage frameSwapped signal/slot connection with MirSurface more strictly to avoid crash.
Direct Signal/slot connections across thread boundaries incur the same risks as any cross-thread calls. While connect/disconnect are thread safe methods, it is possible for a slot to be called while the slot owner is being deconstructed - and so not yet disconnected.
So watch for the Item's window change signal and disconnect signal immediately. Also move slot ownership to MirSurfaceItem to auto-disconnect more aggressively.
Fixes: #1517571
Approved by: Daniel d'Andrada - 418. By Daniel d'Andrada
-
Implemented support for cursors set by client surfaces
Approved by: Lukáš Tinkl
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:qtmir