Skip to content

build(dioxus): take the patched winit-appkit from the Blitz fork - #3

Merged
adammharris merged 3 commits into
mainfrom
claude/winit-from-blitz
Oct 20, 2026
Merged

adammharris merged 3 commits into
mainfrom
claude/winit-from-blitz

Conversation

@adammharris

Copy link
Copy Markdown
Member

The org now keeps its patched Blitz stack, winit included, in diaryx-org/blitz (`patches/` there). leaf's `patches/winit-appkit` moves there (diaryx-org/blitz#2). This PR repoints `apps/flower-dioxus`'s `[patch.crates-io] winit-appkit` from leaf's `main` to the fork's `leaf` branch, and updates the two docs that named leaf. The crate and the patch are the same.

Merge after diaryx-org/blitz#1 and #2 are merged into `leaf`. Then run `cargo update -p winit-appkit --manifest-path apps/flower-dioxus/Cargo.toml` here; I'll add that lockfile commit. Until then the branch's lockfile still points at leaf.

Verified: `cargo check` of `apps/flower-dioxus` against the fork's copy, through a local override.

…nit-appkit

dioxus-native moves to 0.8.0-alpha.3, whose keyboard-types names keys
Key::Named(NamedKey::…) and ⌘ META. The editor turns the window's input
method on while a value is open, draws a composition underlined after the
buffer, and tells the input method the text before the caret, so dead keys
and composing input methods type into a value. The app takes winit-appkit
from leaf's main by git, so press-and-hold accents and the emoji picker work
on macOS too.

The menu tests that build muda items are ignored on macOS: muda makes them
on the main thread only, and libtest runs tests off it. They failed there
before this change.

Behavioural-change: flower-dioxus's Editor enables and disables the window's input method itself, and handles Ime::Preedit and Ime::DeleteSurrounding as well as Ime::Commit.
The org keeps its patched Blitz stack, winit included, in diaryx-org's
Blitz fork (patches/ there), where leaf's patches/winit-appkit moved. Same
crate and patch; only where it comes from changes.
@adammharris
adammharris merged commit 6c87174 into main Oct 20, 2026
8 of 9 checks passed
@adammharris
adammharris deleted the claude/winit-from-blitz branch October 30, 2026 01:25
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