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

Wonky copy and paste in Firefox/Android #2839

Open
fps opened this issue Mar 4, 2024 · 0 comments
Open

Wonky copy and paste in Firefox/Android #2839

fps opened this issue Mar 4, 2024 · 0 comments
Labels
frontend Concerning the HTML editor

Comments

@fps
Copy link

fps commented Mar 4, 2024

Hi,

I'm using julia from nix-on-android to create a Pluto.jl session which I then connect to via Firefox for Android. It's nifty to do some hacking on the go and really seems to work pretty darn good :), But sadly copying and pasting a really hit-and-miss. I attached a video

Here's the gist of the notebook I'm showing in the video, but the problem is not specific to this notebook:

https://gist.github.com/fps/b940df47f13734812bc32887666ca7f1

And here's a video:

2024-03-04_09-30-34_edit.mp4

The usual interaction with text input in the browser in Firefox for Android is to long press into the general vicinity of the text you want to select. Then after a while two handles appear that allow to fine-tune the selection (or to "select all", etc..).

This is not what happens here. It is much harder to get the two handles to appear. And I'm not sure I understand what circumstances trigger it precisely. You can see me fumbling around in the video. Sometimes android even interprets my long press as a wish to open some link ;)

I guess to reproduce this you won't have to go the same route as me but rather just connect to your pluto notebook from firefox on some android device.

But if you want to reproduce it install nix-on-droid, then in the shell run nix-shell -p julia. Then run julia and proceed as usual (add Pluto, import it and Pluto.run().) Finally copy and paste the URL shown in the terminal to the Firefox browser.

@fonsp fonsp added the frontend Concerning the HTML editor label Mar 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
frontend Concerning the HTML editor
Projects
None yet
Development

No branches or pull requests

2 participants