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

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

Open
Megamannen opened this issue Sep 21, 2022 · 12 comments
Labels
platform: Linux status: needs triage This issue or pull request needs to be investigated type: bug

Comments

@Megamannen
Copy link

Megamannen commented Sep 21, 2022

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
Copy link
Author

Megamannen commented Sep 21, 2022

tao-resizeable.zip

Or sample project with the same code as the sample

@amrbashir
Copy link
Member

cc @wusyong

@amrbashir
Copy link
Member

amrbashir commented Jan 10, 2023

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

@Megamannen
Copy link
Author

Megamannen commented Jan 10, 2023

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

@amrbashir
Copy link
Member

@FabianLars ☝️

@FabianLars
Copy link
Member

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

@JakubGluszek
Copy link

JakubGluszek commented Mar 15, 2023

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

@JakubGluszek
Copy link

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).

@yuezk
Copy link

yuezk commented Jun 25, 2023

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

@Daniel-Ros
Copy link

Same issue on opensuse, hyprland/wayland

@clemux
Copy link

clemux commented Aug 16, 2023

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)

@WindLeaf233
Copy link

WindLeaf233 commented Feb 5, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
platform: Linux status: needs triage This issue or pull request needs to be investigated type: bug
Projects
Status: 📬Proposal
Development

No branches or pull requests

8 participants