 Hi, I'm happy to announce that for the upcoming days there are two series that I thought were finished but aren't, which is the floating panel saga which keeps on giving and the corner spec saga which also keeps on giving because I'm still working on backfixing both things and I'm trying my best. So today we'll talk about floating panel because I managed to do quite a significant patch to improve the user experience using the floating panel. Now currently it has some flows as you might know about as an example let's bring up you know dolphin and the fact is if I maximize dolphin the floating panel deflows which is something that a lot of people ask me to remove and I'm not going to remove that was the whole point and there's an issue though if we currently you know like tile the window like this or you know like the whoops like this well you can see that the floating panel is not defloting although you know it's half tiled and if you have two half tiled windows it still won't defload which looks bad so what did I do I write some code that instead of checking for maximum windows checks for all windows in the screen that are not minimized and then checks if its geometry intersects the geometry of the panel and in fact the code is simple enough for me to show you as we usually do here we show the code okay so firstly there's a new function which is called rect overlapped it takes in two rectangles and just checks whether these two rectangles overlap and the math is quite boring actually it's not super immediately easy to understand but it's not complex either I just you know copy pasted from stackoverflow and then this is actually the important part so here we have all of our windows we go over all of the windows for each one we get that window like the first then the second then we get the geometry of that window and then we check if it overlaps with the geometry of the panel and if so we know that the panel is touching a window and if this happens then the panel deflows that's it that was pretty simple and it means that now if I just move the window like this so that it is underneath the floating panel the floating panel will deflate and this allows to for like as an example type windows to also deflate the panel now this is particularly important more important than it might seem and why is that well the fact that tight windows didn't make the panel to deflate meant that previously you can see that there is currently whoops you see there is some margin between the window and the panel that is actually by design because if you have a tiled window then it will look super bad if it the panel didn't deflate and there was no margin so I add to add some margins at the top of the floating panel to make sure that if you have a tiled window it still looks good now that's not necessary anymore because tiled windows will make the panel deflate which is nice which means that I don't need to add new margins to the panel anymore when there's at all like at all and this additional margin at the top of the floating panel was giving me some issues and as an example let's open a kick let's open up kickoff you can see that application launcher is not touching the panel and that is due to the fact that I'm reserving some space above the floating panel and this was actually a bug there was a bug report about it and you about it what did I do now that the panel deflots whenever a window touches the floating panel we can just get rid of this space above the floating panel and now the outlets actually touch the floating panel which is nice what if you want floating dialogues as well what if you do want kickoff for application launcher of any other widget to be floating yes you're getting that this was not it it looks broken but you will be getting that sooner or later thank me you're welcome sooner or later then there's a secondary benefit which is let's bring up this again let's maximize it you can see that whenever something gets maximized you can see that the floating panel deflots and takes space both underneath and above that is obviously because you know I have reserved some space for the panel I cannot change the amount of space I have reserved for the panel which means that I have to use both the space above and under the panel when I defloat but here's the thing I don't have to reserve any space above the panel anymore which means that I don't have anymore to expand defloat the panel vertically up I don't have to do that anymore and I still have to defloat it underneath so the latest version of the patch does not get rid of the top border and just makes the thing defloat a bit under like underneath and to the bottom you know this means that the ugly margins that you complain about has been halved before this it was 16 pixels now it's just eight because the top eight pixels I don't need them anymore and that's it really you might have noticed that the merge request doesn't seem that simple it is actually just look at how short this is in here I'm just saying okay you don't have anymore to reserve the top space don't reserve any space on the top anymore in here I say check whether you're touching any window and finally in here I'm saying okay defloat if you're touching any window and that's it that was super easy if you know how how to do that but now I know and now I did it keep in mind that I'm currently trying my best to remove all of the bugs from kitty plasma and I'm doing that uh at a five euros per hour rate currently with my donations and of course I'm super happy about just that five euros because you know they help me actually do all of these things otherwise I wouldn't have the possibility to however that's still quite not enough for me to have a channel that is sustainable and that I can actually work on more and more time so if you're interested in making kitty plasma desktop more stable and reliable through me then I would appreciate if you could donate anything to me you can also donate to kitty as a whole that's a completely different thing today I'm just talking about me I'm egocentric thanks for following and see you tomorrow with another video I don't know about the corners back probably