Skip to content

Add mobile chrome hairlines, flush input box, suspend animation pause, and virtual_scroll cleanup - #2361

Merged
trissim merged 1 commit into
mainfrom
fix/mobile-chrome-hairlines-and-suspend
Nov 28, 2026
Merged

trissim merged 1 commit into
mainfrom
fix/mobile-chrome-hairlines-and-suspend

Conversation

@trissim

@trissim trissim commented Nov 28, 2026

Copy link
Copy Markdown

Addresses Tristan's Pixel 8a UI polish & battery/crash reports (#comms 11177 + 01:30):

  1. Navigation/tab bar horizontal hairline (setting_choices.py:319, qt/window.py:2215): declared NavigationBarPosition.qt_separator_edge (border-top on BottomNavigationBar, border-bottom on TopNavigationBar) and styled QFrame#toad-navigation with a 1 px QPalette.Mid hairline so tabs are visually separated from bottom bars and from content even when bars hide.
  2. Sidebar toggle hairlines including 90°-rotated side strip (sidebar_placement.py:114, sidebar_layout.py:688, qt/side_bar.py:222,488): declared SidebarEdge.inner_hairline(width, height) on WidthSidebarEdge/HeightSidebarEdge + SidebarLayout.splits_before/next_in_band_folded. Horizontal bottom toggles draw a 1 px top hairline; when one bottom bar opens and its sibling pushes to the side rotated 90°, the vertical toggle draws a full-height 1 px inner vertical hairline beside the open pane plus the unbroken top hairline with zero 2 px double seams.
  3. Remove input box left/right outer dead space (setting_choices.py:252): deleted NormalInputBox.frame_margin = Spacing(0, 1, 0, 1) so it inherits InputBox.frame_margin = Spacing(0, 0, 0, 0) and stretches edge-to-edge.
  4. Pause animation timer on suspend (client/application.py:103, qt/window.py:2115): ApplicationPresence.suspend pauses QtToadApp._animation_timer and SuspendedPresence.activate resumes it, eliminating background 20 Hz PreciseTimer wakeups while Android keepalive holds the process.
  5. Stop RowDocumentStore deleted-QTimer crash spam on suspend/resume (qt/virtual_scroll.py:660,840): cleanup() now disconnects QGuiApplication.applicationStateChanged and guards shiboken6.isValid, fixing the live Pixel 8a android_uncaught RuntimeError firing on every resume after closing a tab.

@trissim
trissim merged commit f468f07 into main Nov 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant