Skip to content

Multiple windows example panics when closing one of the windows #11236

@nicopap

Description

@nicopap
  • Bevy version: 425570a (main as of today)
  • Linux/X11

What you did

  • Run the multiple_windows example with cargo run --example multiple_windows.

What went wrong

Closing a window results in a panic with the following error:

bevy_winit: winit event loop returned an error: os error at
cargo/registry/src/winit-0.29.9/src/platform_impl/linux/x11/mod.rs:433:
Xlib error: X error: BadWindow (invalid Window parameter) (code: 3, request code: 148, minor code: 1)

Additional information

Probably related to #10702

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-WindowingPlatform-agnostic interface layer to run your app inC-BugAn unexpected or incorrect behaviorC-ExamplesAn addition or correction to our examplesO-LinuxSpecific to the Linux desktop operating systemP-CrashA sudden unexpected crashP-RegressionFunctionality that used to work but no longer does. Add a test for this!

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions