Open happenslol opened 1 year ago
Does anyone have any input on this? Is this maybe a better fit for another tauri-apps repository, since it deals more directly with the windowing/webkit2gtk layer? I'd also be open to digging into this if anyone could point me in the right direction.
I'd really love to use tauri for a project of mine, but this is really standing in the way of that.
Is website with any URL link also affected? I've auto scaled the gtk window iirc. Search a bit on webkit2gtk and I found it might need to do it manually. I can test this in wry if there's a minimum example to reproduce.
User has 200% scaling, cannot scroll
Describe the bug
Running a freshly initialized tauri project on a 2256x1504 Laptop produces the following window when running
yarn tauri dev
:Opening the URL of the local dev server in chrome with the ozone platform enabled shows the following:
It seems like the webview is not doing any scaling at all. Setting
GDK_SCALE
orGDK_DPI_SCALE
does not have any effect either.Reproduction
cargo-create-tauri-app
yarn tauri dev
on a HiDPI-screenExpected behavior
The scaling should be the same in the GTK WebView as in a correctly scaled Chromium or Firefox window.
Platform and versions
Running on NixOS with Sway/Wayland and scaling set to 1.5, using the recommended
flake.nix
.Stack trace
No response
Additional context
No response