Merge lp:~lukas-kde/unity8/desktopFileActions into lp:unity8
| Status: | Work in progress |
|---|---|
| Proposed branch: | lp:~lukas-kde/unity8/desktopFileActions |
| Merge into: | lp:unity8 |
| Diff against target: |
1174 lines (+689/-83) 16 files modified
plugins/Unity/Launcher/CMakeLists.txt (+2/-0) plugins/Unity/Launcher/dbusinterface.h (+1/-2) plugins/Unity/Launcher/desktopfilehandler.cpp (+91/-40) plugins/Unity/Launcher/desktopfilehandler.h (+17/-4) plugins/Unity/Launcher/launcheritem.cpp (+7/-5) plugins/Unity/Launcher/launcheritem.h (+3/-1) plugins/Unity/Launcher/launchermodel.cpp (+26/-4) plugins/Unity/Launcher/quicklistentry.cpp (+12/-4) plugins/Unity/Launcher/quicklistentry.h (+4/-3) plugins/Unity/Launcher/quicklistmodel.cpp (+0/-9) plugins/Unity/Launcher/quicklistmodel.h (+1/-3) tests/mocks/Unity/Launcher/MockLauncherModel.cpp (+3/-2) tests/plugins/Unity/Launcher/CMakeLists.txt (+3/-1) tests/plugins/Unity/Launcher/google-chrome.desktop (+222/-0) tests/plugins/Unity/Launcher/launchermodeltest.cpp (+50/-5) tests/plugins/Unity/Launcher/thunderbird.desktop (+247/-0) |
| To merge this branch: | bzr merge lp:~lukas-kde/unity8/desktopFileActions |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Unity8 CI Bot | continuous-integration | Needs Fixing on 2016-06-20 | |
| Michael Zanetti (community) | Needs Information on 2016-04-05 | ||
| Albert Astals Cid (community) | merges fine | Abstain on 2016-03-15 | |
| PS Jenkins bot | continuous-integration | Needs Fixing on 2016-01-04 | |
| Michael Terry | 2015-11-02 | Needs Fixing on 2015-11-10 | |
|
Review via email:
|
|||
Commit Message
Extend launcher quick list items with extra actions from the .desktop file
Description of the Change
Extend launcher quick list items with extra actions coming from the respective .desktop file
DesktopFileHandler now parses extra action in the Actions or X-Ayatana-
For example, Google Chrome gets these extra actions: "New Window" or "New Anonymous Window", Libreoffice Calc: "New spreadsheet".
* 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?
N/A
* If you changed the UI, has there been a design review?
N/A
- 2013. By Lukáš Tinkl on 2015-11-05
-
merge trunk
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:2013
http://
Executed test runs:
UNSTABLE: http://
FAILURE: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
UNSTABLE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
FAILURE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
| Michael Terry (mterry) wrote : | # |
Comments inline. Haven't tested yet, this was just looking over the code.
- 2014. By Lukáš Tinkl on 2015-11-10
-
merge trunk
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:2014
http://
Executed test runs:
SUCCESS: http://
FAILURE: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
FAILURE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
- 2015. By Lukáš Tinkl on 2015-11-10
-
fix issues pointed out in review
| Lukáš Tinkl (lukas-kde) wrote : | # |
> Comments inline. Haven't tested yet, this was just looking over the code.
Issues should be fixed, tests still passing
| Michael Terry (mterry) wrote : | # |
Thanks for addressing my nits! One further inline note and then bringing some bigger issues out to the comment thread.
First, startApplication is a no-op if the application is already running. We support desktop actions on already-running apps on the desktop. I assume the spec for this feature on Touch also supports desktop actions on already-running apps.
This will seemingly require plumbing changes to allow running an app twice with different arguments. Changes in qtmir at least, which should be coordinated with Gerry.
Second, I'd like to see a test that runs through the code that launches an app. Makes sure we do launch the app, with the right arguments, and ignore the first token (instead preferring the appId).
And it should cover the "app not running" case as well as the "app already running" case.
If you had such a test, you'd run into the first issue above.
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:2015
http://
Executed test runs:
SUCCESS: http://
FAILURE: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
FAILURE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
- 2016. By Lukáš Tinkl on 2015-11-10
-
parse and split the args using g_shell_
parse_argv( )
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:2016
http://
Executed test runs:
SUCCESS: http://
FAILURE: http://
SUCCESS: http://
FAILURE: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
FAILURE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
| Albert Astals Cid (aacid) wrote : | # |
Text conflict in tests/plugins/
1 conflicts encountered.
- 2017. By Lukáš Tinkl on 2015-11-20
-
merge trunk
| Lukáš Tinkl (lukas-kde) wrote : | # |
> Text conflict in tests/plugins/
> 1 conflicts encountered.
Fixed
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:2017
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
- 2018. By Lukáš Tinkl on 2015-11-30
-
merge trunk
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:2018
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
- 2019. By Lukáš Tinkl on 2015-12-02
-
merge trunk
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:2019
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
- 2020. By Lukáš Tinkl on 2016-01-04
-
merge trunk
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:2020
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
| Unity8 CI Bot (unity8-ci-bot) wrote : | # |
FAILED: Continuous integration, rev:2020
https:/
Executed test runs:
Click here to trigger a rebuild:
https:/
| Albert Astals Cid (aacid) wrote : | # |
Text conflict in plugins/
Text conflict in plugins/
Text conflict in plugins/
3 conflicts encountered.
- 2021. By Lukáš Tinkl on 2016-03-14
-
merge trunk, resolve conflicts
| Unity8 CI Bot (unity8-ci-bot) wrote : | # |
FAILED: Continuous integration, rev:2021
https:/
Executed test runs:
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
Click here to trigger a rebuild:
https:/
| Unity8 CI Bot (unity8-ci-bot) wrote : | # |
FAILED: Continuous integration, rev:2021
https:/
Executed test runs:
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
Click here to trigger a rebuild:
https:/
- 2022. By Lukáš Tinkl on 2016-05-12
-
merge trunk
| Unity8 CI Bot (unity8-ci-bot) wrote : | # |
FAILED: Continuous integration, rev:2022
https:/
Executed test runs:
SUCCESS: https:/
FAILURE: https:/
FAILURE: https:/
Click here to trigger a rebuild:
https:/
| Unity8 CI Bot (unity8-ci-bot) wrote : | # |
FAILED: Continuous integration, rev:2022
https:/
Executed test runs:
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
Click here to trigger a rebuild:
https:/
- 2023. By Lukáš Tinkl on 2016-06-06
-
merge trunk
| Unity8 CI Bot (unity8-ci-bot) wrote : | # |
FAILED: Continuous integration, rev:2023
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:/
| Albert Astals Cid (aacid) wrote : | # |
Text conflict in plugins/
Text conflict in tests/plugins/
2 conflicts encountered.
- 2024. By Lukáš Tinkl on 2016-06-20
-
merge trunk, resolve conflicts
| Lukáš Tinkl (lukas-kde) wrote : | # |
Conflicts resolved
| Unity8 CI Bot (unity8-ci-bot) wrote : | # |
FAILED: Continuous integration, rev:2024
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:/
| Albert Astals Cid (aacid) wrote : | # |
No changes since more than 2 months, i'll put it as WiP
Unmerged revisions
- 2024. By Lukáš Tinkl on 2016-06-20
-
merge trunk, resolve conflicts
- 2023. By Lukáš Tinkl on 2016-06-06
-
merge trunk
- 2022. By Lukáš Tinkl on 2016-05-12
-
merge trunk
- 2021. By Lukáš Tinkl on 2016-03-14
-
merge trunk, resolve conflicts
- 2020. By Lukáš Tinkl on 2016-01-04
-
merge trunk
- 2019. By Lukáš Tinkl on 2015-12-02
-
merge trunk
- 2018. By Lukáš Tinkl on 2015-11-30
-
merge trunk
- 2017. By Lukáš Tinkl on 2015-11-20
-
merge trunk
- 2016. By Lukáš Tinkl on 2015-11-10
-
parse and split the args using g_shell_
parse_argv( ) - 2015. By Lukáš Tinkl on 2015-11-10
-
fix issues pointed out in review

FAILED: Continuous integration, rev:2012 jenkins. qa.ubuntu. com/job/ unity8- ci/6629/ jenkins. qa.ubuntu. com/job/ generic- deb-autopilot- vivid-touch/ 4977/console jenkins. qa.ubuntu. com/job/ generic- deb-autopilot- xenial- touch/44/ console jenkins. qa.ubuntu. com/job/ unity-phablet- qmluitests- vivid/1341/ console jenkins. qa.ubuntu. com/job/ unity8- qmluitest- xenial- amd64/44/ console jenkins. qa.ubuntu. com/job/ unity8- vivid-amd64- ci/1236/ console jenkins. qa.ubuntu. com/job/ unity8- vivid-i386- ci/1237/ console jenkins. qa.ubuntu. com/job/ unity8- xenial- amd64-ci/ 43/console jenkins. qa.ubuntu. com/job/ unity8- xenial- i386-ci/ 43/console jenkins. qa.ubuntu. com/job/ generic- mediumtests- builder- vivid-armhf/ 4974/console jenkins. qa.ubuntu. com/job/ generic- mediumtests- builder- xenial- armhf/44/ console
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild: s-jenkins. ubuntu- ci:8080/ job/unity8- ci/6629/ rebuild
http://