minego / phnx

A Twitter client for webOS written in Mojo
http://phnxapp.com
35 stars 9 forks source link

paste more than 140 chars from clipboard into compose cause Luna restart #128

Closed creepingmee closed 11 years ago

creepingmee commented 11 years ago

I haven't had a chance to test on other hardware yet but on my pre3 project macaw will cause a Luna restart if I copy something longer than 140 chars into the clipboard, paste it into compose tweet and hit send tweet.

davec555 commented 11 years ago

Can you please give reproducible steps? I just tried copying and pasting your message above on my pre3 and it worked fine.

Thanks, Dave

creepingmee commented 11 years ago

Ok, I hit compose tweet, I type this:Test, disregard...Then I paste this from clipboard:YhgfdjsudnxhwudnsjahweiutsbriudntidaahriebxdheishajoeebnooawnoubrtoudhabdjwuworbdhyaviqnuwvsysjfnsuqireniwmqbqhqiwendhwiqnajwnduwbsyakemsuaowbayensuenThen hit post tweet.  I get a Luna restart-- Sent from my HP Pre3On May 9, 2013 12:30 PM, davec555 notifications@github.com wrote: Can you please give reproducible steps? I just tried copying and pasting your message above on my pre3 and it worked fine.

Thanks, Dave

—Reply to this email directly or view it on GitHub.

davec555 commented 11 years ago

Slowly working out the problem. Looks like if there is no space before about the 131st character (ie, one huge word), then the problem rears its head. Investigating further...

davec555 commented 11 years ago

Fixed in V1.4.6. Caused by spanning of large words not broken down to fit within the 140 (minus spanning and mention info).