FelixKratz / JankyBorders

A lightweight window border system for macOS
GNU General Public License v3.0
1k stars 18 forks source link

Slowdown when using for a while requiring a restart #42

Closed kabeersvohra closed 8 months ago

kabeersvohra commented 8 months ago

Hi @FelixKratz

Thank you for all your work. It really is nice to have these features due to your hard work.

I have been experiencing slowdown issues while using JankyBorders and after uninstalling it last night my M2 Pro machine is running fast again. It seems like the same issue as in this issue, hence why borders were removed from Yabai v6:

https://github.com/koekeishiya/yabai/issues/1775

Have you been experiencing this issue and is there a solution to it?

Thanks

FelixKratz commented 8 months ago

Hi,

do you experience this slowdown even when yabai is not running? How exactly do these slowdowns manifest? Try dragging a window by its handle, is the border following the window? Because the slowdown from the issue you have linked is caused by APIs that I am not using at all.

kabeersvohra commented 8 months ago

Yes I notice it when using yabai. I can try to turn off yabai and see if the slowdown starts to occur. Strangely enough I also notice it when using MS teams screen share as that also draws a border around the window I am sharing. Is this not something you have experienced with your version of yabai?

I will do some further testing and report back

kabeersvohra commented 8 months ago

The slowdown often occurs when typing that it takes some seconds between the keypress and being registered. I have re-enabled the borders for now and will try to record it when it next slows down.

kabeersvohra commented 8 months ago

so it just happened again, I killed both yabai and borders and it was completely unrelated :(, thanks for your help, closing this ticket