Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix windowing problems when using the x11 feature on Linux #3643

Merged
merged 2 commits into from
Nov 27, 2023

Conversation

emilk
Copy link
Owner

@emilk emilk commented Nov 27, 2023

Added by @konkitoman in #3172

I'm not sure what the hack is supposed to solve, but calling it
every frame is a bad idea, as @ItsEthra reported in
#3628 (comment)

* Closes #3620
* Closes #3628
@ItsEthra
Copy link
Contributor

Someone with a x11 compositor should check if multiple viewports still work as intended with this fix. Also comment mentions that newest winit will fix the behavior this hack is intended to fix, so maybe we can just wait for winit pr.

@konkitoman
Copy link
Contributor

That can be removed!
But on Plasma 5.27.9 X11 the viewport position will be out of sync!

But is a Plasma specific bug, that happens in multiples apps!

@emilk
Copy link
Owner Author

emilk commented Nov 27, 2023

Ok, then I'll remove the hack completely - thanks for the clarification @konkitoman !

@emilk emilk changed the title Don't call set_maximize each frame on Linux Fix windowing problems when using the x11 feature on Linux Nov 27, 2023
@emilk emilk added eframe Relates to epi and eframe native-linux Problem specific to Linux bug Something is broken labels Nov 27, 2023
@emilk emilk added the egui-winit porblems related to winit label Nov 27, 2023
@emilk emilk merged commit e6815ae into master Nov 27, 2023
11 of 35 checks passed
@emilk emilk deleted the emilk/remove-maximize-hack branch November 27, 2023 17:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something is broken eframe Relates to epi and eframe egui-winit porblems related to winit native-linux Problem specific to Linux
Projects
None yet
3 participants