tao icon indicating copy to clipboard operation
tao copied to clipboard

[bug] When resizable is false window size is forced to be at least 200px (Linux)

Open Megamannen opened this issue 1 year ago • 12 comments

Using this sample resizable

When starting with

  let mut resizable = true;

  let window = WindowBuilder::new()
    .with_title("Hit space to toggle resizability.")
    .with_inner_size(LogicalSize::new(220.0, 90.0))
    .with_resizable(resizable)
    .build(&event_loop)
    .unwrap();

It starts out at the correct size, but when pressing space (triggering resizable change), window size is forced to 200px height

Megamannen avatar Sep 21 '22 06:09 Megamannen

tao-resizeable.zip

Or sample project with the same code as the sample

Megamannen avatar Sep 21 '22 06:09 Megamannen

cc @wusyong

amrbashir avatar Sep 21 '22 11:09 amrbashir

Just tested this on my KDE and it works fine, what is your Linux distro and Window manager?

amrbashir avatar Jan 10 '23 15:01 amrbashir

Just tested this on my KDE and it works fine, what is your Linux distro and Window manager?

Manjaro, running Gnome Desktop. Can't give you exact version number right now since I'm not at work, but I'm 99% certain it's Gnome 43

Megamannen avatar Jan 10 '23 18:01 Megamannen

@FabianLars ☝️

amrbashir avatar Jan 10 '23 23:01 amrbashir

yep, same issue using the zip from above on ubuntu2204 on wsl, and fedora+gnome (both wayland and x11)

FabianLars avatar Jan 11 '23 10:01 FabianLars

Same issue on Ubuntu 22.10 (5.19.0-35-generic) (X11 / i3)

JakubGluszek avatar Mar 15 '23 13:03 JakubGluszek

Same issue on Ubuntu 22.10 (5.19.0-35-generic) (X11 / i3)

I also wanted to add that the issue is present only when the window is in "floating" mode (when using i3 WM).

JakubGluszek avatar Jun 21 '23 13:06 JakubGluszek

Same issue here on Ubuntu 22.04, GNOME version: 42.5, Wayland

yuezk avatar Jun 25 '23 03:06 yuezk

Same issue on opensuse, hyprland/wayland

Daniel-Ros avatar Aug 05 '23 09:08 Daniel-Ros

Same issue here, both with GNOME 44.2 on Wayland and with i3 on X11. (webkit2gtk-4.0: 2.40.4, tauri: 1.4.1)

clemux avatar Aug 16 '23 11:08 clemux

Same issue, running on Manjaro Linux with Plasma 5.27.10 as DE and KWin as WM. When will it be fixed? :worried:

WindLeaf233 avatar Feb 05 '24 16:02 WindLeaf233