Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow for selecting and copying text from the UI #394

Open
stackingsaunter opened this issue Apr 1, 2024 · 4 comments
Open

Allow for selecting and copying text from the UI #394

stackingsaunter opened this issue Apr 1, 2024 · 4 comments

Comments

@stackingsaunter
Copy link

Please describe the feature you'd like to see added.

As a user, I'd like to be able to select copy any text and copy from the UI (eg. to quickly share it or google).

Is your feature related to a problem, if so please describe it.

For now, I cannot select nor copy text form UI (eg. descriptions of inputs or settings). Then If I need this text, I need to write it manually.

Describe the solution you'd like

No response

Describe any alternatives you've considered

No response

Please leave any additional context

I used it on macOS M1, v25.99.0-dfad9947e903-dirty

@pablomartin4btc
Copy link
Contributor

I think you can do it with the keyboard: go to the position where you want to start copying with the cursor/ arrow keys, then press and hold shift selecting again with the arrow keys. I tried this before on the IPAddressValueInput, that was recently added to the project (#391), and it works as explained (after enabling it), please let me know if you can't or if there's another input/ control where this is not possible.

On the other hand, mouse text selection thru double click does not work properly yet, I tried to use selectByMouse: true property but it seems it clashes with the parent component MouseArea{} definition; I also read somewhere on stackoverflow that this is not desired in mobile platforms but I need to investigate further as there are some interesting notes on the QT documentation as well (here & here).

@stackingsaunter
Copy link
Author

Would it make sense to detect if user uses mobile or desktop app and based on that have that turned on?

Selecting with shift key does not seem to work on my version though

@pablomartin4btc
Copy link
Contributor

Would it make sense to detect if user uses mobile or desktop app and based on that have that turned on?

Yes, we can do that.

Selecting with shift key does not seem to work on my version though

It works on desktop platform on Ubuntu OS, which one are you using?

@stackingsaunter
Copy link
Author

I use macOS

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants