hyprwm / hyprland-plugins

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

Hyprbars: Hyprland crashes when windows get too small #101

Closed Liassica closed 8 months ago

Liassica commented 8 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 8 months ago

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

Liassica commented 8 months ago

Seems to be fixed, thanks!