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

Resizeactive and resizewindowpixel dispatchers ignores min/max window size #5707

Open
Ligthiago opened this issue Apr 23, 2024 · 0 comments
Open
Labels
bug Something isn't working

Comments

@Ligthiago
Copy link
Contributor

Hyprland Version

System/Version info
Hyprland, built from branch  at commit 5fdd0bceac9b8b60e68635226de57c3d18d0a034  ().
Date: 2024-04-23
Tag: , commits: @COMMITS@

flags: (if any)


System Information:
System name: Linux
Node name: prometheus
Release: 6.8.7
Version: #1-NixOS SMP PREEMPT_DYNAMIC Wed Apr 17 09:23:43 UTC 2024


GPU information: 
04:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Rembrandt [Radeon 680M] [1002:1681] (rev 02) (prog-if 00 [VGA controller])


os-release: ANSI_COLOR="1;34"
BUG_REPORT_URL="https://github.com/NixOS/nixpkgs/issues"
BUILD_ID="24.05.20240421.6143fc5"
DOCUMENTATION_URL="https://nixos.org/learn.html"
HOME_URL="https://nixos.org/"
ID=nixos
IMAGE_ID=""
IMAGE_VERSION=""
LOGO="nix-snowflake"
NAME=NixOS
PRETTY_NAME="NixOS 24.05 (Uakari)"
SUPPORT_URL="https://nixos.org/community.html"
VERSION="24.05 (Uakari)"
VERSION_CODENAME=uakari
VERSION_ID="24.05"


plugins:
  Hyprspace by KZdkm ver 0.1

Bug or Regression?

Bug

Description

The resizeactive and resizewindowpixel dispatchers ignores the minimum and maximum window size. This leads to inconsistent behavior, as window can be resized further with keybinds, but can't be resized with the mouse drag, e.g resizewindow.

See vid

How to reproduce

  1. Set minimal size for some window
  2. Set binds for resizing, for example binde = SUPER, W, resizeactive, 0 -20 etc, probably with submap
  3. Try to resize window to smaller size, than minsize with mouse drag and binds

Crash reports, logs, images, videos

fish.mp4
@Ligthiago Ligthiago added the bug Something isn't working label Apr 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant