Ui Layout not updated when the window manager changes initial window size
- Dominant language
- Rust
- Stars
- 48.2k
- Forks
- 4.8k
- Avg merge
- 3d 22h
- Merged PRs (30d)
- 161
Description
New to bevy, so I'm pretty much in the playing around phase. I'm using arch linux with wayland with [Sway](https://swaywm.org/) as the window manager. Sway is a [Tiling Window manager](https://en.wikipedia.org/wiki/Tiling_window_manager).
The issue is, that tiling window managers don't really respect the requested window size and just set it based on their own rules so it fits nicely on the screen.
Bevy seems to not notice this change, which means that some of my UI is off screen. Once i manually start resizing the video, the layout is properly calculated and everything is visible. When I move the screen to a different monitor / workspace and the window size gets set to a different value from sway, the layout is also correctly updated.
It's is only the initial change to the window size that seems to get lost.
## The un-updated, wrong layout

## Correct, Once i resized it by a few pixels

## Bevy version
0.15
EDIT: Tested with both "X11" and "wayland" feature flags, as well as only one of them. Same result
Contributor guide
Assessment
This issue has not been assessed yet.