- 
          
 - 
                Notifications
    
You must be signed in to change notification settings  - Fork 4.2k
 
Description
Bevy version
The problem was introduced in 6b004f7
Operating system & version
Arch Linux with Wayland via Sway.
What you did
Run the button example via cargo.
What you expected to happen
I expect the gray background to fill the window with the button in the center.
What actually happened
The background fills the upper left 2/3 of the window with the rest solid black. When the window resizes, the content also resizes but is always limited to the upper left 2/3s of the window. The button responds to mouse events when the cursor is in the location where the button should be but not when the cursor is where the button is shown to be. I see equivalent behavior with other examples.
Additional information
This is the example running fullscreen. Though the cursor isn't visible in the screen shot it is located near the lower right corner of the gray area, where the button should be. You can see that the button is in it's hovered state.
Here's what sway thinks my screen is, if that's useful:
$ swaymsg -t get_outputs
Output eDP-1 'Chimei Innolux Corporation 0x14C9 0x00000000' (focused)
Current mode: 1920x1080 @ 60.007999 Hz
Position: 0,0
Scale factor: 1.000000
Scale filter: nearest
Subpixel hinting: unknown
Transform: normal
Workspace: 1
Max render time: off
Adaptive sync: disabled
Available modes:
1920x1080 @ 60.007999 Hz
