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

Error getting window dimensions on Wayland #768

Open
Delta18-Git opened this issue Nov 10, 2024 · 0 comments
Open

Error getting window dimensions on Wayland #768

Delta18-Git opened this issue Nov 10, 2024 · 0 comments

Comments

@Delta18-Git
Copy link

Delta18-Git commented Nov 10, 2024

The terminal shows a warning from procps: "your 131072x1 screen size is bogus. expect trouble"

Log:
rio.log

2024-11-10T12:24:38.707046Z  INFO sugarloaf/src/sugarloaf/state.rs:194: has empty dimensions, will try to find...
2024-11-10T12:24:38.707564Z  INFO sugarloaf/src/sugarloaf/state.rs:167: prepare_render: changed height... 22
2024-11-10T12:24:38.707621Z  INFO sugarloaf/src/layout/mod.rs:224: expected columns 2
2024-11-10T12:24:38.707648Z  INFO sugarloaf/src/layout/mod.rs:229: recalculating columns due to font width, adding more 69 columns
2024-11-10T12:24:38.707672Z  INFO sugarloaf/src/sugarloaf/state.rs:174: prepare_render: changed width... 11
2024-11-10T12:24:38.707694Z  INFO sugarloaf/src/sugarloaf/state.rs:180: sugar_state: dimensions has changed
2024-11-10T12:24:38.711607Z  INFO /build/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wgpu-core-22.1.0/src/device/resource.rs:446: Device::maintain: waiting for submission index 0    
2024-11-10T12:24:38.711962Z  INFO frontends/rioterm/src/application.rs:138: Initialisation complete
2024-11-10T12:24:38.712005Z  INFO sugarloaf/src/sugarloaf.rs:155: requested a font change
2024-11-10T12:24:38.719558Z  INFO sugarloaf/src/sugarloaf/state.rs:194: has empty dimensions, will try to find...
2024-11-10T12:24:38.719681Z  INFO sugarloaf/src/sugarloaf/state.rs:167: prepare_render: changed height... 22
2024-11-10T12:24:38.719700Z  INFO sugarloaf/src/layout/mod.rs:224: expected columns 18446744073709551615
2024-11-10T12:24:38.719721Z  INFO sugarloaf/src/layout/mod.rs:237: recalculating columns due to font width, removing 18446744073709551615 columns
2024-11-10T12:24:38.719738Z  INFO sugarloaf/src/sugarloaf/state.rs:174: prepare_render: changed width... 11
2024-11-10T12:24:38.719754Z  INFO sugarloaf/src/sugarloaf/state.rs:180: sugar_state: dimensions has changed
2024-11-10T12:24:38.732362Z  INFO /build/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wgpu-core-22.1.0/src/device/resource.rs:446: Device::maintain: waiting for submission index 1    
2024-11-10T12:24:38.747202Z  INFO /build/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wgpu-core-22.1.0/src/device/resource.rs:446: Device::maintain: waiting for submission index 2    
2024-11-10T12:24:38.749272Z  INFO sugarloaf/src/sugarloaf/state.rs:194: has empty dimensions, will try to find...
2024-11-10T12:24:38.749298Z  INFO sugarloaf/src/sugarloaf/state.rs:167: prepare_render: changed height... 22
2024-11-10T12:24:38.749307Z  INFO sugarloaf/src/layout/mod.rs:224: expected columns 18446744073709551615
2024-11-10T12:24:38.749316Z  INFO sugarloaf/src/layout/mod.rs:237: recalculating columns due to font width, removing 18446744073709551615 columns
2024-11-10T12:24:38.749323Z  INFO sugarloaf/src/sugarloaf/state.rs:174: prepare_render: changed width... 11
2024-11-10T12:24:38.749334Z  INFO sugarloaf/src/sugarloaf/state.rs:180: sugar_state: dimensions has changed

Environment:

  • OS: Linux
    • Distribution: Arch Linux
    • Desktop Environment - GNOME (Wayland)
    • Shell - Fish Shell
    • GPU - Radeon 780M (Mesa RADV)
  • Rio Version: 0.1.17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant