hyprwm / hyprland-plugins

Official plugins for Hyprland
BSD 3-Clause "New" or "Revised" License
462 stars 43 forks source link

Hyprbars: Hyprland crashes when windows get too small #101

Closed Liassica closed 3 months ago

Liassica commented 3 months ago

When using Hyprbars, Hyprland's process will crash if the windows get too small (i.e. open too many on one workspace). This does not seem to happen when Hyprbars is disabled.

The error given is:

[CRITICAL] 
==================================
ASSERTION FAILED! 

Tried to render rect with width/height < 0!

at: line 716 in OpenGL.cpp

Crash reports (tried it many times to make sure): hyprlandCrashReport2211.txt hyprlandCrashReport28186.txt hyprlandCrashReport31794.txt hyprlandCrashReport32956.txt

vaxerski commented 3 months ago

try with above (and 1 more I committed right after)

Liassica commented 3 months ago

Seems to be fixed, thanks!