akavel / up

Ultimate Plumber is a tool for writing Linux pipes with instant live preview

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unable to paste text longer than 11 characters

nanangarsyad opened this issue · comments

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

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!

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)

I have the same issue on Ubuntu 18.04.1

@akavel Let me take care of this issue.

@thoaionline You're more than welcome! ❤️

Is it fixed ?

@sarathsp06 Nope, still open.

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.

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.

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

I guess it may be due to gdamore/tcell#200. As such I suppose it may get fixed if I upgrade tcell to 1.1.3+ (which should have gdamore/tcell@12658f0).

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

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