Skip to content

merge: sync upstream main (39376802) into the fork - #49

Merged
1lck merged 11 commits into
mainfrom
sync/upstream-39376802
Nov 20, 2026
Merged

1lck merged 11 commits into
mainfrom
sync/upstream-39376802

Conversation

@1lck

@1lck 1lck commented Nov 20, 2026

Copy link
Copy Markdown

Syncs vivaui/viva main (f5b634b..3937680, 10 commits) into Lithe-IDEA/Lithe-viva main before Lithe Desktop 0.8.11. Merge commit only (no squash).

t8y2 and others added 11 commits November 20, 2026 11:57
The platform pages described Linux as X11 only, and the conformance gap table
listed native Wayland as not done, so a Wayland session read as unsupported
while the default build runs through XWayland. Say that the default build is an
X11 client, document the opt-in GTK 3 shell on both platform pages and in the
requirements, qualify the conformance entry, and record which Wayland paths CI
exercises against weston.
AppKit delivers a document opened while the application runs through the URL
callback as a file URL. Route those to the open-file handler as paths so the
registered document types reach OnOpenFile, and leave other schemes to
OnOpenURL.
View.Wheel gave the wheel to the first scroll area under the pointer that
could move, whatever focus trap was up. A dialog's body then passed the
wheel to the list behind it whenever the body could not scroll itself, as
Motty's host form did over its host list. A press already reaches only the
trapped scope; the wheel now follows it.

Each scroll area records the focus scope it was painted in, and while a
trap is up View.Wheel skips areas outside that scope. Areas inside it, and
every area when no trap is up, behave as before. FocusScope is the accessor
the paint pass needs to record that scope.

Companion: Motty's host form regression test in its commit (Motty main,
"test(workbench): keep the host list still under the form body wheel").
A label whose text is not valid UTF-8 failed the native label update and
closed the window. A file name a remote host stored in another encoding
is such text. Replace each invalid byte with U+FFFD before handing the
text to the native layer, and recount the runs so their byte spans still
match the replaced text.

Refs: t8y2/motty#1180
A wake posted by Post was a thread message, and a modal Win32 loop — a
status-icon menu, a dialog — retrieves it and hands it to DispatchMessage,
which has no window to deliver a thread message to. The wake vanished
unseen, the coalescing flag stayed set, and every later Post was accepted
and never run: work that waits on the event loop hung until the process
restarted, while requests that never need the loop kept answering.

Wake the loop with a message-only window instead: a modal loop dispatches
that message to the window procedure exactly as the application's own loop
does, so the queued work runs there. A wake that cannot be posted clears
the flag so the next Post posts a fresh one rather than leaving the queue
behind a latch.

Verified on Windows against a real MessageBox modal loop: posted work runs
under the dialog, and a control run with the thread-message wake shows the
same dialog dropping it.
A ColorPicker declared inside a Dialog painted its panel on the page's
widget layer, because the layer was read during paint. The dialog's scrim
and surface then sat above the panel, so its controls were covered and
pointer clicks could not reach them; only keyboard input still worked.

Capture the layer when the picker is declared, as the combo box already
does, and paint the panel there. Popover placement inside a dialog is a
reusable overlay rule, so it stays in Viva; the highlighted rule and its
colors remain Motty's.

The paired Motty change puts this picker in a rule dialog for custom
keyword colors, which exposed the mismatch.

Refs: t8y2/motty#1191
A select with icons painted the icon but measured only its label, so an
auto-sized trigger clipped the label by the icon span. The measurement now
adds components.SelectIconSpan, the same constant the painting uses.

Motty's SSH browser setting uses this to size its browser picker around the
browser marks instead of a fixed width (t8y2/motty#1201).
@1lck
1lck merged commit d354e3c into main Nov 20, 2026
2 checks passed
@1lck
1lck deleted the sync/upstream-39376802 branch November 20, 2026 10:55
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.

4 participants