Merge lp:~gerboland/qtubuntu/enable-debug-mode into lp:qtubuntu
| Status: | Superseded |
|---|---|
| Proposed branch: | lp:~gerboland/qtubuntu/enable-debug-mode |
| Merge into: | lp:qtubuntu |
| Prerequisite: | lp:~albaguirre/qtubuntu/use-mir-surface-apis |
| Diff against target: |
562 lines (+167/-56) 14 files modified
debian/control (+1/-0) src/ubuntumirclient/debugextension.cpp (+55/-0) src/ubuntumirclient/debugextension.h (+39/-0) src/ubuntumirclient/input.cpp (+17/-22) src/ubuntumirclient/integration.cpp (+14/-2) src/ubuntumirclient/integration.h (+4/-1) src/ubuntumirclient/logging.h (+1/-0) src/ubuntumirclient/plugin.cpp (+5/-11) src/ubuntumirclient/plugin.h (+2/-3) src/ubuntumirclient/screen.cpp (+1/-6) src/ubuntumirclient/screenobserver.cpp (+1/-1) src/ubuntumirclient/ubuntumirclient.pro (+2/-0) src/ubuntumirclient/window.cpp (+21/-9) src/ubuntumirclient/window.h (+4/-1) |
| To merge this branch: | bzr merge lp:~gerboland/qtubuntu/enable-debug-mode |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Unity8 CI Bot | continuous-integration | Approve on 2016-09-22 | |
| Daniel d'Andrada (community) | Needs Information on 2016-09-22 | ||
| Michael Terry | Abstain on 2016-08-10 | ||
| Nick Dedekind (community) | 2015-10-30 | Needs Information on 2016-01-26 | |
| PS Jenkins bot | continuous-integration | Approve on 2015-10-30 | |
|
Review via email:
|
|||
This proposal has been superseded by a proposal from 2016-09-22.
Commit Message
Use mir-client-debug to map window coordinates to screen coordinates
If client detects testability framework was enabled, try to load the mir-client-debug library and use it to implement UbuntuWindow:
Description of the Change
Use mir-client-debug to map window coordinates to screen coordinates when under testability
To work with unity8 it needs https:/
| Gerry Boland (gerboland) wrote : | # |
| PS Jenkins bot (ps-jenkins) wrote : | # |
PASSED: Continuous integration, rev:283
http://
Executed test runs:
SUCCESS: http://
deb: http://
Click here to trigger a rebuild:
http://
| Gerry Boland (gerboland) wrote : | # |
To test, handiest is to apply this patch: http://
mir_demo_shell --debug
and start any qt app with "-testability" flag.
| Unity8 CI Bot (unity8-ci-bot) wrote : | # |
FAILED: Continuous integration, rev:283
https:/
Executed test runs:
Click here to trigger a rebuild:
https:/
| Nick Dedekind (nick-dedekind) wrote : | # |
Does this mean we can remove UbuntuWindow:
| Nick Dedekind (nick-dedekind) wrote : | # |
And how about QPlatformWindow
| Gerry Boland (gerboland) wrote : | # |
Yep, it lets us remove the panelHeight hack. Could also implement mapFromGlobal too, but I didn't see a use-case
| Nick Dedekind (nick-dedekind) wrote : | # |
rebase please :)
| Nick Dedekind (nick-dedekind) wrote : | # |
Afraid this will not work unless we get https:/
| Unity8 CI Bot (unity8-ci-bot) wrote : | # |
FAILED: Continuous integration, rev:283
https:/
Executed test runs:
FAILURE: https:/
Click here to trigger a rebuild:
https:/
| Daniel d'Andrada (dandrader) wrote : | # |
> Afraid this will not work unless we get
> https:/
It will work as long as application code calls "window-
| Daniel d'Andrada (dandrader) wrote : | # |
It has a bunch of conflicts with trunk. Solved them here: lp:~dandrader/qtubuntu/enable-debug-mode
Feel free to branch it, squash its history and push it here with --overwrite.
This branch, along with lp:~dandrader/qtmir/coordinateTranslator, should be all autopilot folks need for mapping local points to screen points (regardless of any translations, rotations and scalings done by unity8 to the application surface)
| Unity8 CI Bot (unity8-ci-bot) wrote : | # |
PASSED: Continuous integration, rev:287
https:/
Executed test runs:
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
Click here to trigger a rebuild:
https:/
| Unity8 CI Bot (unity8-ci-bot) wrote : | # |
FAILED: Continuous integration, rev:287
https:/
Executed test runs:
FAILURE: https:/
Click here to trigger a rebuild:
https:/
| Daniel d'Andrada (dandrader) wrote : | # |
Lot's of conflicts with trunk:
"""
Text conflict in src/ubuntumircl
Text conflict in src/ubuntumircl
Text conflict in src/ubuntumircl
Text conflict in src/ubuntumircl
4 conflicts encountered.
"""
- 288. By Gerry Boland on 2016-06-24
-
Merge trunk & fix conflicts
- 289. By Gerry Boland on 2016-06-24
-
Fix up some bad merge decisions, and bump copyrights
- 290. By Gerry Boland on 2016-08-10
-
Merged trunk
| Gerry Boland (gerboland) wrote : | # |
I pushed to the actual right branch this time!
| Unity8 CI Bot (unity8-ci-bot) wrote : | # |
FAILED: Continuous integration, rev:290
https:/
Executed test runs:
FAILURE: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
Click here to trigger a rebuild:
https:/
- 291. By Gerry Boland on 2016-08-10
-
Fix FTBFS, pass debug extension to Window
| Unity8 CI Bot (unity8-ci-bot) wrote : | # |
PASSED: Continuous integration, rev:291
https:/
Executed test runs:
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
Click here to trigger a rebuild:
https:/
| Daniel d'Andrada (dandrader) wrote : | # |
"""
+ qDebug() << "NOTICE: Loading mirclient-
"""
Do we want to keep that? If so, better categorize it so that people know where does it come from when seeing it in the console
| Gerry Boland (gerboland) wrote : | # |
Updated
| Daniel d'Andrada (dandrader) wrote : | # |
Those changes in src/ubuntumircl
| Unity8 CI Bot (unity8-ci-bot) wrote : | # |
PASSED: Continuous integration, rev:293
https:/
Executed test runs:
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
Click here to trigger a rebuild:
https:/
| Unity8 CI Bot (unity8-ci-bot) wrote : | # |
PASSED: Continuous integration, rev:294
https:/
Executed test runs:
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
Click here to trigger a rebuild:
https:/
- 292. By Gerry Boland on 2016-09-22
-
Merge trunk
- 293. By Gerry Boland on 2016-09-22
-
Use category logging for debug extension warnings
- 294. By Gerry Boland on 2016-09-22
-
Use dedicated logging category for debug-related messages
- 295. By Gerry Boland on 2016-10-04
-
Merge trunk

Note: this requires work on unity8's side before it is functional. But it works with mir-demo-server.
Also note, mir only supports this mir-client-debug extension if the mir server is started with the --debug argument.
This will be a problem for application autopilot testing, as it will require unity8 to be restarted with the --debug flag now.