 Okay, so initially I didn't want to make this video, but then I saw the Reddit post about it and I thought well if People are going to know about this. It's better if they learn it from me with all of the caveats because yes The corners bug is kind of being fixed, but you know, there's the kind of and we need to talk about that But to make sure we're all on the same page Let's see first of all what the corners bug is because that's the one we're referring to both what it means for the user and What happens from a technical point of view? So you know when you well you can start third-party decorations and some of it are like transparent and some of it support blur behind them and There's even like third-party q-styles which use blur and sometimes in the top left and top right corners of Windows you get that the blur isn't actually rounded. So you get a window as an example Let's draw this is our window with the rounded corner and then the blur is applied of course underneath it But it's not actually rounded. So this part you can see that it's blurred, but it's not covered by the decoration So well, it looks ugly. So what's going on? Okay, first of all, we have our window Our window is drawn by the window. We don't care for that the decoration which is on top is what interests us Decoration is drawn by either the breeze decoration or a third-party Decoration system. So the default decoration is breeze, of course Which is a good decoration in my opinion and then there are third-party decorations Now those two in order to actually work have to go through a couple of APIs There is of course the very interesting name K decoration to you I think and then there's also our rory our rory I don't know how is that pronounced and usually decoration third-party decoration actually rely on our rory. So We're whereas breeze is actually first-party doesn't have to go through all of that So breeze is opaque and there's no problem there. There's no blur going on. So the corners back Doesn't affect at all breeze by default Whereas third-party decoration are what the issue is sometimes third-party decorations are also big But you still get the corners back and that's because the that particular third-party Decoration is not well done and it uses blur Behind the decoration even though it's opaque. So it shouldn't be necessary So that's an issue of the decoration But if you have a decoration that actually needs blur or you end up with this ugly blur area that isn't actually Rounded so you might say okay. So the issue is within the blur effect I've seen people saying ah KD developers implement the blur effect but cannot implement rounding Okay, I actually know the blur effect is just fine as this the blur effect is Perfectly able to round everything and you can actually see it So, you know if you take this all of this stuff and you actually apply it to the plasma theme So you've got an as an example kickoff pretend This is kickoff. Well the blur in this case is actually around it even for third-party Plasma themes and on breeze as well because please does use blur and ways that okay So the blur effect in order to know that it has to be rounded like this needs Mask at least our mask or at least like the radius so of course the blur effect can't be rounded if it doesn't know by how much to be rounded and I know that you've you've probably seen if you're angry with the corners back this third-party fix that should fix the blur and What this third-party plug-in does Well, it goes to the blur effect and says hey blur effect Please be rounded which is as I've said absolutely easy to implement The issue is that that fix doesn't know by how much it should be rounded and to do that It just asks you when you configure that a plugin you need to insert manually the radius of your decoration And maybe you don't know it so it's not that actually a fix It's just a workaround a hack which is fine of course as hack goes but well There should be a way there should be a better fix what Plasma theme do if you have seen my videos about the plasma theme go see them There is this weird Rectangle which is rounded like this and then it's all black on the inside and this represents the window and since This is rounded this mask is given to the blur effect which says okay, so this is rounded So I also got around the corners as easy as that and this is directly provided by the plasma theme So what goes wrong instead here? Well, the issue is that the third-party decoration should give this mask which should be rounded which then should be Past here which then should be past here which then should be passed to the blur effect and these are a lot of steps and We are lacking some of them. So the proposed fix is to add some of these steps I think not all of them. I won't like pretend. I know everything of the system I just roughly know the structure and the issues with it, but I'm not a developer of K-Win I know Plasma not K-Win. So I'm trying my best. So the patch Well, I'll show it later But the idea is that the third-party decoration should provide a mask or at least the corner radius right now This fix that has been proposed uses just the radius. So I mean potentially this thing could have Custom masks I like I don't know this and then the blur effect would also use this custom shape here So it would become Something like this and then this and then this whereas this fix only proposes to use the radius Which is fine for 99% of the theme now. What's the catch? So here's the first one if the third-party decoration doesn't provide a mask or radius Well, the bug is still going to be there and as a matter of fact right now most of the themes don't actually All of the themes don't actually give a mask nor a radius because that opportunity wasn't there before Which means that all of the themes that currently have this bug will have it to be fixed The nice thing is that it should be easy I think from a point of view of the actual Decoration developer so it shouldn't take that long to update them But if you're not maintained, well, you'll have to do it yourselves sadly But now let's actually go see the merge request. I'll stop drawing. I'll just stop drawing. That's it This is the merge request now we get a nice image that shows the bug So you can see that there is the decoration which is rounded and then there is the blur which is applied But it's not rounded and here as well There is the radius and then the rectangle underneath then Thank you chrome Then in the after image you can see that well, they're actually both rounded core correctly So that's what should right now This is done by adding these four properties blue radius top left blue radius top right blue radius bottom right And blue radius bottom left. So if you want a theme to actually support this right now Which might not be the situation when this actually lands if it lands So I will update you but if you were to use this fix right now You would have to add these properties This is an approach for Aurora a engine to public publish masks for it It's a decorated windows in order to avoid out of window blurring at the decoration corners in more detail Each Aurora themes gains four new options in this configuration file that its designer can set these four So these are the five issues that are being worked upon to actually well before actually Fixing or merging anything the first one is that Alternative solution could be to provide a mask SVG like Plasma, which is what I was saying theoretically this should be better a Better approach because as I've said this means that third party could also use weird masks Like I don't know octagons as an example That's reasonable if you're doing some weird theme I guess but the issue with that is that some themes actually use like PNG Maybe come on so it might potentially not work everywhere But only in SVG based themes because Aurora a also supports like PNG images come out Maybe I don't know about that, but surely SVG now in theory this whole thing of actually passing the mask Was accounted for and it was accounted for in this decoration opaque SVG element The issue that this is documented in these links as this person says says This person by the way, let's give them a lot of credit for is Psy for dev also Sorry, the name is a bit hard to pronounce, but it's Mitchell It's the Mitchell Verlakis the developer of LATADOCK. So the developer of LATADOCK is fixing this. So wow that's wow and As I was saying in theory this should be accounted for In the property decoration opaque SVG elements However, this is only in the documentation and it seems like it was never never implemented and the author Meg Rusling doesn't actually work much on K-Win anymore. So weird Then the KDV VDG group must provide an Aurora theme that will confirm the accepted fix This is because of some Aurora themes metrics are not very clear to me. So a designer should out, please So we actually need to test. So by the way, this might be important for you as well If you know themes that are for sure affected by this bug, send me a link so I can check them out and Finally KDECORATION 2 must support first-plural area for decorations So as I said, this step might be missing. In theory, this should work already and it should fix this bug. Finally, which is the blur effect applied to Decoration Shadows and It's only be open from like 2018, but I think it's older. I think it's older That was about it. To summarize it up finally Yes, there is some work going on to fix the corners bug and Well, maybe this won't be it. Maybe there's more work to do So you shouldn't take it for granted that it will be fixed like in the next version of Plasma It might require some work from the Decoration developers to actually implement this fix in their own themes But there is some movement in actually fixing this which is better than last week when nobody was working on it And for these bugs, these are quite technical and quite complex So if nobody steps in and really tries to help They will just hang there because it's not like somebody random like me can go and fix them because it requires Quite some skills in Kiwin at least and not everybody has them. That's as easy as that so a lot a lot of thank yous to the Latter-Doc developer for actually trying to fix this and As far as it goes for my channel. Well, see you tomorrow