Open elibroftw opened 8 months ago
Fix we are using currently
#[cfg(target_os = "linux")]
fn webkit_hidpi_workaround() {
// See: https://github.com/spacedriveapp/spacedrive/issues/1512#issuecomment-1758550164
std::env::set_var("WEBKIT_DISABLE_DMABUF_RENDERER", "1");
}
fn main_prelude() {
#[cfg(target_os = "linux")]
webkit_hidpi_workaround();
}
fn main() {
main_prelude();
// ...
}
wow what is not broken in the new renderer 👀 Glad you found a workaround and i still wonder if we should just hardcode it in tauri itself...
Describe the bug
First two screenshots are of the app I'm working on with the display set to 125% and 100% on a Linux Mint (Ubuntu derivative) VM on VirtualBox. Notice that the UI is blown up.
125% 100%
Native Linux Mint App (100%) Native Linux Mint App (125%)
Reproduction
No response
Expected behavior
The UI should not be scaling. I'm not sure if this is CSS issue or if this is a Tauri issue, but writing a ticket here just in case.
Full
tauri info
outputStack trace
No response
Additional context
No response