Add ContentHub text import option to text field context menu
Bug #1563440 reported by
Michael Hall
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu UX |
New
|
Undecided
|
Unassigned | ||
ubuntu-ui-toolkit (Ubuntu) |
Fix Released
|
Medium
|
Arthur Mello |
Bug Description
It would be nice to have an "Import" option to a text field's context menu, next to cut/copy/paste, that will open a ContentPeerPicker for apps that can share Text.
Currently you can open another app, and copy text from it if it supports copying, then paste it into the text field. But we have a nice ContentHub service that supports sharing chunks of text, and it would streamline the user experience if we could enable this by default for text inputs.
Bonus points if we could send some context along with the import request, such as what app or website it's going to, but I don't think the ContentHub API supports that.
Related branches
lp://staging/~artmello/ubuntu-ui-toolkit/ubuntu-ui-toolkit-clipboard-dbus
- ubuntu-sdk-build-bot: Approve (continuous-integration)
- Cris Dywan: Approve
- Zsombor Egri: Needs Fixing
-
Diff: 842 lines (+675/-6)14 files modifiedsrc/UbuntuToolkit/UbuntuToolkit.pro (+2/-0)
src/UbuntuToolkit/privates/uccontenthub.cpp (+218/-0)
src/UbuntuToolkit/privates/uccontenthub_p.h (+68/-0)
src/UbuntuToolkit/ubuntutoolkitmodule.cpp (+3/-0)
src/imports/Components/1.3/TextArea.qml (+15/-0)
src/imports/Components/1.3/TextField.qml (+23/-1)
src/imports/Components/1.3/TextInputPopover.qml (+4/-3)
tests/license/checklicense.sh (+1/-1)
tests/unit/contenthub/TextAreaPaste.qml (+32/-0)
tests/unit/contenthub/TextFieldPaste.qml (+31/-0)
tests/unit/contenthub/com.ubuntu.content.MockService.xml (+17/-0)
tests/unit/contenthub/contenthub.pro (+5/-0)
tests/unit/contenthub/tst_contenthub.cpp (+254/-0)
tests/unit/unit.pro (+2/-1)
Changed in ubuntu-ui-toolkit (Ubuntu): | |
status: | Incomplete → In Progress |
assignee: | Christian Dywan (kalikiana) → Arthur Mello (artmello) |
tags: | added: unity8 |
Changed in ubuntu-ui-toolkit (Ubuntu): | |
status: | In Progress → Fix Committed |
To post a comment you must log in.
This needs UX input.