Skip to content

Word selection cancels renaming #6778

@rlnt

Description

@rlnt

Description

When renaming a file or folder and you only want to select the last word with keybinds CTRL + SHIFT + <-, it will cancel the renaming.
Selection by word is a common key combination in Windows and should not cancel the renaming process.

For those who are unaware:
When you place a cursor between two words, you can use CTRL + -> to jump behind the right word and vise-versa.
If you want to select the word at the same time, you need to hold SHIFT while doing so.

Steps To Reproduce

  1. select a file in the Files explorer
  2. hit F2 to rename it
  3. press arrow key to the right to go to the end of the file name
  4. try to select a word to the left of the cursor position with hotkeys CTRL + SHIFT + <-
  5. see that the renaming is cancelled

Expected behavior

The word should be highlighted so I can continue renaming.

Files Version

2.0.34.0

Windows Version

Windows 11 Pro Version 21H2 Build 22000.282 Feature Experience Pack 1000.22000.318.0

Relevant Assets

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions