Merge lp:~dandrader/qtubuntu/shellRotation into lp:qtubuntu
| Status: | Merged |
|---|---|
| Approved by: | Gerry Boland on 2015-03-05 |
| Approved revision: | 255 |
| Merged at revision: | 260 |
| Proposed branch: | lp:~dandrader/qtubuntu/shellRotation |
| Merge into: | lp:qtubuntu |
| Diff against target: |
171 lines (+72/-9) 4 files modified
debian/changelog (+6/-0) src/ubuntumirclient/input.cpp (+7/-0) src/ubuntumirclient/screen.cpp (+57/-7) src/ubuntumirclient/screen.h (+2/-2) |
| To merge this branch: | bzr merge lp:~dandrader/qtubuntu/shellRotation |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Michał Sawicz | Needs Information on 2015-04-30 | ||
| Gerry Boland | 2014-11-19 | Approve on 2015-03-05 | |
| PS Jenkins bot | continuous-integration | Approve on 2015-03-04 | |
|
Review via email:
|
|||
Commit Message
Flip screen dimensions to compensate for a rotated window
And unify logging switch in input.cpp
Description of the Change
Part of the "shell rotation" feature.
For its changes to have any effect it needs all other branches present in this PPA:
https:/
| Gerry Boland (gerboland) wrote : | # |
+ } break;
break on new line please;
+ // The window aspect ratio differ's from the screen one. This means that
+ // unity8 has rotated the window in its scene.
Only for phone though, for tablet/desktop case this will be far from correct. Dash on desktop with this is rotated 90 degrees with this change. We can't regress the desktop.
Instead of guessing based on window & screen geometry, we need a better way to notify Qt that the Screen orientation actually changed. Mir's DisplayConfigur
You're welcome to find a hack to fix tablet/desktop case, but this is definitely something we need to fix properly when Mir allows us to.
| Daniel d'Andrada (dandrader) wrote : | # |
On 19/11/14 15:32, Gerry Boland wrote:
> [...]
> Only for phone though, for tablet/desktop case this will be far from correct. Dash on desktop with this is rotated 90 degrees with this change. We can't regress the desktop.
>
Dash on desktop is rotated 90 degrees because in OrientedShell.qml,
"primaryOrienta
| Daniel d'Andrada (dandrader) wrote : | # |
On 19/11/14 16:03, Daniel d'Andrada wrote:
> On 19/11/14 15:32, Gerry Boland wrote:
>> [...]
>> Only for phone though, for tablet/desktop case this will be far from correct. Dash on desktop with this is rotated 90 degrees with this change. We can't regress the desktop.
>>
> Dash on desktop is rotated 90 degrees because in OrientedShell.qml,
> "primaryOrienta
>
Or maybe not. I've to actually try the stuff on something other than
phone to stop guessing.
| Gerry Boland (gerboland) wrote : | # |
+ } break;
break on new line please;
Code is functional otherwise, so ok to approve
| Daniel d'Andrada (dandrader) wrote : | # |
> + } break;
> break on new line please;
Done.
| PS Jenkins bot (ps-jenkins) wrote : | # |
PASSED: Continuous integration, rev:252
http://
Executed test runs:
SUCCESS: http://
deb: http://
Click here to trigger a rebuild:
http://
- 251. By Robert Carr on 2014-12-12
-
Utilize repeat_count value from Mir in constructing QKeyEvents. Fixes: #1349416
Approved by: Daniel d'Andrada, PS Jenkins bot - 252. By Gerry Boland on 2014-12-12
-
Fix raster-based (QWidget) application rendering.
Replace the QOpenGLPainter-
based renderer with a CPU-bound pixmap one (on advice from Qt developers due to (a) it being unreliable and (b) not rendering perfectly).
Approved by: Michael Zanetti, PS Jenkins bot - 253. By CI Train Bot Account on 2014-12-12
-
Releasing 0.60+15.
04.20141212- 0ubuntu1 - 254. By Daniel d'Andrada on 2015-01-12
-
Flip screen dimensions to compensate for a rotated window
And unify logging switch in input.cpp
| PS Jenkins bot (ps-jenkins) wrote : | # |
PASSED: Continuous integration, rev:254
http://
Executed test runs:
SUCCESS: http://
deb: http://
Click here to trigger a rebuild:
http://
- 255. By Daniel d'Andrada on 2015-03-04
-
Adapt to changes in Qt's platform API
| Daniel d'Andrada (dandrader) wrote : | # |
> FTBFS: http://
Fixed.
| PS Jenkins bot (ps-jenkins) wrote : | # |
PASSED: Continuous integration, rev:255
http://
Executed test runs:
SUCCESS: http://
deb: http://
Click here to trigger a rebuild:
http://
| Gerry Boland (gerboland) wrote : | # |
LGTM. LP claims debian/changelog has a conflict, but trying manually it merges fine
- 256. By Daniel d'Andrada on 2015-03-19
-
Merge trunk
[ Alberto Aguirre ]
* Port qtubuntu to direct mirclient usage for window creation and
input handling.
[ Daniel d'Andrada ]
* Port qtubuntu to direct mirclient usage for window creation and
input handling.
[ Robert Carr ]
* Port qtubuntu to direct mirclient usage for window creation and
input handling.
* No-change rebuild against Qt 5.4.1.
* No-change rebuild against Qt 5.4.0. - 257. By Daniel d'Andrada on 2015-03-19
-
Remove unused variable
| Michał Sawicz (saviq) wrote : | # |
Are these changes backwards-
| Daniel d'Andrada (dandrader) wrote : | # |
> Are these changes backwards-
> Breaks/Depends as needed.
Yes, they are.
If you install only qtubuntu/

PASSED: Continuous integration, rev:251 jenkins. qa.ubuntu. com/job/ qtubuntu- ci/178/ jenkins. qa.ubuntu. com/job/ qtubuntu- vivid-armhf- ci/4 jenkins. qa.ubuntu. com/job/ qtubuntu- vivid-armhf- ci/4/artifact/ work/output/ *zip*/output. zip
http://
Executed test runs:
SUCCESS: http://
deb: http://
Click here to trigger a rebuild: s-jenkins. ubuntu- ci:8080/ job/qtubuntu- ci/178/ rebuild
http://