{"id":2236,"date":"2013-11-01T13:15:41","date_gmt":"2013-11-01T12:15:41","guid":{"rendered":"http:\/\/vizZzion.org\/blog\/?p=2236"},"modified":"2013-11-01T22:25:15","modified_gmt":"2013-11-01T21:25:15","slug":"plasma-next-whats-changing","status":"publish","type":"post","link":"https:\/\/vizZzion.org\/blog\/2013\/11\/plasma-next-whats-changing\/","title":{"rendered":"Plasma Next: What&#8217;s changing?"},"content":{"rendered":"<p>In the past week, we hit something that really feels like a milestone in Plasma development. Plasma 2 has become somewhat usable, at least if your pain level is high enough. It occurred to me after I realized after a few hours of using it that the workspace shell running on my laptop was not actually the current stable release of Plasma, but the development version. Great thing, I thought, went ahead and fixed a sizing bug in the systemtray widget, then changed the default layout to include Kickoff, Taskmanager and Systemtray in the panel, as these elements are the most important ones to have in the panel &#8212; exposure even to just our development team surely won&#8217;t hurt. This experience also marks a point where we have to take a step back and look at our general direction. Sure, we could do a &#8220;minimal port&#8221; and just make everything build and work on top of Qt5. <\/p>\n<p><figure id=\"attachment_2238\" aria-describedby=\"caption-attachment-2238\" style=\"width: 310px\" class=\"wp-caption alignright\"><a href=\"http:\/\/vizzzion.org\/blog\/wp-content\/uploads\/2013\/11\/plasma2-turing.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/vizzzion.org\/blog\/wp-content\/uploads\/2013\/11\/plasma2-turing-300x168.png\" alt=\"I can hack on Plasma2 using Plasma2!\" width=\"300\" height=\"168\" class=\"size-medium wp-image-2238\" srcset=\"https:\/\/vizZzion.org\/blog\/wp-content\/uploads\/2013\/11\/plasma2-turing-300x168.png 300w, https:\/\/vizZzion.org\/blog\/wp-content\/uploads\/2013\/11\/plasma2-turing-1024x576.png 1024w, https:\/\/vizZzion.org\/blog\/wp-content\/uploads\/2013\/11\/plasma2-turing.png 1920w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><figcaption id=\"caption-attachment-2238\" class=\"wp-caption-text\">I can hack on Plasma2 using Plasma2!<\/figcaption><\/figure><br \/>\nOne of the technologies we&#8217;ve been using more and more in the Plasma workspaces is QtQuick, a declarative language that allows you to very easily write stunning UIs, without the need to use C++ for these parts. Our experience is that it makes developing, improving and maintaining applications a lot easier, and generally leads to much nicer user interfaces. QtQuick, being a very young technology in Qt4, has matured since then, and received a major technology update in Qt5. It moved from a traditional painter-based mechanism to a scenegraph model, and much closer onto the graphics hardware. That means that we usually get much better performance out of it, and that it allows a whole bunch of <a href=\"http:\/\/vizzzion.org\/blog\/2013\/03\/whats-going-on-in-plasma-workspaces-2\/\">neat tricks<\/a> on top of that. In Qt 5.2 (which is the Qt release we&#8217;re basing our work on), it received another big upgrade. The scenegraph renderer has been replaced, with huge performance gain as the result. (Read Gunnar&#8217;s <a href=\"http:\/\/blog.qt.digia.com\/blog\/2013\/09\/02\/new-scene-graph-renderer\/\">article<\/a> about it, it&#8217;s really impressive!) QtQuick also received a new QML engine, which brings major improvements to its internal data handling, but also to important topics such as maintainability. The new v4 engine uses Qt types internally, so a lot less marshalling is needed between runtime objects, and some architectural barriers have also been removed. Lars has written <a href=\"http:\/\/blog.qt.digia.com\/blog\/2013\/04\/15\/evolution-of-the-qml-engine-part-1\/\">an excellent article<\/a> about the new QML engine.<\/p>\n<p>So on a technological level, we have decided to not do this. We want a more modular software stack underneath, so we decided to rework the KDE Development Platform into something that is more useful in its pieces. The result of that (the process isn&#8217;t finished yet, but rapture lines are becoming very visible) is KDE Frameworks 5, a modular set of Qt-based libraries with well-defined dependencies which separately are all very useful to 3rd party developers, and combined give you all the functionality to build highly integrated complex applications on top. Plasma next builds on Frameworks 5. In the past 1.5 years, we have spent a lot of time on reworking the build system and removing interdependencies between various &#8220;sublibraries&#8221; that made up kdelibs. This has progressed really well, we are in fact able to build and use many of our libraries standalone already. We&#8217;re currently restructuring the last libraries to accommodate a split, and will then &#8220;physically&#8221; split the libs into separate repositories. In order to not make the effort to build a KDE application or workspace explode, we have developed tooling that can build sets of modules for you. You get to choose the granularity we work with. In order to make it easier for third parties to find and use our libraries, we have set up <a href=\"http:\/\/inqlude.org\/\">Inqlude.org<\/a>, which has information about these (and other) libraries. This is very much work in progress, but it does already give a good picture of what&#8217;s to come.<\/p>\n<p>For the user, we want to keep this whole process as smooth as possible. Porting applications to Frameworks 5 is rather easy, as regarding kdelibs, it mostly involves changes to the build system, some mild Qt5 porting, and only a few API changes. It is nowhere nearly as disruptive as the move from KDE3 to KDE4 (yes, our software was still called KDE${N} back then!).<br \/>\nIn Plasma, it&#8217;s a little more complicated, as much more changed under the hood (a completely new way to get graphics onto the screen, deprecation of larger parts of our API, more device-independence reflected in our architecture). Our goal for the first release is to not introduce functional regressions however. We want to keep the basic usecases of a Desktop fully working, preferably noticeably improved. In the past years, we have already moved a lot of the individual components (such as the task manager, widgets for battery, network management, etc.) that make up our workspace to QML, this pays off now as those things are rather easy to port, and give a very mature impression right off the bat. We do realize that we have some cleaning up to do, and now is a good time to do this. We want to introduce a greater degree of consistency across the workspace experience. Technically, this can be achieved by more and smarter sharing of code, so common UI patterns become more, well, common. Plasma&#8217;s design language will be more pronounced, and at the same time, easier to change to your liking. More on that in another article, however.<\/p>\n<p>As it currently looks like, we will release a first technology preview of both, Frameworks 5 libraries and Plasma Next in December. This won&#8217;t be a complete thing by any means, but a way to check on and gauge progress. At the same time, you&#8217;ll get to have a good look at Plasma Next, which, while building on the new technology stack, will resemble our current offering quite a bit still. It is much more a technology preview, than a user experience preview. So don&#8217;t judge too early, rather, get your hacking shoes on and join the fun. :)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the past week, we hit something that really feels like a milestone in Plasma development. Plasma 2 has become somewhat usable, at least if your pain level is high enough. It occurred to me after I realized after a few hours of using it that the workspace shell running on my laptop was not&hellip; <a class=\"more-link\" href=\"https:\/\/vizZzion.org\/blog\/2013\/11\/plasma-next-whats-changing\/\">Continue reading <span class=\"screen-reader-text\">Plasma Next: What&#8217;s changing?<\/span> <span class=\"meta-nav\" aria-hidden=\"true\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[23,22,29,32,35],"tags":[],"class_list":["post-2236","post","type-post","status-publish","format-standard","hentry","category-active","category-english","category-kde","category-plasma","category-qt"],"_links":{"self":[{"href":"https:\/\/vizZzion.org\/blog\/wp-json\/wp\/v2\/posts\/2236","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/vizZzion.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/vizZzion.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/vizZzion.org\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/vizZzion.org\/blog\/wp-json\/wp\/v2\/comments?post=2236"}],"version-history":[{"count":5,"href":"https:\/\/vizZzion.org\/blog\/wp-json\/wp\/v2\/posts\/2236\/revisions"}],"predecessor-version":[{"id":2242,"href":"https:\/\/vizZzion.org\/blog\/wp-json\/wp\/v2\/posts\/2236\/revisions\/2242"}],"wp:attachment":[{"href":"https:\/\/vizZzion.org\/blog\/wp-json\/wp\/v2\/media?parent=2236"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/vizZzion.org\/blog\/wp-json\/wp\/v2\/categories?post=2236"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/vizZzion.org\/blog\/wp-json\/wp\/v2\/tags?post=2236"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}