Ctrl+Backspace deletes one character instead of the previous word in text boxes #617

Closed
opened 2026-11-15 08:49:57 +00:00 by charles · 2 comments
Owner

Reported by Rhadamanthus in #flaxative-bug-reports (https://fluxer.forked.io/channels/1554245914976059392/1571413982579785728). Platform: Windows.

Report. "It removes one character at a time. That applies to all text boxes, including the chat box and the forum" — later: "apparently the search box does support ctrl + backspace"

Steps. Type a few words in the message composer or the forum composer and press Ctrl+Backspace.

Notes. The search box (a plain single-line input) handles it; the composer and forum editors (the multi-line editor widget) do not. Add word-wise delete (Ctrl+Backspace, Ctrl+Delete) to the editor; check Ctrl+Left/Right word movement at the same time.

**Reported by** Rhadamanthus in #flaxative-bug-reports (https://fluxer.forked.io/channels/1554245914976059392/1571413982579785728). Platform: Windows. **Report.** "It removes one character at a time. That applies to all text boxes, including the chat box and the forum" — later: "apparently the search box does support ctrl + backspace" **Steps.** Type a few words in the message composer or the forum composer and press Ctrl+Backspace. **Notes.** The search box (a plain single-line input) handles it; the composer and forum editors (the multi-line editor widget) do not. Add word-wise delete (Ctrl+Backspace, Ctrl+Delete) to the editor; check Ctrl+Left/Right word movement at the same time.
Author
Owner

Fix in #624 (against textchat, not merged yet). Cause: iced's text editor turns Backspace/Delete into one-character edits whatever the modifiers are, and the composer had no word binding. Now Ctrl+Backspace and Ctrl+Delete delete the selection if there is one, or else up to where Ctrl+Left/Right move. This applies in the composer, the inline edit box and the forum post body. Ctrl+Left/Right and Ctrl+Shift+Left/Right were already handled and now have tests. Not yet tried on a real Windows machine.

Fix in #624 (against `textchat`, not merged yet). Cause: iced's text editor turns Backspace/Delete into one-character edits whatever the modifiers are, and the composer had no word binding. Now Ctrl+Backspace and Ctrl+Delete delete the selection if there is one, or else up to where Ctrl+Left/Right move. This applies in the composer, the inline edit box and the forum post body. Ctrl+Left/Right and Ctrl+Shift+Left/Right were already handled and now have tests. Not yet tried on a real Windows machine.
Author
Owner

Fixed in nightly 2026.1115.314.

Fixed in nightly 2026.1115.314.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
charles/fluxer-native#617
No description provided.