 Hello and welcome to yet another episode of um I messed up. This one is quite funny because it literally was just a typo that was in the code that I had done and that I pushed into master. Actually I did a merge request and then the merge request got accepted and landed into master breaking kd plasma for everyone who was not using the contrast effect I discovered but it wasn't that easy. So say hello to my green screen as it will now disappear. This is the merge request it is actually a pretty big one and I've talked about it. It reworks the look of everything not just the corners it makes the corners more you know rounded and also adds some very thinned outline to kd plasma elements. I would show it to you but I don't have it applied right now you can see the screenshot and you can also watch the video that I've done talking just about this patch. So the thing is it got discussed stuff like that and then it got accepted and landed but there was something there was a mistake that I had done and I discovered about this because there is sift in the merge request itself a comment about another developer who was like hey Niccolò when I use kd plasma everything looks like this which is wrong do you know what's up because you know I've tried to try age like where was this coming from and it turns out that it's from your patch so what's up and I look at this and I mean if you learned anything about me you should know at this point that whenever somebody tells me that my code is wrong I'm like you know it works on my machine so it's your fault but just kidding I was actually very weirded out by this screenshot because it is wrong surely but it's wrong in a such a weird way so let's try to understand what's going on so this is the screenshot let's zoom in so this is a screenshot of the system tray but this happened to all dialogues so even key runner and you know everywhere all dialogues and this weird bug on the left so what's happening is that the left element of this dialogue instead of being taken like as the left element it was taken as the entire svg so you can see that this thing here let's zoom in this thing here is the entire svg for the dialogue so in theory you should only take the left part and use it to draw the entire left part but for some reason that didn't happen and the entire svg was used to draw the left part which is weird but what was even weirder is that I had tested my own patch obviously other people had tested my patch and nobody had this issue so what happens now is actually pretty funny I just start asking questions to try and to understand what's up what's going on so the first one is like a standard question does this still happen if you delete the cake and restart plasmashal this in theory should never solve anything but you never know it's like turn it off and on again sometimes it does work so have you tried the legend plasmashal cake and yeah that didn't happen so do you have like any configuration or setup that might affect this kind of things like I had no clue why it was working on the tester's machine and on mine but not on his and obviously it's like no I don't have anything weird going on so next question what about third party theme are you using a third party theme instead of breeze because maybe the therm is broken and he's like no all themes work fine except for breeze which is the default one so it is your fault at this point we just switched to telegram because I was asking too many questions but without getting to the telegram discussion what else did I ask so at this point I've kind of guessed since it was working for other themes but not for breeze that I had messed up something in breeze the question is where like okay it's in dialogues so it's probably a messed up that I've done on dialogues but there are actually four different dialogues filing caty plasm this sounds weird but there are four different styles of dialogues within caty plasma let me actually show you so this is the folder with all of the themes this is the fault which is you know the default one and now you have okay so widgets um where is it dialogues it's dialogues sorry not widgets dialogues background and this is the first file that could be wrong or it could be it could be inside translucent dialogue background and this is the second one or it could be inside of solid dialogues background and this is the third one or it could be inside of opaque dialogues background and this is the fourth one all of these are doing different things so I try to ask question that nailed down which one of these four files it was how did I do that well if you set the panel to opaque it's going to use the solid one so I went to him and asked what happens if you set your panel to opaque and he says the bug disappears so it's not the fault of the solid one so I said what if you disable compositing because if that happens then you switch to the opaque one and he said if you disable compositing the bug disappears so it was not the compositing one so we're left with the normal one and the translucent one the translucent one is used when you have a contrast effect and then the normal one is when you don't have contrast effect so I told him what if you disable contrast effect and it was like oh but I don't have it and it's like oh oh I see what went wrong we all tested this merger quest with contrast effect on which means that we all use the svg which is inside of translucent but apparently there is something wrong with the svg that is not inside of translucent but the normal one which is only used if you have contrast effect disabled so what did I do at this point I went on my machine I disabled contrast effect and surprise surprise I could reproduce the bug so what was wrong let's actually see what was wrong because it's super easy so you see I've edited all of the files and we said that the normal one which is dialogues background svg is the one that I broke this one let's actually give it a look these are all of the elements that I changed can I see the new file yes but the code thank you ah no not LibreOffice no okay so this is the new code that I made so we know that the issue is the is with a left element likely all the elements are named in a meaningful way which means that the top element it's called top right element is called right and the left element you might have guessed is called left so we can just search for left and look at here look at here this element which is supposed to be the left element is actually called left three so what happens this svg is loaded and the theme is like okay do we have a left element and they search for left and they only find left three which is not left so they say no there is no left element and since we don't have a left element we'll just use the whole svg as a pullback so what's the fix you might have guessed it's just to do yes that was it that was the entire fix I just okay so what happened well it's not quite a typo now that I think about it but it's that stupid so what I did is that since we have four different files with the very same exact things inside of not the same exact but very similar things inside of them what I did is just like copy pasted the same element four times right and the fact is that when I copy pasted this element we still had the old left element so you can't have two elements with the same ID so when I copy pasted the new ID instead of being called left because left already existed got called left three for some reason of course then I actually deleted the old svgs so the old left went away but the new left was still named left three and I thought like I knew about this obviously and I thought I had correctly renamed everything to have a correct name but I missed this one I somehow just missed it that was it so now that I have throughoutly explained to you how messed up like how much I can mess up the little things let me switch to thanking everybody who is paying me for doing this kind of mistakes thank you so much to all of the patrons and if you'd like to support both the youtube channel and also all the kd development that I'm doing these days I'm into like exams university exams so it's a little a little bit less than usual but I'm still trying my best so if you want to help out you've got like links there's Patreon, LibrePay, PayPal, Ko-Fi everything in the video description and if you can help out that would be great it actually helps me you know go on with all of this and I'm also trying out to improve the quality of everything I've got new lights, new green screen, new everything so I'm trying my best thanks everybody for following and see you tomorrow with yet another video this green screen is actually pretty nice I like it I can move it around