Skip to content

Conversation

@tychedelia
Copy link
Member

@tychedelia tychedelia commented Dec 29, 2025

Closes #22306. In theory we could cfg gate this for just wayland but doesn't seem harmful to do as a general case so nbd imo.

Don't have access to wayland right now so can't test but the docs here and here seem to confirm this is the right fix.

@tychedelia tychedelia added A-Rendering Drawing game state to the screen A-Windowing Platform-agnostic interface layer to run your app in S-Needs-Review Needs reviewer attention (from anyone!) to move forward S-Needs-Testing Testing must be done before this is safe to merge labels Dec 29, 2025
@tychedelia tychedelia added this to the 0.18 milestone Dec 29, 2025
@it-me-joda
Copy link
Contributor

it-me-joda commented Dec 29, 2025

With my tiling window manager on Wayland it does indeed spawn the window fixing the problem but it does look a little goofy.

image

Rather than the entire window being the clear color as it would typically be it's letterbox-ed up inside the window. I don't think this is an issue at all since if you do add a camera it does what you would normally expect.

For my use case, it's perfectly fine but figured I would post my experience for completeness.

@alice-i-cecile alice-i-cecile added S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it C-Bug An unexpected or incorrect behavior P-Regression Functionality that used to work but no longer does. Add a test for this! and removed S-Needs-Review Needs reviewer attention (from anyone!) to move forward S-Needs-Testing Testing must be done before this is safe to merge labels Dec 30, 2025
@alice-i-cecile alice-i-cecile added this pull request to the merge queue Dec 30, 2025
Merged via the queue into bevyengine:main with commit a8f19a2 Dec 30, 2025
51 checks passed
mockersf pushed a commit that referenced this pull request Dec 30, 2025
Closes #22306. In theory we could cfg gate this for just wayland but
doesn't seem harmful to do as a general case so nbd imo.

Don't have access to wayland right now so can't test but the docs
[here](https://wayland.app/protocols/xdg-shell#xdg_surface) and
[here](https://wayland-book.com/surfaces-in-depth/lifecycle.html) seem
to confirm this is the right fix.
mockersf pushed a commit that referenced this pull request Dec 30, 2025
Closes #22306. In theory we could cfg gate this for just wayland but
doesn't seem harmful to do as a general case so nbd imo.

Don't have access to wayland right now so can't test but the docs
[here](https://wayland.app/protocols/xdg-shell#xdg_surface) and
[here](https://wayland-book.com/surfaces-in-depth/lifecycle.html) seem
to confirm this is the right fix.
mockersf pushed a commit that referenced this pull request Dec 30, 2025
Closes #22306. In theory we could cfg gate this for just wayland but
doesn't seem harmful to do as a general case so nbd imo.

Don't have access to wayland right now so can't test but the docs
[here](https://wayland.app/protocols/xdg-shell#xdg_surface) and
[here](https://wayland-book.com/surfaces-in-depth/lifecycle.html) seem
to confirm this is the right fix.
mockersf pushed a commit that referenced this pull request Dec 30, 2025
Closes #22306. In theory we could cfg gate this for just wayland but
doesn't seem harmful to do as a general case so nbd imo.

Don't have access to wayland right now so can't test but the docs
[here](https://wayland.app/protocols/xdg-shell#xdg_surface) and
[here](https://wayland-book.com/surfaces-in-depth/lifecycle.html) seem
to confirm this is the right fix.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-Rendering Drawing game state to the screen A-Windowing Platform-agnostic interface layer to run your app in C-Bug An unexpected or incorrect behavior P-Regression Functionality that used to work but no longer does. Add a test for this! S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Window is not spawned when there is nothing to render

3 participants