Desktop text controls retain selections after focus changes
- Status
- Fixed
- Fixed in
- v26.10.1
- Area
- desktop
- Source discussion
- https://forum.objo.dev/d/1225-text-fields-bug
- Last updated
- 2026-10-05
Upvotes
0 upvotes
Uses your Objo forum account.
Public summary
Desktop TextArea retains its selected range when focus moves to another control, when a dialog or message box is shown, and when the application becomes inactive. SelectionStart, SelectionLength, and SelectedText remain available. On macOS the retained selection is drawn grey while the area or its window is inactive; on Windows the highlight is hidden while unfocused; on Linux it remains visible.
On macOS, ordinary TextField and SearchField controls continue to clear their selections when focus moves to another control in the same window. Their ranges are preserved across app switches and dialogs. Text areas and ordinary fields have different selection conventions.