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

Interface bug: Ctrl-V deletes the entire SGF with no warning #239

Open
lightvector opened this issue Jul 17, 2023 · 2 comments
Open

Interface bug: Ctrl-V deletes the entire SGF with no warning #239

lightvector opened this issue Jul 17, 2023 · 2 comments

Comments

@lightvector
Copy link

I was editing an SGF and I had added a few variations since the last time I saved. I was trying to copy-paste some of the text in one of the SGF comments, but I accidentally pressed Ctrl-V before clicking on the comment text.

Without warning, LizzieYZY deleted the entire SGF I was working on, and I could not find any way to undo it.

It seems like Ctrl-V is intended to be "Paste SGF", to be used after Ctrl-C "Copy SGF". However, I recommend that Ctrl-V should do nothing unless an SGF has already been copied. Otherwise, pressing Ctrl-V by itself has no purpose and only deletes the user's work, causing them to lose their edits and progress.

@lightvector
Copy link
Author

Or maybe it could pop up a dialogue box warning the user that the copy and paste is about to replace the entire current game they have?

@yzyray
Copy link
Owner

yzyray commented Jul 19, 2023

I recommend that Ctrl-V should do nothing unless an SGF has already been copied.

Thanks for the advice,I think this way is good enough.

yzyray added a commit that referenced this issue Jul 19, 2023
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