akavel / up

Ultimate Plumber is a tool for writing Linux pipes with instant live preview
Apache License 2.0
8.39k stars 129 forks source link

Unable to paste text longer than 11 characters #37

Closed nanangarsyad closed 3 years ago

nanangarsyad commented 6 years ago

I tried to do some pipelining for comparison. But when I tried to paste the content of my clipboard to this tools command prompt, only the first 11 characters got copied to it.

Here's the screencast in case needed. plumber-up

akavel commented 6 years ago

Thanks a lot for the report, and for the screencast! (By the way, can I ask what did you use to make it? :) )

I think I noticed something similar once already, so it should hopefully be possible for me to reproduce it. That's the good news...

The bad news is, that I currently have no slightest idea what could be the reason of this :(

EDIT: Hmmmm; buuuut.... from what I see, you seem to be using ~v0.1 of up; could you please retry, but using the newest version? I think there's some chance that the "Press Enter to run" change I did in 0.2 might have a side effect of fixing this issue. Please let me know if you can do this, and if it fixed this for you — or not! And please note, that with 0.2+ you'll now have to press Enter to run the commands (they aren't executed "immediately" as in the initial 0.1 version anymore).

TIA!

nanangarsyad commented 6 years ago

Hi akavel. Thanks for the replay. I've just tried version 0.3.1 as your suggestion, but sadly to say, the issues still there.

As for the tools I'd been using were peek (for screen recording) and screenkey (for keypress screen cast)

mackushev commented 6 years ago

I have the same issue on Ubuntu 18.04.1

thoaionline commented 6 years ago

@akavel Let me take care of this issue.

akavel commented 6 years ago

@thoaionline You're more than welcome! :heart:

sarathsp06 commented 5 years ago

Is it fixed ?

akavel commented 5 years ago

@sarathsp06 Nope, still open.

thoaionline commented 5 years ago

Apologies, I got started but then dropped this when I wiped my PC (last month). Quite occupied these days after starting a new job so this is now up for grab by a good hand.

thoaionline commented 5 years ago

Here's something that may help whoever picking this up. I suspect this was due to the app unable to pick up text typed in too quickly (which is what happens when you press Command V or Shift Insert to paste the clipboard content). On my MacOS, up will work just fine if you paste slowly (Edit \ Paste Special \ Paste Slowly), or use the Paste Special option and reduce the chunk size (to anything less than 11 bytes)

This kind of time-based bug is a bit tricky to solve with debugging tool.

kdabir commented 5 years ago

Thanks for the tip @thoaionline. For me Paste Slower didn't work but Advanced Paste with reduced chunk size work.

Just for posterity, here is what worked for me : image

akavel commented 4 years ago

I guess it may be due to https://github.com/gdamore/tcell/issues/200. As such I suppose it may get fixed if I upgrade tcell to 1.1.3+ (which should have https://github.com/gdamore/tcell/commit/12658f0d5770aa5468290658b203aac1be62b647).

akavel commented 4 years ago

Would you mind checking out whether this is now fixed with up v0.4, or is it still broken?

akavel commented 3 years ago

I tested in Konsole on Linux, seems to work now. In case of problems, please comment here or open new issue.