Skip to content

chore(deps): NEVER MERGE: Linux proof build of the frame's shadow and rounded corners (follow-up of rune#2244) - #1231

Draft
Hona wants to merge 12 commits into
devfrom
linux-chrome/proof-frame-shadow
Draft

Hona wants to merge 12 commits into
devfrom
linux-chrome/proof-frame-shadow

Conversation

@Hona

@Hona Hona commented Nov 25, 2026

Copy link
Copy Markdown
Member

NEVER MERGE. A Linux build to compile and, later, to look at: #1184's tree with the Rune pin moved one commit further, to a follow-up of anomalyco/rune#2244 that is not a pull request yet.

  • Rune a935ece92 = feat(titlebar): App::titlebar is the window's only bar where a Wayland compositor draws no frame rune#2244's head (cacd3e17f) + one commit: a window that draws its own title bar keeps the client-side frame without its header bar, so it has a shadow, a one-point border, four rounded corners and resize handles outside its edges.
  • Against chore(deps): NEVER MERGE: Linux proof build of Rune's own window frame (rune#2244 + #1183) #1184 only the revision moves in Cargo.toml and Cargo.lock.
  • What this build is for: the first compile of that commit's Linux-only lines (the rune crate, the vendored winit and the vendored sctk-adwaita). Nothing in it has been compiled before.
  • What it does not show: the two tests added inside the vendored frame run in no workflow, here or in Rune's repository; Rune's own new tests run on macOS only, in Rune's repository.
  • RUNE_LINUX_FRAME=1 draws the frame under any Wayland compositor; =0 keeps the system's.
  • A PR run compiles Linux x64 only; the Linux arm64 job is skipped.

Hona and others added 11 commits November 25, 2026 19:14
…NEVER MERGE)

Does the app compile against today's Rune? The pin moves from 4d8df909 to d74f116e4 (201 Rune commits), the lock gains the six dependency edges Rune's own lock gained in between (no package is added, removed or moved), and the app opts in to warming the backdrop blur (one line in apps/desktop/src/lib.rs, as in #1076). Nothing here is checked beyond the build.
…'s own frame

On GNOME under Wayland the compositor draws no window frame, and the window had
a second bar above the app's own tab row. Once Rune draws its own frame there
(anomalyco/rune#591), `Cx::chrome_insets` has a height on Linux, and the shell
takes Windows' layout: a 44 pt titlebar row in every tab layout, with the app
menu (and the sidebar toggle beside side tabs) at its start and room for the
window's buttons at its end, or at its start where the desktop puts them left.
A narrow window keeps that row at its top.

Under X11 and under compositors that draw the frame themselves (KDE, Sway,
Hyprland) the insets stay zero and nothing changes; neither do macOS and
Windows. Until the Rune pin holds the frame this does nothing on Linux either.

OpenCode Desktop keeps the system's frame on Linux, so this row is a
difference from it.

The layout is the one zce's proof of concept for #1146 showed.

Co-authored-by: Lei <[email protected]>
…x proof build

Rune 01e8b1ad7 = d74f116e4 (the compile probe's pin) + the Linux own-frame change (anomalyco/rune linux-client-frame). No package added, removed or moved: only the revision.
… 36669bcb6 (d5c7a5ad2 + the Linux own frame)
… b42d9a854 + the Linux own frame)

The first Linux compile of the frame's use of the compositor's allowed actions and tiled edges. One lock edge gained with Rune's own lock: rune -> wayland-protocols-plasma.
… 67ba7ba3f + the Linux own frame): the head that merges
…4's head + the frame's shadow and rounded corners)
…er clearing's tests on every platform; the blur region's top corners)
…ne dev with the Linux own frame + the frame's shadow and rounded corners)

This branch has not been deployed

No deployments
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