Files
pdfcraft/parity
vangel76andZoo 1a7663cb48 fix(ui): select the bookmark title when the rename editor opens (#5529)
The inline rename field asked for focus without setting a selection, so the
caret landed at the end of the default text and typing appended to it. The
field now selects the whole title on the frame it takes focus, so typing
replaces the old title at once, for both new bookmarks and rename. Later
frames leave the user's own caret and selection alone.

Tests: three unit tests on rename_field (first focus, multibyte title, caret
kept across frames) and two kittest tests driving the panel like a user
(typing replaces the title; the caret survives a collapse).

Co-Authored-By: Zoo <noreply@zoo.local>
2026-10-31 13:41:56 +01:00
..