diff --git a/_posts/2019-10-01-Plasma-Mobile-Weekly-update-1.md b/_posts/2019-10-01-Plasma-Mobile-Weekly-update-1.md index 191ea2a..073500c 100644 --- a/_posts/2019-10-01-Plasma-Mobile-Weekly-update-1.md +++ b/_posts/2019-10-01-Plasma-Mobile-Weekly-update-1.md @@ -1,91 +1,91 @@ --- title: "Plasma Mobile: weekly update: part 1" created_at: 2019-10-01 10:30:00 UTC+5.30 author: Plasma Mobile team layout: post --- Starting from today, the Plasma Mobile team is starting a weekly blog series to highlight the various fixes and features landing in various modules that make Plasma Mobile. ## Phone shell At Akademy Bhushan and Marco [presented Plasma Nano shell](https://conf.kde.org/en/akademy2019/public/events/109) to community. Earlier this week the changes to use [plasma-nano](https://invent.kde.org/kde/plasma-nano) as a base shell package has landed in plasma-phone-components. This includes an updated look for the app launcher, and several of the shell interactions including adding and removing widgets, and changing the wallpaper. ## Kirigami A very common pattern for applications, mobile and desktop, is some kind of menu which loads different "main pages" for the application. On a desktop application, you'll have a sidebar on the left which switches the pages on the right. On a mobile application you'll have this list either as the first page or in the left side drawer accessible by right swipe. Since it's a pattern that ended up being needed by many apps, we introduced new dedicated api for it: PagePool and PagePoolAction, in which is possible to implement this paradigm with just few lines of code. Here is a minimal example of an application that implements this behavior with PagePool and PagePoolAction: ``` import QtQuick 2.6 import org.kde.kirigami 2.11 as Kirigami Kirigami.ApplicationWindow { id: root Kirigami.PagePool { id: mainPagePool } globalDrawer: Kirigami.GlobalDrawer { title: "Hello App" titleIcon: "applications-graphics" actions: [ Kirigami.PagePoolAction { text: i18n("Page1") icon.name: "speedometer" pagePool: mainPagePool page: "Page1.qml" }, Kirigami.PagePoolAction { text: i18n("Page2") icon.name: "window-duplicate" pagePool: mainPagePool page: "Page2.qml" } ] } contextDrawer: Kirigami.ContextDrawer { id: contextDrawer } pageStack.initialPage: mainPagePool.loadPage("Page1.qml") } ``` You can see it in action in the following video: ## Settings application Nicolas Fella updated the settings app to fix the module activation when the app is already running, [commit](https://invent.kde.org/kde/plasma-settings/merge_requests/33) Code of the [Accounts module was moved](https://commits.kde.org/kaccounts-integration/feb0b036da1ca5a90309f20caa8ee3329da921ed) from the Settings app to `kaccounts-integrataion`, replacing the existing module there. This makes the desktop and mobile platforms use the same unified code base. Jonah BrĂ¼chert [added a "Information" module](https://invent.kde.org/kde/plasma-settings/merge_requests/32) in Settings application, which will eventually replace the the about-distro module in the kinfocenter code base. ## Applications Dan Leinir Turthra Jensen fixed [Peruse](https://cgit.kde.org/peruse.git/about/) for HighDPI screens, making it usable on such screens. [commit](https://commits.kde.org/peruse/5aaec35aae3ae67b702f7710648537f59a9ae128). Jonah BrĂ¼chert introduced changes in [Plasma Angelfish](https://cgit.kde.org/plasma-angelfish.git/about/) to [port the settings screen](https://commits.kde.org/plasma-angelfish/08ba58f629d5f136c2141ee56ac5990c55c9aedf) to match the Kirigami look and feel and navigation and usage patterns. Changes were also introduced to [split the global drawer and context drawer](https://commits.kde.org/plasma-angelfish/98a0d8fb9aee46696f8dbca80d002194145961b9). Bhushan Shah [fixed a crash in dialer code](https://invent.kde.org/kde/plasma-phone-components/merge_requests/22) at startup, which was tested by Luca Weiss on the Pinephone developer kit. ## Downstream -In postmarketOS, changes by Clayton Craft to [update the device support for Librem 5 devkit](https://gitlab.com/postmarketOS/pmaports/merge_requests/590) was merged along with changes by Bart Ribbers to [update Plasma to the latest pre-release](https://gitlab.com/postmarketOS/pmaports/merge_requests/639) and [update the settings app to the latest revision](https://gitlab.com/postmarketOS/pmaports/merge_requests/521). +In postmarketOS, changes by Clayton Craft to [update the device support for Librem 5 devkit](https://gitlab.com/postmarketOS/pmaports/merge_requests/590) was merged along with changes by Bart Ribbers to [update Plasma to the latest pre-release](https://gitlab.com/postmarketOS/pmaports/merge_requests/639) and [update the settings app to the latest revision](https://gitlab.com/postmarketOS/pmaports/merge_requests/521). Bhushan created a merge request to update the [mesa and kernel used for pinephone in postmarketOS](https://gitlab.com/postmarketOS/pmaports/merge_requests/656). KDE Neon team upgraded the Qt version to 5.13.1 from the 5.12.3, which includes several bugfixes and new features. ## Want to help? Next time your name could be here! We have a simple assistant for you to find the right task for you, from promotion to core system development: [Find your way in Plasma Mobile](/findyourway). We are always happy to welcome new contributors on our [public channels](/join), see you there! Todo: Get screenshots/pictures for most of the stuff