-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Clarify platform-specific details for Viewport
positioning
#5715
Clarify platform-specific details for Viewport
positioning
#5715
Conversation
Viewport
sViewport
positioning
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, thank you!
Preview available at https://egui-pr-preview.github.io/pr/5715-viewport-position-docs |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, should've realized in the first review, we should mention that this is eframe specific, since it might be different for someone e.g. using bevy_egui. I'll apply the suggestions and merge this now, thanks!
On Wayland (and android apparently) it is not possible for applications to position their windows or request the window position (for some reason). This is not specified in the documentation.
proof:
winit::set_outer_position
,winit::outer_position
,winit::inner_position
all specify that Android / Wayland are not supported.with_position
method of ViewportBuilder does not seem to work on wayland #4469