Skip to content

Linux 0.1.3, and bundled templates whose text did not fit - #80

Merged
everettjf merged 4 commits into
mainfrom
linux-0.1.3
Nov 18, 2026
Merged

everettjf merged 4 commits into
mainfrom
linux-0.1.3

Conversation

@everettjf

Copy link
Copy Markdown
Owner

Outcome

Three things, the first two from a user trying the Linux preview on Omarchy. No issue linked.

  1. Linux: a widget's menu on right click. A widget looked as if it ignored the mouse: only buttons took input and the menu existed in arrange mode alone. A right click anywhere on a widget now opens its menu, which gains "Move widgets…" / "Done moving".
  2. Linux: 0.1.2 could crash the Omarchy shell when a display was added or removed. The plugin hid and showed a widget window from the window's own screen-changed signal, which the shell also emits while it shows the window. Windows are now shown again when the list of displays changes. The shell restarts itself after a crash, so the earlier tests looked fine; the check script now compares the shell's process id and the number of crash reports.
  3. Templates: text that did not fit. "November 2026 Wednesday" in Month Calendar was drawn as "Novem…". A new script lays out every bundled template at four families and five moments and reports truncated or clipped text; 22 templates are fixed. Most were not font problems: rows taking height from the cards below them, extra-large layouts sized for the iPad, and texts that lost their wrap. This changes templates on every platform.

Also: Windows and Linux in the README's platform table, and screenshots of every platform in README.md and README_CN.md.

Security and compatibility

No contract, protocol or permission change. Template changes are layout, font and copy only; no widget.json permission changed. On Linux a widget now takes the pointer over its whole area, so windows under a widget shown "on top" cannot be clicked through it.

What ran

  • Linux, aarch64 Omarchy 4.5 virtual machine: cargo test --locked --workspace 512 passed, 1 ignored; parity 127 of 127; the plugin's check.sh 74 of 74 including the new display group; six rounds of adding a display, moving two widgets onto it and removing it, with no crash; right click, menu choice, "Move widgets…", drag and "Done moving" on the live session; the 0.1.3 archive built and installed there.
  • On a Mac: preview-engine tests 199, Web Studio tests 114, editor tests 52, script tests 7, validate-release.mjs, validate-doc-links.mjs, Linux workspace tests, Android :core:testDebugUnitTest 482, and four classes of the macOS runtime tests (154 executed, 0 failures). Reference trees were regenerated on the iOS 27.2 simulator.

Not run

  • ./Scripts/release-readiness.sh locally; CI runs it on this pull request.
  • No changed template was looked at on an Apple device: "not worse on Apple" rests on the layout rules and on widths measured with the system font. The demo screenshots under Resource/WidgetDemoScreenshots for the changed templates are now out of date.
  • Windows tests, Android instrumented suites, Web Studio browser smoke tests.
  • 22 single-layout templates are still cut at the small family; each needs its own small layout (listed in docs/linux/testing.md).
  • The x86_64 Linux archive on an x86_64 computer; a real GPU.

🤖 Generated with Claude Code

everettjf and others added 4 commits November 18, 2026 05:24
…displays change

- A widget looked as if it ignored the mouse: only tap regions took input
  and the menu existed in arrange mode alone. The whole widget now takes
  the pointer; a right click anywhere on it opens the menu, which gains
  "Move widgets…" / "Done moving" to enter and leave arrange mode.
- 0.1.2 could crash the Omarchy shell when a display was added or removed.
  It hid and showed a widget window from the window's own screen-changed
  signal, which the shell also emits while it is showing the window, so
  visibility changed in the middle of a binding update. Windows are now
  shown again when the list of displays changes instead.
- The check script follows the new pointer behaviour and gains a group that
  adds and removes a display and compares the shell's process id and the
  number of crash reports: 74 of 74 on Omarchy 4.5.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…very platform

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
… the ones that do not

On Linux the large Month Calendar drew "Novem… 2026 Wednesday": Inter, the
font of Android, Windows and Linux, is wider than Apple's system font, and
the shared layout cuts a text that does not fit. The fix is in the templates,
so every platform gets it.

Linux/scripts/find-truncated-text.mjs runs every package of Script.bundle at
the four desktop families on five moments chosen for the longest strings,
lays the trees out with the new sw-render example layout_tree, and reports
text that was truncated, clipped, wrapped inside a word pair or placed
outside the widget. It found 45 packages; each was looked at as a picture.
22 templates are changed, at the families they support (the family of their
demo screenshot, the families a widget.json declares, or every family when
the template switches on widget-size):

- Month Calendar: the large title shows the short weekday, and a month that
  touches six weeks uses smaller cells at large and extra large, where the
  agenda or the last week left the widget.
- Daily Command Center, Family Command Board, Travel Day Dashboard, Wellness
  Dashboard (large): rows with frame="max" took height from the cards, which
  then overlapped and were cut at the bottom, also on Apple; the header rows
  now have their own height, and the cards are sized to fit 329x345. Family
  events draw the time above the title; the Travel route no longer cuts the
  airport codes to "…".
- World Clock Faces and Year in Dots (extra large): the grid was taller, and
  the dots wider, than the 639x345 widget of Mac, Windows and Linux.
- Datetime Timezone, System Insights (medium): three "05:59 AM" times and
  three stats now fit.
- An Empty Widget, Birthday Countdown, Check Is Friday Today, Check Is
  Working Day Today, Condition Content, Daily Affirmation, Layout Starter,
  Location Snapshot, Meal Planner, Music Playback, Text Days To End Of Month,
  Text Days to End Of Year, Text Year Days Left (small): smaller titles, short
  dates and layouts in which a text is not competing with spacers for height.
  The starter of `scriptwidget new` gets the same change as An Empty Widget.

Regenerated with JavaScriptCore on the iOS 27.2 simulator (the macOS test
host is sandboxed and cannot write into the repository): native-trees.json
(18 trees), music-playback-trees.json and layout-edit-trees.json; the macOS
tests then agree with them. Gallery copies of Layout Starter and Music
Playback are synchronized. What ran, and what was left unchanged and why, is
in docs/linux/testing.md.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@everettjf
everettjf merged commit 9943c9a into main Nov 18, 2026
13 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