mirror of
https://github.com/storytold/pdfcraft.git
synced 2026-12-04 13:03:19 -05:00
* Fix #9001: scroll bars are a usable width and do not grow on hover The page view's scroll bars regressed to 3-pixel floating slivers that grow on hover. The root cause is the .floating_scrollbars() call on the PageView builder, which switches the page view from the 18 pt docked bar (stable width in every state, no growth) to the 2-6 pt floating bar (transparent at rest, thumb grows from 2 pt to 6 pt on hover). Removing .floating_scrollbars() restores the docked bar: 18 pt wide (comparable to a button) and stable in every state, so it no longer grows when the pointer moves onto it. Adds the_vertical_scroll_bar_is_a_usable_width, which fails without the fix (6 pt < 16 pt) and passes with it (18 pt >= 16 pt). Co-authored-by: Copilot <[email protected]> * test(ui): aim the track test at the docked bar and check the thumb is wide at rest (#9001 review) Ports the test half of361654b70from the release line: the scroll-bar track test takes the bar's rect from the access tree instead of aiming at the floating bar's outer points, and `document_scrollbar_is_wide_at_rest_and_draggable` finds the painted thumb before hovering. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * test(ui): find the painted document thumb in its viewport paint slot (#9001) Portsd24593f70from the release line, the follow-up that the wide-at-rest test needs on this tree. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> --------- Co-authored-by: Copilot <[email protected]> Co-authored-by: FredApps <[email protected]> Co-authored-by: Claude Sonnet 5.5 <[email protected]>