slint-ui / slint

Slint is a declarative GUI toolkit to build native user interfaces for Rust, C++, or JavaScript apps.
https://slint.dev
Other
17.55k stars 601 forks source link

Changing tab in the Gallery demo unmaximizes the window #3419

Closed sdasda7777 closed 1 year ago

sdasda7777 commented 1 year ago

Hi, I'm not sure why, but when testing the Gallery demo (cargo run in the examples/gallery/) every time I change the tab (on the left, Controls, ListView, etc.) the window unmaximizes and changes position to the position it had before being maximized (it does not move when not maximized):

image

I don't believe this is intended to happen: if it is not, is it issue with the demo itself, or with Slint (or underlying libraries)? I am using Windows 10, if that helps in any way.

ogoffart commented 1 year ago

Thanks for the bug report.

I believe this is a duplicate of https://github.com/slint-ui/slint/issues/2904 which will be fixed with the next version of winit.

sdasda7777 commented 1 year ago

Thanks, it really seems like it.