v0.21.0: click to rename

Clicking the already-selected playlist in the sidebar opens inline rename,
and renaming an existing playlist starts with the cursor at the end rather
than the whole name selected. New playlists still select all.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
2026-09-18 20:53:09 -07:00
co-authored by Claude Opus 5
parent 0e726af0da
commit d736b24c8e
4 changed files with 151 additions and 2 deletions
+13
View File
@@ -1,5 +1,18 @@
## Done
### Round 57 (2026-09-18) — click to rename (v0.21.0)
- [x] **Click a selected playlist to rename it.** The sidebar tree gains
Qt's `SelectedClicked` trigger alongside double-click/F2, so the
second click on the current playlist opens inline rename (after the
double-click interval; a press that becomes a drag never opens it).
- [x] **Rename opens with the cursor at the end, nothing selected.** Qt
selects the editor's text inside `QAbstractItemView::edit()`, after
the delegate runs, so `PlaylistTree.edit()` undoes it afterwards —
every route (click, double-click, F2, context menu) goes through it.
A brand-new playlist still selects all (one-shot
`_select_all_next_edit`), so typing replaces "untitled playlist".
### Round 56 (2026-09-17) — one press, sixteen hundred songs (v0.20.6)
One Right-arrow press skipped 1,676 tracks in 81 s and hard-froze GNOME badly