natemaia / dk

X11 window manager
MIT License
18 stars 0 forks source link

The border is not drawn on some windows #1

Closed TAforever closed 7 months ago

TAforever commented 7 months ago

Until recently, this problem most often happened with steam window, but after today's update it also started happening with telegram window.

natemaia commented 7 months ago

Would you be able to show another video or screenshot of the issue in action. I know I've seen one already but I can't seem to reproduce this.

TAforever commented 7 months ago

This bug is very insidious and is not reproduced in 100% of cases. In the video you can see how the steam window appears without borders, but if, for example, I open a terminal and close it, then the border will appear.

https://github.com/natemaia/dk/assets/52626363/5f1c4f52-25ad-48ff-bb2e-763160f0d9f2

telgram_without_border

natemaia commented 7 months ago

Sorry I wasn't able to catch your vids, this is basically what I'm getting

https://imgur.com/eFB9ypZ

natemaia commented 7 months ago

So I managed to reproduce it finally, I didn't pay attention and see that you had small gaps as well, for whatever reason this seems to be why it wasn't happening for me. After that I did a bit of messing around to find the best way to handle it. In the most recent commit 8e6f1dd it seems to be fixed.

Please let me know how it goes.

TAforever commented 7 months ago

Looks like the problem has been fixed, great!