 Welcome to yet another devlog episode of me complaining about the floating panel that I implemented doesn't work as well as it should. Why am I still milking this floating panel thingy because it's still giving me pain and hours to debug? So what I'm going to focus on right now, what I have focused on is to make sure that when you maximize a window as an example, let me actually finish the animation with all the patterns. Thank you to all the patterns, by the way. But when you maximize a window, as you know, the floating panel deflates and expands to fit the space. And like this, you see, like this, it becomes bigger. And people have complained that it's too thick, fine. Okay, originally it was supposed to be a little thinner, it was supposed to move down a bit and not expand vertically, but it would still have been more thickness. Why did we change that? Well, basically the issue is if I have a thing like this, and another like this, well, these two windows are not detected as maximized. They're just one on the side of, you know, they're on the sides, which means that the floating panel doesn't actually, you know, become thicker, it's still floating. And you can see that there is a nice margin all around the panel like this. The only way to deflate it a bit thinner was to actually give up on this margin, which means that these two windows would have touched the margin, even though it was the panel, even though it was still floating, which we decided was not good enough. So, so, so, so I decided to try to tackle the issue a different way. And what I'm trying to do is actually make it deflate without gaining any additional thickness, just going down, which is what most people request. And as much as it is a fair request, there is a reason why I didn't even attempt to implement it the first time. And that is, it's a mess. It's a mess, it's a mess. Why did I do this? Why? You convinced me to try this out and I'm just wasting time. So, let me go through it. Firstly, my big issue is that you see that it is working maximizing a window that does work now. But of course, I don't develop on this system. I have a plasma shell that I built myself with all my testing changes. But I don't know why. I have no clue why. But when I turn that up, as I'm going to do now, sorry, just a second. Well, it just doesn't work for some reason. For some reason, when I maximize my window, it doesn't work. I don't know why. I don't know. It maximized windows are not detected as maximized. And why should I even try to debug that? I'm trying to work on something else entirely. So what I did, I just added a timer, as you can see, that maximized the panel and then they maximize it every few seconds. So I just can test this out. And as you can see, it's working. You might look at this and say, wow, you did it. I did it. That looks cool. It goes down. It becomes opaque. It works. What's the issue? Well, let's try to maximize something. Well, what happens is it kind of works in this case. But you can see that the application that is actually touching the panel resizes to, obviously, and it does not resize in a pretty way. Now, all applications actually resize slightly different. Let me pull up, like, all in as an example. This happens. That's bad. Like, I think we can agree that this doesn't look good. But there is to say that in theory, in theory, the defloting shouldn't, in theory, happen every few seconds as I have with it with the timer. But it should happen when you maximize a window like this. So what we could hope for is to make the animation fast enough that the length of the animation of the application, you know, maximizing actually covers like heights, the fact that this animation of the panel floating and defloting would mess with application. Because if they both happen at the same time, you don't notice that one is messed up. That's my hope. How can I, I mean, can't I just test it? And no, because for some reason, my plasma setup cannot currently recognize whether a window is maximized or not, which is annoying. Thankfully, thankfully, I received a package. Let me actually bring that up. Okay, so I was saying, look at here, look at this little computer. It's not little. It's actually super pretty. This is the kiddie's limb book. And it was sent to me as a review unit by a limb book. Thank you so much as limb book, by the way. And of course, I'm going to do a review of this device. And I am immediately going to put it at work, because this is a machine that is for now untouched by me, which means that it still works, which means that I can try out my patch that for some reason doesn't work on that computer. But I can try it out if whether it works on this computer. This computer should still work. So my current plan is to build KDA plasma on this limb book, try out my patch on this limb book, and decide whether it makes sense to even attempt something like that. Because yeah, it has some holes. It's not just about animation. You also get this flow that if you have like dolphin hop and white, come on, this is this computer so messed up. I don't even get the, it crashed. Beautiful. Beautiful. Thank you. Okay. The fact that the panel moves down also means that the click targets are moving by a few pixels, sure, but they are moving. So in theory, that's already not too good of an approach. But I can understand that maybe the visual benefit that you get from it, that is the panel not getting any thicker is worth it. So I'm trying that. So if it works, we can discuss whether it should be on by default. And I need this one to try it out. If it doesn't work, I give up on it. No, I can still try to make it a bit thinner, but it still has to get a bit thicker when you defloated. That's necessary, which brings me to the second question that I often get asked. And that is, can't you add an option to never defloat the panel? No, no, I'm not going to do that. Stop asking, please. I've already said I don't want to do that. And that is because it doesn't really fix anything. Does it? I mean, floating panels with a maximized window out of the box look bad. They just look bad. This is not how it's supposed to look like, like this. And if the issue is that the panel thickens too much, then disabling the defloating entirely, not even by default, it's not the solution. It's a bad workaround. And it's also one more option to have in the UI, which in theory the panel should have been like a simple thing and now has a lot of options. I don't want that to happen. It's also one more code path to maintain. And again, the panel was supposed to be something simple and it's getting more complex by the version. So I don't want to make the panel any more complex. I just want to make it more simple and defloating like this kind of work, kind of works. It adds some code. Yes, not too much though, so it's visible. We just have to hope that it works better than it looks. And let me just send that by saying that I do all of this for like three in my free time at least. So if you have like some spare cash to hand me, I've got donations link and that would be super much very appreciated. And you get some special content kind of I'm restructuring that part of the channel. So thank you everybody. And I'm just gonna end this video by saying that yes, I'm very happy that this camera does green screen better. I've set up the lights better and it's more sharp. And my face looks better than before. But I don't want to do to every day I have to take this off. Oh, it's so annoying. You can live with a bit of like you can live with this. I don't look bad, right? I don't, right?