Text selection and cursor position rendered wrong if input contains "bad" text [Mojave]
webpsupporter What are the easiest steps to reproduce for you?
- Go to any Github's project
- Navigate to "Issues"
- Write a filter, enter
- Try to edit the filter
- The typing cursor doesn't match the content
- Edited
Steps to reproduce:
- Create a new issue here
- Type something that looks like a domain name inside parenthesis, close the parenthesis, and then type some more text. Make sure all of the text fits on a single line. Something like this:
Test is some text. (This contains something.lookslikea.domain) Here is some more text.
- Click the text after the parenthesis to move the insertion point
- Try typing more text
- Note that the text appears in the wrong place
Orion, OS version; hardware type:
Version 0.99.124.1-beta (WebKit 616.1.10)
macOS 10.14.6
edit: I just observed this same bug in a text field on another website. So this should probably be recatorgized as a general Orion bug.
Video attached. Note where I'm clicking vs. where text appears.
bribri Looks like this issue:
Ooops, this link is circular?
In any case, this issue is the biggest showstopper for me. I write a lot in forums, which often contain specific formatting characters such as []% or non-ASCII unicode characters, and this bug makes writing almost impossible.
In fact, the mere quotation of []% triggers the issue in this very editor area.
When selecting text in text boxes (including on this very site), the cursor/selection is often misaligned, frequently by several characters in a large text block. This makes it unusable for editing posts on a Wordpress site, for example.
Orion, OS version; hardware type:
0.99.125, 10.14.6, 2019 iMac 21"
Here's a video
Issue remains in 130
- Edited