a-b-street / a-b-street/abstreet
Window height resized to 600px after loading
- Linguagem predominante
- Rust
- Estrelas
- 8.2k
- Forks
- 380
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Descrição
Platform: Linux (ArchLinux, Gnome 43.2, Wayland)
When starting the game with `RUST_LOG=trace RUST_BACKTRACE=1 cargo run --bin game -- --dev`, I observe the following behaviour:
- the window starts with a 800x600px size, then goes full screen, and then down to 1920x600px
- according to the window decoration, it's always maximized, so you have to click twice on the "maximize" icon to go to full screen after that.
Here are some relevant logs:
```
[2022-12-15T23:45:31Z WARN widgetry::runner] Monitor scale factor is 1, screen window is 800, but the application requires 1500. Overriding the scale factor to 1.
[2022-12-15T23:45:31Z TRACE widgetry::runner] winit event says the window was resized from 800, 600 to ScreenDims { width: 1920.0, height: 1013.0 }. But inner size is ScreenDims { width: 1920.0, height: 1013.0 }, so using that
[2022-12-15T23:45:33Z TRACE widgetry::runner] winit event says the window was resized from 1920, 1013 to ScreenDims { width: 1920.0, height: 600.0 }. But inner size is ScreenDims { width: 1920.0, height: 600.0 }, so using that
```
I'm not sure why the initial window is 800x600px. From what I understand, the issue likely lies in `glutin`, but that crate was completely rewritten recently, so if there's a bug there it's not going to get fixed.
It looks like updating `glutin` isn't a straightforward task.
Guia de contribuição
Nenhum guia de contribuição indexado para este repositório
Avaliação
Esta issue ainda não foi avaliada.