Skip to content

Linux 0.1.2: display scale, display removal, and a crash in the management window - #79

Merged
everettjf merged 2 commits into
mainfrom
linux-0.1.2
Nov 18, 2026
Merged

everettjf merged 2 commits into
mainfrom
linux-0.1.2

Conversation

@everettjf

Copy link
Copy Markdown
Owner

Outcome

Three bugs in the Linux preview 0.1.1, found while testing what had been listed as untested. No issue linked.

  • Blurred widgets after a scale change. The plugin took a display's scale from the shell's screen objects, which did not follow a change made while the shell runs. It now reports what the compositor says (hyprctl -j monitors).
  • A widget vanished when its display went away. It now comes up on the first display at the same coordinates.
  • scriptwidget-studio --edit <unknown name> ended the program (a panic). This is reachable from "Edit…" on a desktop widget whose package was deleted. The start request is now handled after the window exists.

Security and compatibility

None: no contract, protocol or permission change. Version 0.1.2.

What ran (aarch64 Omarchy 4.5 virtual machine; details in docs/linux/testing.md)

  • cargo test --locked --workspace: 512 passed, 0 failed, 1 ignored.
  • Scale 1 → 1.5 → 2 → 1 on the live session: the service follows within 5 seconds; at scale 2 the pictures are drawn at double resolution, a tap and a drag work.
  • A second (virtual) display at another scale: a widget moved there is drawn at that scale; when the display is removed it shows on the first display, twice in a row.
  • A light theme and back; a suspend and resume cycle in the kernel's self-resuming test mode.
  • The management window with an unknown widget name, in a headless sway on the same machine because the live session was locked: 0.1.1 exits with a panic, this build opens its window.

Not run

  • Composing Chinese with an input method: the engine is installed and a uinput keyboard helper is written, but the live session is locked behind a password after the suspend test.
  • A restart of the computer with the service enabled: it ends at a login screen that needs a password.
  • The plugin's check.sh was not re-run with these changes, for the same reason (it needs the live session).
  • A real GPU; an x86_64 computer.

🤖 Generated with Claude Code

everettjf and others added 2 commits November 18, 2026 03:10
…no crash on an unknown widget

- The plugin reported a display's scale from the shell's own screen objects,
  which did not follow a change made while the shell runs: widgets stayed
  drawn at the old scale and looked blurred. It now reports what the
  compositor says, asked at start, after a reconnect, on any sign of a
  change, and every 30 seconds.
- A widget whose display went away was not shown anywhere. Its window is
  now hidden and shown again when its display changes, which brings it up
  on the first display.
- scriptwidget-studio --edit <unknown name> ended the program: the start
  request was handled before the window existed and its error message
  needs the window. The start request is now handled once the window is
  there.
- Records the checks of a light theme, scale 2, a second display and a
  suspend cycle, and what could still not be tested.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@everettjf
everettjf merged commit 92a66b0 into main Nov 18, 2026
5 checks passed
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