 Technology guys. All right. So hi everyone. So last talk for the today, I think right? I mean from the Photo yeah before the cover back. All right, so my talk is about next generation notifications If you're not using plasma LTS, then you probably got a new next generation notification center And this talk is basically about three of those three topics basically what it can do What us application developers should be doing now new APIs and things like that that you should consider using now and also an Outlook for new features and upcoming versions and new APIs and plans and things and everything So start up with the feature rundown. I Have to increase my notes Zooming in just a second. So those are the new features that we have. There's now a new It's unified notifications and job reporting. We used to have that before But nowadays the jobs like if you copy a file it basically behaves as if you had a notifications it's shown in the same exact style as any notification and Also, there's a new do not disturb mode, which is a common thing these days that you can say, okay I don't want any notifications. I have to focus on something on study or doing a presentation or whatever I don't want to be interrupted in any way. So that's also new in plasma 516 the history got improved and revamped it's now grouped by application and Yeah, other than that we have inductive previews if you take a screenshot for instance and also because it's a Katie thing It's very highly configurable, of course So this beautiful us God, I'm not sure if you can actually see it, but that's Actually copied from the source code. It has all the information you need about how it all hangs together It's basically a string of models which are stacked on top of each other So you have these tons of models that are then grouped and like stacked together to get the informational screen So we have these two notification model and jobs model, which are two completely separate things There's notification server and the job Kui server, which Which does all of the D bus stuff and then it's merged together using the Good named K concatenate rows proxy model and that's also a thing about there's a framework So K item models is something you should be checking out if you do any model stuff The K concatenate rows proxy model for instance is in there and actually got upstream to Qt recently It's now called Q concatenate tables proxy model It's in Qt 530 because it cannot just concatenate rows by the entire table models It just puts them like one after the other and then you have all of these models filtering and sorting and grouping and Flattening it back down with K descendants proxy model, which is also K item models So K item models if you do model stuff, it's amazing and then at the bottom There's you seeing your notifications and being annoyed by all of these people that want things from you So those are some screenshots. That's the interactive preview I was talking about right there in the top left if you take a screenshot It's one of my Favorite plasma productivity features if you take a screenshot like press meta shift print screen You can do a rectangular selection Then you get a screenshot in your notification and you can then drag this notification off to your web browser To your email client or your chat app or whatever so like you have this ticket your writing or JIRA or whatever You have to describe to your client what the problem is you can just take a screenshot drop it into your editor done So very very productivity and then also do not disturb you can choose for one hour There's also an option for four hours now. I added after I took the screenshot and it's not configurable right now It's just it assumes you work from six in the morning till 8 p.m. So you can't actually configure yet What times it actually? Stets us as a morning and evening, but yeah, you can't configure all of the things except The weird one so and then there's the download stuff with plasma browsing integration for instance, you also get this progress dialogue and Then settings module also got completely revamped It gives you these general notification settings about do not disturb and about your history and everything But the new thing is it can also configure non KD applications So it reads the GNOME users notification hint So actually your naughty laws and whatever it actually lists in the KCM right away And it also remembers all applications that actually send a notification So once you got a notification from late safe Firefox shows up in the list and then you can just shut it off and tell it Not to show notifications So for developers first of all very important Make sure your desktop file name is set correctly Because otherwise it cannot identify your application and then it won't allow you to remain in history because with the history if You have an application which annoys in your history and it's not it doesn't didn't identify to us You cannot configure it So only applications with a proper desktop file name may show up in history and new in 516 You notice notify RC file from K notifications which lists all the events You should now add the desktop entry to it because K notifications was done before we were using like these desktop file names for Identifying stuff so it uses the application binary name or something And so in order to be able to relate it back to an application You have to add the desktop entry and if you're not using K notification for whatever reason and using lip notify instead There's also this weird C command you can use to set the hint There's also new an urgency You can set what kind of urgency notification has but do so carefully So in doubt just leave it on normal But there's also high and critical and low so low is like your track change notification in Amarok or whatever It won't show in history It is just a one-shot notification that then goes away and then critical stuff is things like your battery is running out And those actually show on top of full-screen windows. They show in do not disturb mode So they are so critical. They show up every time so don't abuse this You can also set it in the notify RC file and there's also lip notify call. So urgency is also a new feature and Then also use default actions Default action is basically an invisible button on a notification. It makes the entire pop-up clickable So if you have a chat message Set a default action that clicking the actual pop-up brings up the notification at the chat window rather than the user having to hit a button So default actions and also prefer setting icon names over picks maps So don't do like Q icon from theme and then dot picks map just pass the name of the icon Because then plasma can load the appropriate color SVG in case of dark mode and things like that And then also this URL thing if you want the nice preview consider setting URLs It's originally I made it so it's a list of URLs. It could be a strip of icons But effectively only the screenshot application used it so in a new system actually just looks at the first first Image and that's basically it and it's a custom hint xkd URLs And actually I've seen other applications like flame shot. It's also screenshot application. They also use it So very nice I really like when people actually integrate with our stuff because normally it's us that try to work with everyone So that's also pretty cool And I also knew I added it for Katie connect basically it's a way so you can Say an origin of notification if you get say Your notifications synced from your phone it can then say okay This notification comes from my phone and then actually show the name of the application on the phone rather than just say Katie connect And then also that's something I would love to see in for example K-mail that it actually uses that and then say okay This new inbox notification comes actually from Katie inbox folder or whatever like shown the account name on top of notification And then it also doesn't group them together And I actually made a chromium patch couple of weeks ago to also show the website name in the title with the origin name And to my surprise they were really open to the idea and they were basically just Not looking at a patch for two weeks and then I pinged them again. They were like, oh, yeah That's a great idea ship it basically so hopefully it's going to be merged in I don't know couple of weeks So outlook or entourage There's in 5.17. There's a new feature which I think David for will love When you mirror your screens it will enable do not disturb more automatically because normally if you give a presentation like this You have my laptop screen in front of me and then the presentation on the external monitor So my notifications would show up like on my screen and you wouldn't see them But if you're doing like a like coding session or some consulting a cute crater demos or whatever You probably use screen mirroring and now you can actually have it automatically Engaged do not disturb mode. So as soon as you mirror your screens turns on do not disturb what no notifications and nobody can see your naughty little messages and then quick reply is also a new feature I've been working on that you get a text field in the notification and then you can just reply to your chat Notification right away, but there's some issues with focus because notification windows never get focused and that's something I need to discuss with the Queen people But that's also something I would love to have in the future and then I went all crazy You know this is plasma browse integrations banner. So what if you have with plasma browse integration? You know you get integration with plasma and your Firefox and whatever So what if if you have an app on your phone normally you have an app on your phone and maybe a desktop Website on your computer. What if we go all crazy and then Have Katie connect ask plasma browse integration whether your Telegram web site is open on your computer and then not sync the notification from your phone because it assumes your website In your browser already show identification So yeah, that's some things I want to want to Plan and so if you want to get involved in notifications There's a buff Tuesday morning. So don't drink too much in one evening and then we can make something amazing happen in the future. Thank you Thank you so much. Anybody has any questions Hello, have you been working on the push notifications for the Android? In any library or trying to implement something for it because when I was trying To implement push notification with Qt framework, but there was no Support or kind of library I could find to implement it What do you mean by push notifications? Like the any notification that not local that you get from the like what's that notification or something like that But for the cute applications online, right? No, I haven't done anything Because without privacy and stuff, you know We'd rather have an application running which then queries so rather than being able to push things to the computer Thank you So there's this library called Q I think you called Qt cloud messaging if somebody has compute open you can check but there's a there's a Some embedded Pushmet message in push notification integration for Caldeod and then there is I believe Android support some fire base Stuff, but this is clearly an area that this that Cute sucks and should be read on but for the while being that might help you forward, but Any more questions, okay Thank you. Thank you