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

Scale event not triggering Resized event #3213

Closed
nixpulvis opened this issue Nov 6, 2023 · 0 comments · Fixed by #3214
Closed

Scale event not triggering Resized event #3213

nixpulvis opened this issue Nov 6, 2023 · 0 comments · Fixed by #3214

Comments

@nixpulvis
Copy link
Contributor

At the moment it seems that the Resized event comes in before the ScaleFactorChanged which may cause problems.

[4.056648125s] [INFO ] [alacritty] winit event: WindowEvent { window_id: WindowId(WindowId(5778942480)), event: Resized(PhysicalSize { width: 3840, height: 2160 }) }
[4.056766750s] [INFO ] [alacritty] winit event: WindowEvent { window_id: WindowId(WindowId(5778942480)), event: ScaleFactorChanged { scale_factor: 1.0, inner_size_writer: InnerSizeWriter { new_inner_size: (Weak) } } }
[4.061049625s] [INFO ] [alacritty] winit event: WindowEvent { window_id: WindowId(WindowId(5778942480)), event: Moved(PhysicalPosition { x: -286, y: -1080 }) }

Platform: macOS 14.0
Application: alacritty 0.13.0-dev (34b5dbac)

@nixpulvis nixpulvis changed the title Scale event ordering Scale event not triggering Resized event Nov 6, 2023
nixpulvis added a commit to nixpulvis/winit that referenced this issue Nov 6, 2023
kchibisov pushed a commit to kchibisov/winit that referenced this issue Nov 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging a pull request may close this issue.

2 participants