pull down to refresh

For those experiencing weirdness on deletion/selection with some Android keyboards, those should be (fingers crossed) fixed now. If you continue to have issues please report them!

There were also some more subtle bugs @sox interated on in this one.

for the nerdsfor the nerds

If @rblb's fix holds, the underlying cause is that composition events, which are non-keyboard text input events (like autocomplete/spelling fixes), were bugged in some Android keyboards and would race during deletion/selection.

The fix here was to suppress composition events during deletion/selection, preventing them from doing nutty things.

regardlessregardless

Given that we don't need a fancy editor for markdown, I suspect we may go back to using a textarea for markdown input so that there's always a first class (as a far as the browser is concerned) way to add content. But, even then, fixing these bugs is important to providing a WYSIWYG on Android.

Big thanks to @rblb who will be netting 3m sats for this fix, and @optimism (300k) for a thorough bug report.

330 sats \ 0 replies \ @rblb 8h

Happy to help 🫡

reply
271 sats \ 1 reply \ @k00b OP 10h

PSA: I'm hearing from @sox that I shipped this prematurely and there may be subtle issues.

reply
100 sats \ 0 replies \ @k00b OP 9h

We're reverting the fix for Android line break issues, because that's the reason that this wasn't ready for release. So Android folks should still see improvements but we'll need to spend a bit more time working on the line break weirdness.

reply

The deletion error still persist for me (idk how?)

Also SN somehow adds ​​​"%E2%80%8B" behind several github url (what are these) even tho my link that i hid behind []() markdown didnt include those. Some examples from ​this post

What i typed https://stacker.news/items/1367331/edit

FlashSats redirect to​ this​ :
https://lsp.flashsats.xyz/api-docs/index.html%E2%80%8B
Also Swap Market
https://github.com/SwapMarket/swapmarket.github.io%E2%80%8B
Also PeerSwap
https://github.com/ElementsProject/peerswap%E2%80%8B
Also Thunderhub
https://github.com/apotdevin/thunderhub%E2%80%8B​​
The first Robosats url redirect to this
https://https//github.com/RoboSats/robosats
The second Robosats url redirect to this
https://github.com/RoboSats/robosats%E2%80%8B
Also LNP2PBot
https://github.com/lnp2pBot/bot%E2%80%8B​
Also Mostro
https://github.com/MostroP2P%E2%80%8B

reply
32 sats \ 3 replies \ @k00b OP 3h
The deletion error still persist for me (idk how?)

Which deletion error? You try to delete and it doesn't let you?

Also SN somehow adds ​​​"%E2%80%8B"

That's weird. I'll create a GH issue. On the bright side, it's just a rendering artifact so it should go away once we fix it.

reply
Which deletion error? You try to delete and it doesn't let you?

Yeah but after trying to type []() kind of text and when​ever i make a mistake and try to delete a chara​cter so​​​​​​mehow it didnt let me do it for a while

Try typing [Stacker​ and deleting the r letter somehow doesnt happen

In case​ this matter, i use Android 15 and i'm currently using Florisboard v0.5.2​​​

reply
32 sats \ 1 reply \ @k00b OP 2h

Can you please tell me which phone make, model, and operating system you're using when this happens?

reply

I use Redmagic 10 nx798j , Android 15 and my key​board is Florisboard v0.5.2​

reply

Just noticed the editor acting up. First, pasting wasn't grabbing the whole clipboard—it kept cutting off at the linebreaks. Then it just glitched out like this, with the Markdown quote tags all broken. #1379760

reply
21 sats \ 0 replies \ @k00b OP 9h

Thanks! @sox is working on resolving the issues I presented by shipping this prematurely.

reply
0 sats \ 1 reply \ @k00b OP 9h

The thing causing those issues has been reverted in the meantime.

reply

Just noticed #1379883 that after I dropped my text in the editor, the preview was messing up the line breaks. Once I picked the territory to post, it auto-edited my text and showed those breaks in the editor too. I just cleared 'em out and it’s all good now.

reply
100 sats \ 2 replies \ @grayruby 10h

Great job. I was having a problem copy pasting nyms with other text but seems to be fixed now.

reply
40 sats \ 1 reply \ @k00b OP 9h

Thanks! @sox is working on resolving the issues I presented by shipping this prematurely.

reply

I edited my comment. Issue seems to be fixed now. I should have checked before original comment.

reply
56 sats \ 0 replies \ @optimism 8h

Hey guys, thanks that's super generous!

reply
0 sats \ 0 replies \ @Angie 2h

Gracias @rblb de no ser posible estás acciones no hubiera podido disfrutar tanto de esta plataforma que me tiene enganchada más que la música y eso es mucho decir para mí 😅, mi teclado hasta ahora y el navegador está traduciendo bien después del arreglo estoy wuii 🤣⚡🧡

reply