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

Non standard cut/copy paste behavior in thea based editors. #13652

Open
Phoenixxl opened this issue Apr 28, 2024 · 0 comments
Open

Non standard cut/copy paste behavior in thea based editors. #13652

Phoenixxl opened this issue Apr 28, 2024 · 0 comments

Comments

@Phoenixxl
Copy link

Bug Description:

An issue is still the non standard cut behavior compared to all other editors.

Steps to Reproduce:

Disable the option of cutting/copying the current line. ( editor: empty selection clipboard -> uncheck Controls whether copying without a selection copies the current line.)

In this mode:

Expected, "normal" behaviour ->
Selecting a piece of text "abc", copying it to clipboard , pasting it, pastes copied text "abc".
Selecting nothing. pressing the cut or copy shortcut while there is no selection, pasting , pastes the content of the clipboard which is still "abc".

Behavior seen in all thea based editors ->
Selecting a piece of text "abc", copying it to clipboard , pasting it, pastes copied text "abc".
Selecting nothing. pressing the cut or copy shortcut while there is no selection, pasting , pastes the content of the clipboard which is still nothing.

When cutting or copying nothing a clipboard stays in it's current state it doesn't get emptied. In thea based editors it gets emptied.

Additional Information

Operating System:
First encountered in Arduino 2 editor, it's been there since the beginning as far as I know. It's still there today . 2.3.x
Tried it in the theia demo app.

Started this as a discussion, got asked by @msujew to make it a bug report.
#13650

I bought this up in the old thea community forum but it got brushed away by a moderator.
old link was: It had a video .
https://community.theia-ide.org/t/non-standard-cut-paste-behavior/2464

video side by side theia & vscode:
https://www.youtube.com/watch?v=meIe71VoUrg&list=PLFludiTZY2LdsdCPmzIpezTxpGWH4Ntms

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

1 participant