You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(linux): UX bugs batch A — accidental edits, stale toast, Esc dismiss
Three bugs from the deep UI/UX audit, each with a real failure mode:
- Cell edit was triggered by single click. In a database grid this is
destructive — a misplaced click on the row a user wanted to select
silently dropped them into an editable label. Switch to double-click,
matching GNOME Files filename rename. Implementation: keep editable=
false at rest so the EditableLabel's internal click→edit path is
inert, flip to editable=true only on double-click via a GestureClick,
and reset to false on editing-notify exit.
- "Connecting…" was a fire-and-forget toast that auto-dismissed at 2 s,
leaving remote / SSH-tunnelled connections with no visible feedback
for the rest of their handshake. Replaced with a persistent toast
(timeout 0) tracked on App and dismissed when the connect resolves
(success in on_connected, failure in on_browse_load_failed/None).
- Escape didn't reliably close the in-grid search bar. SearchBar's own
Esc handler only fires while the SearchEntry has focus; clicking
outside the bar (e.g. the page-size dropdown) put Esc out of reach.
Added a Local-scope ShortcutController on the BrowseTab root that
catches Escape anywhere in the tab and dismisses the bar when
search-mode is enabled — matches Files / Text Editor.
Audit also flagged sort-indicator restoration and Ctrl+F scoping as
bugs; investigated both and they're false alarms (sort restore is
guarded by columns.get + self-heals on later FetchPage; Ctrl+F is
ShortcutScope::Global on the window so fires regardless of focus).
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
0 commit comments