Batch rename textfield "eats" the next character when using "dead keys" for accents
Affected version
- Nightly flatpak: Yes
- Other: 43.2
Steps to reproduce
- Add/set your keyboard layout to "French (Canada)" in GNOME Control Center, and switch to that keyboard layout. Or any keyboard layout that uses dead keys to type accented characters.
- Select two or more files in Nautilus
- Press
F2
to open the batch rename dialog - Set the text cursor to the beginning, before the
[Original file name]
magic string - Type "lol" (or "banana") and then type a dead key, such as
`
or^
to begin composing an accented character (normally you'd type a vowel afterwards)
Current behavior
[Original file name]
gets deleted, and you cannot get it back:
dead-keys-eat-the-nautilus-43-rename-variables
Expected behavior
Do not delete the string after the dead character.
Additional information
I think this is a regression with the GTK4 port, as I don't recall encountering this prior to Nautilus 43.x, but I could not trigger this bug in a simple text field in gtk4-demo, so I presume it's Nautilus-specific.
Edited by Jeff Fortin