Skip to content

fix: egui 0.34 panel ordering and WASM renderer#478

Merged
srperens merged 2 commits intomainfrom
fix/egui-panel-ordering
Apr 7, 2026
Merged

fix: egui 0.34 panel ordering and WASM renderer#478
srperens merged 2 commits intomainfrom
fix/egui-panel-ordering

Conversation

@srperens
Copy link
Copy Markdown
Collaborator

@srperens srperens commented Apr 7, 2026

Summary

  • Fix status bar not visible after egui 0.34 upgrade — with show_inside, bottom panels must be rendered before CentralPanel to reserve space
  • Fix WASM renderer detection showing "unknown" — remove #[cfg(not(wasm32))] gate on wgpu detection
  • Explicitly set Renderer::Glow for WASM to maintain WebGL2/Firefox compatibility (eframe 0.34 defaults to wgpu)

Test plan

  • Native: status bar visible at bottom
  • WASM: renderer info shows "glow (WebGL)" on Info page
  • cargo check and trunk build pass clean
  • Verify log panel toggle works on Flows page

🤖 Generated with Claude Code

Per Enstedt and others added 2 commits April 7, 2026 16:27
With show_inside, panel rendering order determines space allocation.
Bottom panels must be rendered before CentralPanel to reserve their
space, otherwise CentralPanel consumes all remaining area.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
eframe 0.34 defaults to wgpu, which broke WASM renderer detection
(showed "unknown") and switched to WebGPU which lacks Firefox support.

- Remove cfg gate on wgpu_render_state detection so it works on WASM too
- Explicitly set Renderer::Glow in WebOptions for browser compatibility

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@srperens srperens merged commit 9ccd9c7 into main Apr 7, 2026
7 checks passed
@srperens srperens deleted the fix/egui-panel-ordering branch April 7, 2026 15:20
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