-
Notifications
You must be signed in to change notification settings - Fork 2k
Window ignoring resize request #3668
Copy link
Copy link
Closed
Labels
bugSomething is brokenSomething is brokenhelp wantedExtra attention is neededExtra attention is needednative-linuxProblem specific to LinuxProblem specific to Linuxviewportsmultiple viewports, viewports APImultiple viewports, viewports API
Metadata
Metadata
Assignees
Labels
bugSomething is brokenSomething is brokenhelp wantedExtra attention is neededExtra attention is needednative-linuxProblem specific to LinuxProblem specific to Linuxviewportsmultiple viewports, viewports APImultiple viewports, viewports API
Describe the bug
I was testing something against the current github/master (hash in case it helps with testing: 84a6d6f). I noticed that the code I have for resizing the window is not working against master (but works in 0.24.0).
To Reproduce
I resize the window when I load user config files (in my app, the window position and size are saved in different files, bypassing the built in persistence system):
I run this code during
eframe::App::updatebecause the user can load a config file at any time.Expected behavior
In 0.24.0 (the released version of 0.24 on crates), my window loads with the expected size and position but on the github version, it appears to be giving me the default window dimensions. It's certainly not the ones saved in my settings file.
Desktop (please complete the following information):