Skip to content

Wayland HiDPI: winit decoration overhangs the contents by 2x in examples #1450

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

Closed
valpackett opened this issue Jul 30, 2019 · 5 comments
Closed
Labels
area: wsi Issues with swapchain management or windowing backend: gles Issues with GLES or WebGL backend: vulkan Issues with Vulkan help required We need community help to make this happen. type: bug Something isn't working

Comments

@valpackett
Copy link
Contributor

Something is not right about the hidpi factor handling:

cube-fs8

@kaimast
Copy link

kaimast commented Mar 26, 2020

Are you using gnome shell? It might be the same winit problem I am having.

rust-windowing/winit#1509

@valpackett
Copy link
Contributor Author

No, this is Wayfire. Other winit apps like Alacritty work great.

@kaimast
Copy link

kaimast commented Mar 27, 2020

Weird..I just tested and don't have this issue with alacritty either.

@kvark kvark transferred this issue from gfx-rs/wgpu-rs Jun 3, 2021
@kvark kvark added area: ecosystem Help the connected projects grow and prosper help required We need community help to make this happen. type: bug Something isn't working labels Jun 3, 2021
@kvark
Copy link
Member

kvark commented Oct 15, 2021

I'm seeing this issue on Gnome+Wayland now with #2076
What's particularly interesting is that it's not exactly 2x. If I change the window size with mouse, the rendered portion stays the same size!

@cwfitzgerald cwfitzgerald added backend: gles Issues with GLES or WebGL backend: vulkan Issues with Vulkan area: wsi Issues with swapchain management or windowing and removed area: ecosystem Help the connected projects grow and prosper labels Jun 5, 2022
Patryk27 pushed a commit to Patryk27/wgpu that referenced this issue Nov 23, 2022
The original pointer access test used SPIR-V for its input because WGSL didn't
have a working pointer indirection operator at the time. Now that it does, we
can just write this test in WGSL directly.

Fixes gfx-rs#1432.
@cwfitzgerald
Copy link
Member

This feels out of scope to us.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: wsi Issues with swapchain management or windowing backend: gles Issues with GLES or WebGL backend: vulkan Issues with Vulkan help required We need community help to make this happen. type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants