hyprwm / Hyprland

Hyprland is an independent, highly customizable, dynamic tiling Wayland compositor that doesn't sacrifice on its looks.
https://hyprland.org
BSD 3-Clause "New" or "Revised" License
19.57k stars 824 forks source link

xsane is doing a funny #2541

Open WasteOfO2 opened 1 year ago

WasteOfO2 commented 1 year ago

Setup info

Distro: Gentoo. Graphics: Nvidia (absolutely proprietary)

Problem statement

Hello, I need to scan some documents, for which I need to use Xsane, however, Hyprland doesn't seem to play well with it.

Problem demonstration

https://github.com/hyprwm/Hyprland/assets/45941793/55fe0b40-1a42-417d-b25c-6dc59bb7b2ce

Steps to reproduce

  1. Be me
  2. Have a working printer/scanner
  3. Decide to scan some documents, install xsane to do so
  4. Open xsane to issue a command to scan
  5. 2023-06-18 04-43-52.mp4

Expected outcome

Window renders with sane(as the name implies) dimensions

Noted outcome

Unusable window and a terrible experience

Suggested solutions

This is likely an xsane issue, but it would be nice to have a Hyprland-related fix for legacy programs like these that were likely designed with X11 in mind. Sure XWayland exists for that purpose, but something similar to Wine's virtual desktop would be a nice thing.

WasteOfO2 commented 1 year ago

try making the window bigger, then making a windowrule to keep it big

How do I make the window bigger manually? xsane has a bunch of tiny windows i am not sure i can manage individually

vaxerski commented 1 year ago

windowrule nomaxsize would allow you to resize it past its advertised max size

izmyname commented 1 month ago

Does this still happen?