Skip to content

Diagnostic overlay fixes and improvements#24611

Open
cart wants to merge 2 commits into
bevyengine:mainfrom
cart:overlay-fix-and-improve
Open

Diagnostic overlay fixes and improvements#24611
cart wants to merge 2 commits into
bevyengine:mainfrom
cart:overlay-fix-and-improve

Conversation

@cart

@cart cart commented Jun 12, 2026

Copy link
Copy Markdown
Member

Objective

The new Diagnostic Overlay has some issues:

  • It uses a fullscreen Node that blocks all clicks, preventing other UI items from being clicked by default
  • It doesn't implement Default / Clone, so it isn't compatible with BSN
  • The font size isn't configurable (small by default is good, but it might be too small for some peoples' preferences)

Solution

Fix all of those things.

This should ship in 0.19 because it is pretty broken without the click passthrough fix. This doesn't need an RC to test because it is a new feature, very broken without this fix, and it is disabled by default.

@cart cart added this to the 0.19 milestone Jun 12, 2026
@cart cart added C-Bug An unexpected or incorrect behavior A-Dev-Tools Tools used to debug Bevy applications. labels Jun 12, 2026

@IceSentry IceSentry left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Comment thread crates/bevy_dev_tools/src/diagnostics_overlay.rs Outdated

/// Configures the style of diagnostic overlays
#[derive(Resource)]
pub struct DiagnosticsOverlayStyle {

@jbuehler23 jbuehler23 Jun 12, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just a question generally really from my end - but why not use a feathers widget for this?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To avoid adding a feathers/scene dependency. Keeps things slim / lets people that want to exclude these features do so.

Co-authored-by: Kevin Chen <chen.kevin.f@gmail.com>
@kfc35 kfc35 added the S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it label Jun 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-Dev-Tools Tools used to debug Bevy applications. C-Bug An unexpected or incorrect behavior S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants