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
{{ message }}
Repository navigation
[P2][bug] Resizing the window leaves the new space black; content does not reflow #726
Reported from the installed app on Bazzite (Wayland, KDE), SQLPilot 1.1.0.
Expanding the window does not expand the interface. The existing content stays
at its old size and position, and the newly revealed area is black.
What is known
Linux, Wayland session, WebKitGTK webview
Reproduced by dragging the window larger; the black region is the area the
window gained
Not observed in just dev-web, where the page is an ordinary browser tab and
reflows normally — which points at the webview surface rather than at the
app's CSS
Where to look first
The app's shell is #root { height: 100vh; width: 100vw } with overflow: hidden on the body, so a viewport that did update would reflow on its own.
Black rather than stretched or repeated content suggests the webview surface is
not being resized to match the window, so the compositor has nothing to draw in
the new region.
Candidates, roughly in order:
WebKitGTK surface sizing under Wayland — known to need the webview to be
told to resize on some versions, rather than following the GTK window.
A Tauri window configuration issue: tauri.conf.json window options, or a
fixed inner size.
Something in the app holding a stale size — the panel group from react-resizable-panels stores pixel sizes, though that would not produce
black.
Worth checking
Whether it also happens on X11 (run with GDK_BACKEND=x11) — if it does not,
it is the Wayland surface path
Whether a WebKit repaint fixes it (resize, then trigger any re-render)
Whether the packaged build differs from npx tauri dev
Unverified by me: I cannot drive or observe the packaged window from here, so
everything above the "known" section is a hypothesis to test rather than a
diagnosis.
Closing as fixed by #742, which shipped in 1.2.0. On Wayland it turns off WebKitGTK's DMABUF renderer before the webview starts (linux_webkit_env in src-tauri/src/lib.rs); that renderer was leaving the surface at its old size when the window grew.
It hasn't been checked on the reporting machine. If the black area comes back, reopen this, and running with WEBKIT_DISABLE_DMABUF_RENDERER=0 (DMABUF back on) against the default should show whether it's the same cause.
Activity
fix(linux): turn off WebKitGTK's DMABUF renderer under Wayland (#742)
EVWorth commentedon Oct 18, 2026
Closing as fixed by #742, which shipped in 1.2.0. On Wayland it turns off WebKitGTK's DMABUF renderer before the webview starts (
linux_webkit_envinsrc-tauri/src/lib.rs); that renderer was leaving the surface at its old size when the window grew.It hasn't been checked on the reporting machine. If the black area comes back, reopen this, and running with
WEBKIT_DISABLE_DMABUF_RENDERER=0(DMABUF back on) against the default should show whether it's the same cause.Generated by Claude Code