Skip to content

Update libcosmic and take the detached spawn from cosmic-launch - #40

Merged
BlakeGardner merged 1 commit into
mainfrom
update-libcosmic
Nov 15, 2026
Merged

BlakeGardner merged 1 commit into
mainfrom
update-libcosmic

Conversation

@BlakeGardner

Copy link
Copy Markdown
Owner

Moves libcosmic, iced_test, and the crates that come with them to libcosmic dfc68d1, which is newer than the dd108aa that #35 and #36 propose. Those two could not build on their own, and both change the same lock entry, so this replaces them.

Why they failed: libcosmic moved its process helpers into a new crate, cosmic-launch, and no longer re-exports them, so cosmic::process::spawn (used to open links) stopped resolving.

The fix: Keyloom depends on cosmic-launch from the same repository and calls cosmic_launch::process::spawn, the same detached double fork as before. libcosmic already builds that crate for its desktop helpers. The now-unused process feature is dropped from libcosmic's feature list.

Validation, run locally:

  • cargo fmt --all -- --check
  • cargo clippy --all-targets --all-features --locked -- -D warnings
  • cargo test --verbose --locked (352 passed, 23 ignored)
  • cargo deny check advisories bans sources
  • cargo test --locked screenshots -- --ignored (18 passed); the removal dialog and a keyboard deck render as before

Not checked: opening a link from the running app on a real desktop.

libcosmic moved its process helpers into a crate of their own,
cosmic-launch, and no longer re-exports them, so cosmic::process::spawn
stopped resolving and the Dependabot updates of libcosmic and iced_test
could not build. Opening a link now calls cosmic_launch::process::spawn,
the same double fork that keeps the browser out of Keyloom's process
tree. libcosmic already builds the crate for its desktop helpers, and
the lockfile keeps it, libcosmic, and iced_test at one commit.

libcosmic's own "process" feature no longer gates anything Keyloom
uses, so it is dropped from the feature list.
@BlakeGardner
BlakeGardner merged commit 95e09a1 into main Nov 15, 2026
6 checks passed
@BlakeGardner
BlakeGardner deleted the update-libcosmic branch November 15, 2026 05:36
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