Keyboard text selection bug (TextEdit, plain text, macOS 12.4)

Summary:

After plain text in TextEdit is selected to the beginning of a word or line using keyboard shortcuts (Shift-Option-Left Arrow or Shift-Command-Left Arrow) and cursor is located at the beginning of a line created by text wrap, cannot use keyboard shortcut to select lines above (Shift-Up Arrow).

Steps to Reproduce:

  1. Create a plain text document in TextEdit.
  2. Paste in the summary paragraph above.
  3. Place cursor anywhere within the last visual line of the paragraph.
  4. Do one of the following:
    1. Use Shift-Command-Left Arrow to select to the beginning of the line.
    2. Use Shift-Option-Left Arrow to select to the beginning of the line, word-by-word.
  5. Attempt to use Shift-Up Arrow to select the line above.

Expected Result: Text from the beginning of the second-to-last visual line of the paragraph to the selection point from step 3 should be selected.

Actual Result: Only the last visual line is selected (Shift-Up Arrow does nothing).

Environment:

I discovered this bug on the following system. I would appreciated if others could try to test it on Monterey running on other devices.

  • Intel MacBook Pro (13-inch, 2019, Two Thunderbolt 3 ports)
  • macOS Monterey version 12.4 (21F79)
  • TextEdit version 1.17 (380.2)
  • Documents in plain text mode

Notes:

  • This does not affect rich text in TextEdit or other applications (Pages, etc.)
  • This does not affect plain text in certain other applications (for instance, this form submission box in Chrome)
  • This does not affect past versions of macOS (tested on Catalina on this device and High Sierra on a 2011 iMac)

This device was updated directly from Catalina to Monterey 12.4, and I have not attempted to see whether an operating system reinstall would resolve this issue. I wanted to share this bug to see if it was repeatable. As someone who frequently uses the keyboard to select text and uses TextEdit to keep many short plain text notes, this bug frequently interrupts my workflow.

A different bug occurs when selecting lines both above and below the cursor after using Shift alone to select text in most situation: the selection will jump to the next line but using the beginning of the selection (or last use of Option or Command) as opposed to the last position of the cursor. This was also not present in previous versions.

Accepted Answer

This is more a post for bug report (and it is formatted as such already) than for the forum.

Thanks for the tip! Still getting used to the developer forum/feedback system.

Keyboard text selection bug (TextEdit, plain text, macOS 12.4)
 
 
Q