docker-baseimage-gui icon indicating copy to clipboard operation
docker-baseimage-gui copied to clipboard

quick set clipboardPaste

Open h2y opened this issue 1 year ago • 4 comments

h2y avatar Mar 27 '23 11:03 h2y

Can you provide more details about this change ?

jlesage avatar May 16 '23 15:05 jlesage

@jlesage When using the Firefox container, it is necessary to read and write the clipboard through the input box. Since there is no Chinese input method in the container, this is a frequent operation for Chinese users. When JS detects changes in the input box, it sends the content to the container. The change event is triggered only when the input box loses focus, whereas the input event can immediately trigger the event when the content changes. This greatly enhances the user experience.

h2y avatar May 23 '23 08:05 h2y

But don't you need to perform a paste operation (e.g. ctrl+v) inside the container ? This operation would trigger the focus lost event.

jlesage avatar May 23 '23 13:05 jlesage

@jlesage By using some additional scripts, it can automatically input the text in the clipboard in the browser, so don't have to paste it manually in that case. (You can consider it as a feature built into the FF container) 😄 https://github.com/jlesage/docker-firefox/issues/146#issuecomment-1484854187

h2y avatar Jun 05 '23 03:06 h2y