 Hello and welcome to KDNews where I talk about the things that has happened this week in KD Plasma and also a little bit look at the code so if you're interested in contributing well maybe it will make that a little bit easier. Also I have just recorded a video about me eating chips because it's actually one year since I first started the channel so if you're interested in me having fun and insulting myself then go check it out. I published it yesterday unless I change the video order later on. Let's get to the changes. This one is rather boring so let's close the full screen and see if there's something more interesting to start with which is this one. This is something very nice to some people. I personally don't see the point but other people do and I'm actually really happy that we do have this feature now. Thanks to by the way the FernOS developer so if you like FernOS well or if you don't know about FernOS the developer is very very very active in the VDG group so it's not something that all of these terminterners do so that's very nice. Now Breeze can adapt your titlebar color to the accent color that you have so if you select blue the titlebars are going to be blue, if you select red they're going to be red, if you select gray they're going to be gray which is very nice. Now this is not enabled by default you have to select in the color scheme Breeze Classic and if you're into these things then just check it out. It will probably be in Plasma 5.25 which releases in about three months and I mean what else to say it's a nice feature to have I think. I won't personally use it but still. The next one is this one I'm sorry that I don't have like all of the things in order but it's the second time I record this video and I'm bored and this change I think is a very small change but it's one of those things that truly have a big impact so when I'm taking screenshots and I'm selecting an area to take a screenshot from I think it's very important to actually see what area you're selecting and this simple change simply goes from this to this where the part that you're selecting is much much lighter compared to the background and that's really nice and the best thing is that code wise it's really simple as we'll see but first of all let's see all of the changes. This one might excite you slightly I mean as far as k-style changes can be exciting there's now a little bit of margin around the menus so now there's slightly bigger but not too big not like touch input big and you can see that the highlight now looks a little bit prettier. Now personally I actually had some issues with this merger quest because if you go see zoom in the line this line here doesn't actually touch the borders and it did before and personally I'm not a super big fan of lines that do not actually stretch to it but you know people were very happy with this and that's fine. This one so if you use I think Intel you should have P state which is the ability of selecting power saving a bit like in GNOME 2 and you can select like performance or battery saving and now there are icons to actually help you understand which one is this which one is which. If you don't know what performance means now this icon will actually help you get it. Now there's a bit of discussion actually on what a power icon should look like this is the proposal but there's also like this which is nice these are other proposals I think that they all look very promising. Personally I still think maybe the lighting is very nice but this one here also looks very good let me actually zoom in so you can see it better. Which one do you prefer let me know in the comments. Next one this zoom thing is calling me. Okay so this now as you should know by now if you open up the audio applet you will actually be able to see the volume of the microphone and of the speaker as you're actually speaking or hearing I don't know music you actually see the line going left and right depending on the volume as it changes life which is a very nice feature but when it first was implemented it looked broke because there was like literally no line between here and here it was completely empty and it just looked broken. Now it was fixed by doing this but it wasn't really actually easy to see but then the actual fix I think this one was done and I think it looks much better so it is the highlight highlight but it is actually filled for the volume this looks in my opinion perfect and I'm super super happy about this change. Lastly this is the before this is after before after before after do you see the change it's very small look at softer and harder and now there are slightly smaller and bolder in general there has been in the past years a lot of like people being not too happy with using bold in the interface but that has changed and I think this change is representative and I think it's a good step in the right direction so plus one and now we see the code so let's start with the most interesting one which is I have a duplicate this one so let's go see this one so it's done through masks so you're having a rectangle and then a bigger rectangle which is has a hole inside of it those are two masks and they do have a color the first one goes 000 which is black and then there's the transparency actually the opacity which goes from being dot 15 to dot 5 so the black got blacker darker and here we've got white which is the area actually inside of the inner rectangle and then its opacity goes from being 100 to 127 which is higher so it's actually whiter it's as easy as that but I think it's a big change for people taking screenshots and I don't think that we I think there are many people taking screenshots this one cannot be explained because everything concerning q styles k styles sorry it's actually super easy sorry forget about that it's actually super easy and we just have to well of course we add a constant which is the gap between them around the menu sorry and I guess that what we are doing here is that we have this function pixel metric which is all about I think actually getting all of the margins and it's done by actually asking which margin it needs inside of this variable so we do a switch in that variable and if we're being asked for the margin h and margin v so horizontal and vertical then we return the constant that we defined here super simple what do you need to know to do this patch well the k style api which is complex but the actual change is simple so maybe if you ask somebody who knows they can guide you into actually doing something this one is slightly weirder weirder that is okay the first change is easy so we've got the slider and it has to become opaque from being not as opaque so we just remove the opacity 0.5 doing this opacity gets defaulted to 1 that's easy change number two the inner line needs to be filled now if we take the svg there is actually no filled version of this so how is it actually done it's all magic of this plasma core frame svg selected and to understand what that does we need to read the api so we google plasma core frame svg item and we get the documentation the class reference which I personally often use and then we search for the status property which is going to explain where is it status here even selected svgs can be colored with system color themes which breeze does by default if the status is selected the text color will become highlighted text color and the background color will become highlight color so what was the text color which is like black becomes highlighted so blue and what was the background color which is white becomes highlighted which is blue or whatever your accent color is so that is actually where the fill comes from this one lastly super simple we just change the level you know it's a bit like markdown or html where titles have h something and that something is the level or in markdown markdown the amount of whatever you call them yeah those are the level and we actually make it bigger a bigger number surely there's a word for it but right now it just doesn't pop up to my mind you make the number bigger you make the level higher and that means that it's smaller it's a bit counterintuitive but that's how it works and then you change the header type to being when it's actually a section otherwise we don't care but when it's a section then it's primary and by the api of kirugami headings a primary kirugami heading is bold and that's where the bold boldness comes from and that was it only this changes last thing but remaining last thing come on but it's super complex and i won't get to it so that was everything hopefully it was interesting and pretend you didn't see that just pretend please it's 23 30 it's late and if i'm here to record this video is surely thanks a lot to all of the people that actually donate because that helps me i'm a student i'm not able to do this as i don't know full time this is an hobby in my free time and if i had to i don't know go actually get an actual job that i wouldn't be able to do this so if you want to be sure that the video keeps on coming consider donating something and those people who donate either through paypal if you ask me or via patreon every week or so get access to a secret telegram group with some secret content which is actually early preview for everyone so if you're interested there's also benefits and see you tomorrow hopefully with another video subscribe blah blah blah all the youtuber stuff