mirror of
https://github.com/storytold/pdfcraft.git
synced 2026-10-25 18:47:22 -06:00
* Linux: the tab strip carries the window controls, as in Acrobat On X11 and Wayland the window manager drew its own title bar above the tab strip, so every PdfCraft window had two bars and the controls the user clicked were the window manager's, not ours. `ViewportBuilder::with_decorations(false)` turns the frame off, and `chrome::window_frame` draws minimize, maximize and close at the top right of the tab strip, plus a hairline border and resizing from the edges and corners, so a frameless window behaves like a framed one. Close still goes through the unsaved-changes check, and full screen and the in-app full-screen page view draw no controls over the page. Drawing it last keeps the controls reachable from every overlay that covers the tab strip. `PDFCRAFT_SYSTEM_TITLEBAR=1` puts the window manager's frame back for anyone who wants it. * Render visible pages before thumbnails and text extraction Opening a document queued its visible page pixels together with Pages-panel thumbnails and background text extraction, so the render workers spent the first seconds on background work while the visible page stayed blank. Hold thumbnails and text until no visible main-page raster is still missing; errored pages never block. * Render visible pages before thumbnails and text extraction Opening a document queued its visible page pixels together with Pages-panel thumbnails and background text extraction, so the render workers spent the first seconds on background work while the visible page stayed blank. Hold thumbnails and text until no visible main-page raster is still missing; errored pages never block. --------- Co-authored-by: GyuriX <gyurix@users.noreply.github.com> Co-authored-by: Brandon Thomas <echelon@gmail.com>