{"id":6451,"date":"2016-03-19T15:40:47","date_gmt":"2016-03-19T15:40:47","guid":{"rendered":"http:\/\/notmart.org\/blog\/?p=6451"},"modified":"2016-03-19T15:40:53","modified_gmt":"2016-03-19T15:40:53","slug":"little-plasma-things-at-cern","status":"publish","type":"post","link":"https:\/\/notmart.org\/blog\/2016\/03\/little-plasma-things-at-cern\/","title":{"rendered":"Little Plasma things at CERN"},"content":{"rendered":"<p>Over the second week of March I&#8217;ve been at the sprint at CERN.<br \/>\nIt has been an amazing experience seeing those very big toys, where the cutting edge research is done (noted with satisfaction the presence of Plasma  desktops in the CMS control room)<br \/>\nOn my side, some interesting little things happened:<\/p>\n<h4>All new systemtray finished and merged<\/h4>\n<p>During the sprint I&#8217;ve merged a thing i was working since a while: the system tray of Plasma was one of the most complicated plasmoids out there due to the very peculiar things it does.<br \/>\nIts code was really showing its age (it surviced at least 3 portings across different technologies) and even tough the old Xembed-based systray icon protocol was dropped, its architecture was still decidedly all<br \/>\nIt has now been completely rewritten, its code is now way simpler, using less layers of proxymodels and went from ~2000 locs of C++ to ~300<br \/>\nWhile completely new, the users shouldn&#8217;t even notice any UI change, the only noticeable change should be less bugs and working better \ud83d\ude09<\/p>\n<h4>Kirigami<\/h4>\n<p><a href=\"http:\/\/notmart.org\/blog\/wp-content\/uploads\/2016\/03\/kirigami.png\" rel=\"attachment wp-att-6454\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/notmart.org\/blog\/wp-content\/uploads\/2016\/03\/kirigami-300x56.png\" alt=\"kirigami\" width=\"300\" height=\"56\" class=\"aligncenter size-medium wp-image-6454\" srcset=\"https:\/\/notmart.org\/blog\/wp-content\/uploads\/2016\/03\/kirigami-300x56.png 300w, https:\/\/notmart.org\/blog\/wp-content\/uploads\/2016\/03\/kirigami-768x142.png 768w, https:\/\/notmart.org\/blog\/wp-content\/uploads\/2016\/03\/kirigami-624x116.png 624w, https:\/\/notmart.org\/blog\/wp-content\/uploads\/2016\/03\/kirigami.png 998w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><br \/>\nDuring the sprint, a new repository was born.<br \/>\nWhat was Plasma Mobile components is now residing in a separate git repository:<br \/>\n<a href=\"https:\/\/quickgit.kde.org\/?p=kirigami.git\">https:\/\/quickgit.kde.org\/?p=kirigami.git<\/a><br \/>\n<strong>Kirigami<\/strong> (The names comes from a Japanese paper folding craft similar to Origami, but unlike Origami cutting the paper is allowed) is a set of QtQuick components at the moment targeted for mobile use (in the future desktop as well) targeting both Plasma Mobile and Android. It&#8217;s not a whole set of components, all the &#8220;Primitive&#8221; ones like buttons and textboxes are a job for QtQuickControls (soon QtQuickContrls2) but it&#8217;s a set of high level components to make as easy as possible making applications that look gorgeous on mobile devices that follow the Visual Design Group <a href=\"https:\/\/techbase.kde.org\/Projects\/Usability\/HIG\">UI guidelines<\/a>.<br \/>\nThe target of those components is anybody that wants to do an application using QtQuick as its main UI, especially if targeting a mobile platform, without adding many dependencies. They work both in Plasma Mobile and Android.<br \/>\nIt will eventually become a Tier-1 KDE Framework.<\/p>\n<h4>Subsurface<\/h4>\n<p>While I was refining the components, it turns out a piece of desktop software just has its first release of its Android port, it is already using a tech preview of the Kirigami components: it&#8217;s <a href=\"https:\/\/subsurface-divelog.org\/2016\/03\/announcing-subsurface-mobile-for-android\/\">Subsurface<\/a> a dive log software started some years ago by Linus Torvalds (in GTK+) and recently ported over Qt (here a talk by one of its main developers Dirk Hohndel about the porting process https:\/\/www.youtube.com\/watch?v=ON0A1dsQOV0)<br \/>\nIt&#8217;s awesome having already an early adopter (which has been a pleasure to work with) for the components and also means we are getting a ton of feedback on it.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Over the second week of March I&#8217;ve been at the sprint at CERN. It has been an amazing experience seeing those very big toys, where the cutting edge research is done (noted with satisfaction the presence of Plasma desktops in the CMS control room) On my side, some interesting little things happened: All new systemtray [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,16],"tags":[157,2,159,7,158],"class_list":["post-6451","post","type-post","status-publish","format-standard","hentry","category-blabla","category-software","tag-cern","tag-kde","tag-kirigami","tag-plasma","tag-spring"],"_links":{"self":[{"href":"https:\/\/notmart.org\/blog\/wp-json\/wp\/v2\/posts\/6451","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/notmart.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/notmart.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/notmart.org\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/notmart.org\/blog\/wp-json\/wp\/v2\/comments?post=6451"}],"version-history":[{"count":6,"href":"https:\/\/notmart.org\/blog\/wp-json\/wp\/v2\/posts\/6451\/revisions"}],"predecessor-version":[{"id":6459,"href":"https:\/\/notmart.org\/blog\/wp-json\/wp\/v2\/posts\/6451\/revisions\/6459"}],"wp:attachment":[{"href":"https:\/\/notmart.org\/blog\/wp-json\/wp\/v2\/media?parent=6451"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/notmart.org\/blog\/wp-json\/wp\/v2\/categories?post=6451"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/notmart.org\/blog\/wp-json\/wp\/v2\/tags?post=6451"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}