Page MenuHomePhabricator

Off-by-N cursor/text insertion bug in source editor, Vector/Safari, on Mac
Open, Needs TriagePublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

  • In Vector 2022 on Safari, click Edit source on en:Alpha hydroxycarboxylic acid (seems it must include {{chem2}} is all I’ve thought of, but I don’t actually think this is true)
  • Scroll down a bit
  • Click somewhere in the active editing area
  • Attempt to type

What happens?:

  • More often than not: usually the cursor and/or where the text is inserted will differ, OR it will overwrite the text.
  • It has occurred a few times a week for a couple months now, but in what instance I do not specifically recall other than the pages are complicated and/or I was switching between source editing and visual editing.

What should have happened instead?:

  • Normal editing.

Other information (browser name/version, screenshots, etc.):

  • MacOS 14.3.1 Sonoma
  • Safari Version 17.3.1 (19617.2.4.11.12)
  • Desktop mode, logged in

Possibly related to T355625.

Numerous screenshots:

    • Screenshot 2024-03-18 at 18.32.54.png (1×2 px, 1 MB)
      Example 1: Here I’ve indicated with a blue box and arrow: you can see where my cursor should be (grey’d out area), below which my cursor printed an “f”.
  • Screenshot 2024-03-18 at 18.33.01.png (1×2 px, 1 MB)
    Example 2: Step 1: Placed my cursor.
  • Screenshot 2024-03-18 at 18.33.06.png (1×2 px, 1 MB)
    Example 2: Step 2: Pressed the key “1”, you can see '1' was printed above where my cursor was, which is not even properly visible. (Also note the misalignment of the red underline for the Check Spelling, not a part of my complaint but possibly related, possibly a visual bug?)