Merge lp://qastaging/~mcintire-evan/ubuntu-terminal-app/disable_paste into lp://qastaging/~ubuntu-terminal-dev/ubuntu-terminal-app/reboot
Proposed by
Evan McIntire
Status: | Merged |
---|---|
Approved by: | Niklas Wenzel |
Approved revision: | 166 |
Merged at revision: | 166 |
Proposed branch: | lp://qastaging/~mcintire-evan/ubuntu-terminal-app/disable_paste |
Merge into: | lp://qastaging/~ubuntu-terminal-dev/ubuntu-terminal-app/reboot |
Diff against target: |
42 lines (+10/-0) 3 files modified
src/app/qml/AlternateActionPopover.qml (+1/-0) src/plugin/qmltermwidget/lib/TerminalDisplay.cpp (+5/-0) src/plugin/qmltermwidget/lib/TerminalDisplay.h (+4/-0) |
To merge this branch: | bzr merge lp://qastaging/~mcintire-evan/ubuntu-terminal-app/disable_paste |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Jenkins Bot | continuous-integration | Approve | |
Niklas Wenzel (community) | Approve | ||
Stefano Verzegnassi | Pending | ||
Alan Pope πΊπ§π± π¦ | Pending | ||
Review via email: mp+285280@code.qastaging.launchpad.net |
This proposal supersedes a proposal from 2016-01-20.
Commit message
Disables pasteo option if the clipboard buffer is empty
Description of the change
Disables "paste" if the clipboard buffer is empty
To post a comment you must log in.
Thank you for the patch!
I really see why you want to implement this feature. However, there are some issues with the code.
What this currently does is the following: it hides the paste option when the user has selected some text and shows it if there is no selection. So currently this does not at all check if the clipboard is empty or not. /developer. ubuntu. com/api/ apps/qml/ sdk-15. 04.1/Ubuntu. Components. Clipboard/
In order to change that, you would probably want to use the Clipboard API for that: https:/
It should do the trick. ;)
Cheers,
Niklas