Merge lp:~lukas-kde/unity8/platformPlugin into lp:unity8
| Status: | Merged |
|---|---|
| Approved by: | Michael Zanetti on 2015-10-09 |
| Approved revision: | 2002 |
| Merged at revision: | 2013 |
| Proposed branch: | lp:~lukas-kde/unity8/platformPlugin |
| Merge into: | lp:unity8 |
| Diff against target: |
237 lines (+175/-2) 8 files modified
plugins/Unity/CMakeLists.txt (+1/-0) plugins/Unity/Platform/CMakeLists.txt (+9/-0) plugins/Unity/Platform/platform.cpp (+43/-0) plugins/Unity/Platform/platform.h (+58/-0) plugins/Unity/Platform/plugin.cpp (+27/-0) plugins/Unity/Platform/plugin.h (+32/-0) plugins/Unity/Platform/qmldir (+2/-0) qml/Components/Dialogs.qml (+3/-2) |
| To merge this branch: | bzr merge lp:~lukas-kde/unity8/platformPlugin |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| PS Jenkins bot | continuous-integration | Needs Fixing on 2015-10-09 | |
| Michał Sawicz | conceptual | Approve on 2015-10-09 | |
| Michael Zanetti (community) | 2015-10-09 | Approve on 2015-10-09 | |
|
Review via email:
|
|||
Commit Message
Implement Unity.Platform plugin wrapping org.freedesktop
Description of the Change
Implement Unity.Platform plugin wrapping org.freedesktop
To get access to platform properties like form factor to be able to distinguish whether we run on a PC or on a phone/tablet. See http://
Allows fixing lpbug#1504318: power off dialog pops up instantly in window mode (https:/
* Are there any related MPs required for this MP to build/function as expected? Please list.
No
* Did you perform an exploratory manual test run of your code change and any related functionality?
Yes
* Did you make sure that your branch does not contain spurious tags?
Yes
* If you changed the packaging (debian), did you subscribe the ubuntu-unity team to this MP?
Yes
* If you changed the UI, has there been a design review?
N/A
| Michał Sawicz (saviq) wrote : | # |
Is this really the distinction we want to make? Shouldn't the phone, when connected to a kbd and mouse, behave like a desktop (so pressing the power button should not blank the screen but display the dialog)? Should not mouse and touch input wake the screen then?
| Michael Zanetti (mzanetti) wrote : | # |
> Is this really the distinction we want to make? Shouldn't the phone, when
> connected to a kbd and mouse, behave like a desktop (so pressing the power
> button should not blank the screen but display the dialog)? Should not mouse
> and touch input wake the screen then?
I think would allow being convinced otherwise but right now I would say, if I dock my phone to an external monitor and use it as a pocket PC, that still doesn't mean I want to shut the phone down with the power button. The device itself is still a "phone" and meant to be always on, keeping me reachable for phone calls etc. So I suggest to continue to walk the path in this MP, keeping phone-ish behavior for the power button even in pocket-desktop mode.
As for waking the screen up with mouse/keyboard, yes I would agree we want that. It's kinda unrelated to the power button situation though.
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:2002
http://
Executed test runs:
UNSTABLE: http://
UNSTABLE: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
UNSTABLE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
UNSTABLE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://

Tested, works fine. Code looks good
* Did you perform an exploratory manual test run of the code change and any related functionality?
yes
* Did CI run pass? If not, please explain why.
waiting
* Did you make sure that the branch does not contain spurious tags?
yes