Skip to content

chore(deps): NEVER MERGE: Linux proof build of Rune's own window frame (rune#2244 + #1183) - #1184

Closed
Hona wants to merge 11 commits into
devfrom
linux-chrome/proof-own-frame
Closed

Hona wants to merge 11 commits into
devfrom
linux-chrome/proof-own-frame

Conversation

@Hona

@Hona Hona commented Nov 25, 2026 •

Copy link
Copy Markdown
Member

NEVER MERGE. A Linux build to run: the Rune pin bump #1192 (Rune d5c7a5ad2) + anomalyco/rune#2244 (Rune's own window frame where a Wayland compositor draws none) + #1183 (the titlebar row that uses it).

Hona and others added 3 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.
@zce

zce commented Nov 25, 2026

Copy link
Copy Markdown

I built and ran this on a real GNOME desktop. The app ran from the RPM with an isolated RUNE_DIRS_ROOT and the offline fixture, so the screenshots are fixture content.

Build: 57f13a2 (#2244 at b2a9bf7 + #1183), packaged as 0.0.4~pr1184-1.fc45 with my Fedora RPM recipe. The RPM installs cleanly in a clean Fedora 45 container; I ran the binary from it on the host.

Environment: Fedora 45 Workstation, GNOME Shell/Mutter 51.1, Wayland, one 3840×2160 monitor at 1.5 (logical 2560×1440). No zxdg_decoration_manager_v1.

What I saw

  • Rune took the own-frame path: Cx::chrome_insets().height is 44, and the app's titlebar is that 44 pt row with the caption in it. One row, no separate winit bar above it.
  • With the default appmenu:close, the frame draws one 24 pt round close button at the right and no minimize/maximize. The settings portal returns appmenu:close.
  • Changing button-layout to appmenu:minimize,maximize,close while the app was running added both buttons by the next traced frame; restoring it removed them. Close stayed at the right edge.
  • Clicking the close button closes the window. Clicking the maximize button takes 1280×800 to the 2560×1408 work area; clicking the restore position takes it back to 1280×800.
  • F11 takes the window to 2560×1440. The row stays; a click where the close button was does not close the window, and F11 returns to 1280×800.
  • The 5 pt edge band and 16 pt corner regions are present in the element tree.

Screenshots (fixture session; top tabs, then side tabs)

  1. Default appmenu:close, top tabs.
    Default appmenu:close, top tabs

  2. appmenu:minimize,maximize,close, top tabs.
    Three buttons, top tabs

  3. F11 fullscreen: the row stays, the buttons are gone.
    Fullscreen

  4. Side tabs, default close.
    Side tabs, close

  5. Side tabs, three buttons.
    Side tabs, three buttons

What I didn't check

  • Real-pointer titlebar drag, edge/corner resize, and double-click-to-maximize. I drove input through --window-script; the synthetic pointer has no Wayland serial, so move/resize requests are ignored. These need a real mouse.
  • The narrow layout on real GNOME.
  • KDE/Sway/Hyprland, which should keep the native frame.
  • The maximized 2560×1408 state was verified but is not in the screenshot set.

The row and the button actions behaved as described on GNOME. The remaining pre-merge checks for me are the real-pointer drag/resize and the visual pass; the screenshots cover the default and side-tab layouts.

Hona added 2 commits November 25, 2026 23:15
… 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
Hona added 2 commits November 26, 2026 03:15
… 0d2cad27f + the Linux own frame): the commit queued to merge
… in), Rune pin at dc5a0f5fc (Rune dev 0d2cad27f + the Linux own frame): the commit queued to merge
@Hona

Hona commented Nov 25, 2026

Copy link
Copy Markdown
Member Author

Superseded now that #1257 and #1183 are merged on dev.

@Hona Hona closed this Nov 25, 2026
@Hona
Hona deleted the linux-chrome/proof-own-frame branch November 25, 2026 23:01
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.

2 participants