Skip to content

Double-Click to select results in incorrect selection boundaries #1228

@mdawaffe

Description

@mdawaffe

When double clicking to select by word, the results are direction dependent.

  • Left-to-Right: the resulting selection is as expected
  • Right-to-Left: the resulting selection leaves out the initially selected word

Expected

When selecting from Right-to-Left via double-click, the originally selected word be included in the resulting selection range.

Observed

When selecting from Right-to-Left via double-click, the originally selected word is not included in the resulting selection range.

Reproduced

  1. Create a note with multiple words.
  2. Double click the last word.
  3. Drag the mouse pointer to the left so that the selection range encompass earlier words.
  4. Observe that the last word is no longer selected.

The screen recording below illustrates the difference between TextEdit (expected behavior) and Simplenote (unexpected behavior).

Image

(Optional) If you reproduced the bug on a specific system, please replace SYSTEM_MAKE, SYSTEM_MODEL, MACOS_VERSION, and APP_VERSION below with the details for that system. If you reproduced the bug on multiple systems, please add a row for each system.

Make Model macOS Version App Version
. . 15.2 2.23.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions