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

(enhancement) open with a clear form and give a button to clear the form #4

Open
bruceleerabbit opened this issue May 20, 2022 · 0 comments

Comments

@bruceleerabbit
Copy link

Usually the text that will be entered as a query on the left is in the clipboard. But then there is text already in the field saying “text to translate from”. When pasting the clipboard in that box, the msg does not clear, so the “text to translate from” becomes part of the translation. If the text is removed at that point, then it takes a very long time to reprocess the whole translation again. And the new request does not interrupt the backend process that’s still working on the 1st snip of text, so both versions must be fully translated before the user can see the result.

Suppose the user clears the hint text first, and in the fastest way possible (by selecting all the text and hitting delete). The act of selecting the text clobbers the clipboard in many linux desktop managers, so they must recopy the text. But if the text is removed by hitting delete one character at a time, then the backend works to submit a new translation each time a character is removed.

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