Changes
fix: interface smaller than window on Linux -
@TRC-Loop in #53
On Fedora (WebKitGTK), the interface rendered smaller than the window at every window size and every display scale, leaving dead space along the right and bottom edges and squeezing the pane layout. Not a renderer/backend issue (disproven on-device via WEBKIT_DISABLE_DMABUF_RENDERER, GDK_BACKEND=x11 and WEBKIT_DISABLE_COMPOSITING_MODE tests): the layout viewport itself disagreed with the widget size.
Two layout-level causes addressed:
- Removed the mobile-style
<meta name="viewport">tag from index.html. WKWebView and WebView2 ignore it, but WebKitGTK can honor it and derive a layout viewport that does not match the actual widget. - The shell and
#appare now sized with a percentage chain (html -> body -> #app -> .shell) instead of100vw/100vh. Viewport units misresolve on WebKitGTK, and unlike percentages they are not compensated for the root csszoomused by the interface-scale setting, so this also replaces the oldcalc(100vh / var(--ui-scale))workaround.
Also adds a small diagnostic: clicking the version in Settings > About toggles a readout of the engine's viewport numbers (inner/client/outer size, dpr, zoom), so future platform rendering issues can be diagnosed from a screenshot of a release build.
svelte-check: 0 errors. Verified on-device on Fedora 44 before merge.
Full Changelog: v1.0.6...v1.0.7