Skip to content

Update to latest egui main - #263

Draft
emilk wants to merge 2 commits into
mainfrom
emilk/patch-egui-main
Draft

emilk wants to merge 2 commits into
mainfrom
emilk/patch-egui-main

Conversation

@emilk

@emilk emilk commented Sep 18, 2026

Copy link
Copy Markdown
Owner

Patches [patch.crates-io] to build the workspace against egui main, plus the example fixes needed to make it compile.

Upstream breaking changes adapted to:

  • ViewportCommand::Screenshot now carries a ScreenshotCallback instead of coming back as an egui::Event.
  • Ui::id was renamed to Ui::scope_id.

Note this PR is not meant to be merged as-is, since it pins the workspace to a moving branch.

Follows:

🤖 Generated with Claude Code

@github-actions

Copy link
Copy Markdown

View snapshot changes at kitdiff

Comment thread egui_plot/src/items/arrows.rs Outdated
@emilk emilk added the include in changelog This change will be included in the changelog label Sep 18, 2026
Comment thread examples/linked_axes/src/app.rs Outdated
Comment thread egui_plot/src/overlays/legend.rs Outdated
@emilk
emilk force-pushed the emilk/patch-egui-main branch from 61b89f0 to 6f3269d Compare September 18, 2026 08:51
@emilk
emilk changed the base branch from main to emilk/item-id September 18, 2026 08:51
Base automatically changed from emilk/item-id to main September 18, 2026 08:57
@emilk
emilk force-pushed the emilk/patch-egui-main branch from 6f3269d to cd6d1cd Compare September 18, 2026 08:58
Comment thread egui_plot/src/plot.rs Outdated
@emilk
emilk force-pushed the emilk/patch-egui-main branch from cd6d1cd to c7011cf Compare September 18, 2026 09:02
@emilk
emilk changed the base branch from main to emilk/plot-id-salt September 18, 2026 09:02
@emilk emilk changed the title Test against the latest egui main Update to latest egui main Sep 18, 2026
Base automatically changed from emilk/plot-id-salt to main September 18, 2026 09:14
emilk and others added 2 commits September 18, 2026 11:17
Uncomment the `[patch.crates-io]` entries so the workspace builds against
`https://github.com/emilk/egui` `main`.

`egui_extras` was pinned to `=0.36.0`, which no patched version can ever
satisfy, so relax it to `0.36.0` like its siblings.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
* `egui::Event::Screenshot` is gone: `ViewportCommand::Screenshot` now carries
  a `ScreenshotCallback`, so `save_plot` hands the image back through a shared
  slot instead of scanning raw events.
* `Ui::id` was renamed to `Ui::scope_id`; use `Ui::make_persistent_id` instead.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@emilk
emilk force-pushed the emilk/patch-egui-main branch from c7011cf to 76cb363 Compare September 18, 2026 09:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

include in changelog This change will be included in the changelog

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant