From 7e00d323b6c45eb8a19f20ca13209e568d10fdd3 Mon Sep 17 00:00:00 2001 From: Rob Parrett Date: Fri, 21 Oct 2022 09:26:32 -0700 Subject: [PATCH 1/3] Fix outdated and badly formatted docs for `WindowDescriptor::transparent` --- crates/bevy_window/src/window.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/crates/bevy_window/src/window.rs b/crates/bevy_window/src/window.rs index 3ebb9311c56ef..4d1c3dddd19a5 100644 --- a/crates/bevy_window/src/window.rs +++ b/crates/bevy_window/src/window.rs @@ -914,10 +914,7 @@ pub struct WindowDescriptor { /// /// ## Platform-specific /// - iOS / Android / Web: Unsupported. - /// - macOS X: Not working as expected. - /// - Windows 11: Not working as expected - /// macOS X transparent works with winit out of the box, so this issue might be related to: - /// Windows 11 is related to + /// - macOS X: Not working as expected, possibly related to [wgpu #687](https://github.com/gfx-rs/wgpu/issues/687). pub transparent: bool, /// The "html canvas" element selector. /// From 073547e805603c8e2fdc64e09cd2632574e38db9 Mon Sep 17 00:00:00 2001 From: Rob Parrett Date: Fri, 21 Oct 2022 09:50:12 -0700 Subject: [PATCH 2/3] Add linux (wayland) bullet point --- crates/bevy_window/src/window.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/crates/bevy_window/src/window.rs b/crates/bevy_window/src/window.rs index 4d1c3dddd19a5..c5d5078f5b56d 100644 --- a/crates/bevy_window/src/window.rs +++ b/crates/bevy_window/src/window.rs @@ -914,7 +914,8 @@ pub struct WindowDescriptor { /// /// ## Platform-specific /// - iOS / Android / Web: Unsupported. - /// - macOS X: Not working as expected, possibly related to [wgpu #687](https://github.com/gfx-rs/wgpu/issues/687). + /// - macOS: Not working as expected, possibly related to [wgpu #687](https://github.com/gfx-rs/wgpu/issues/687). + /// - Linux (Wayland): Not working as expected, see [bevy #5779](https://github.com/bevyengine/bevy/issues/5779). pub transparent: bool, /// The "html canvas" element selector. /// From 9aec32dd956fc4c64217fb789999a20f3d1aabc0 Mon Sep 17 00:00:00 2001 From: Rob Parrett Date: Fri, 21 Oct 2022 10:12:17 -0700 Subject: [PATCH 3/3] Link to new bevy issue describing macos situation --- crates/bevy_window/src/window.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/bevy_window/src/window.rs b/crates/bevy_window/src/window.rs index c5d5078f5b56d..4c31937ef1472 100644 --- a/crates/bevy_window/src/window.rs +++ b/crates/bevy_window/src/window.rs @@ -914,8 +914,8 @@ pub struct WindowDescriptor { /// /// ## Platform-specific /// - iOS / Android / Web: Unsupported. - /// - macOS: Not working as expected, possibly related to [wgpu #687](https://github.com/gfx-rs/wgpu/issues/687). - /// - Linux (Wayland): Not working as expected, see [bevy #5779](https://github.com/bevyengine/bevy/issues/5779). + /// - macOS: Not working as expected. See [Bevy #6330](https://github.com/bevyengine/bevy/issues/6330). + /// - Linux (Wayland): Not working as expected. See [Bevy #5779](https://github.com/bevyengine/bevy/issues/5779). pub transparent: bool, /// The "html canvas" element selector. ///