termux-notification set clipboard on action doesn't work
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 4.3k
- Forks
- 920
- PR merge metrics
- No merged PRs in 30d
Description
Problem description
Trying to set the clipboard from a notification action but text is not set and the previous state is kept.
Steps to reproduce
From Termux: termux-notification --action "termux-clipboard-set some-text"
Expected behavior
After clicking the notification and running termux-clipboard-get or pasting anywhere, 'some-text' should be inserted
Additional information
Android version: 9
CPU arch: aarch64
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing termux-notification --action "termux-clipboard-set some-text" on Android 9, then trace how notification actions launch Termux commands and how clipboard updates are handled. Done means clicking the action changes the clipboard so termux-clipboard-get and pasting return some-text.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- cli, mobile-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100