KDE roadmap for 2020

Yesterday I summarized some of my favorite new features, both big and small, added to KDE’s software catalog in 2019. Today I’d like to talk about the major features and improvements I expect for 2020. Note that this is not an official planning document, it’s just what I anticipate happening and plan to push for and help implement. Without further ado…

Guaranteed

These features are pretty much guaranteed, as they’re almost done or even in the process of landing:

FUSE mounts to better support accessing remote locations in non-KDE apps

Not mounting remote locations has been a longstanding deficiency in the KIO library that does file I/O throughout KDE software. Without this feature, users of non-KDE 3rd-party apps experience frustration when opening large files or streaming videos located on remote locations, when saving changes to those files, and when trying to to File > Save As to make a copy alongside the original.

Throughout much of 2019, a FUSE mount solution has been in development that alleviates these issues! You may have read it about on the blog of Alexander Saoutkin, one of the principal developers working on the feature.

A truly enormous amount of work has already been done, and at this point only a few more bits are needed before we can formally roll it out:

  1. KIO::Open support in KIO-FUSE itself
  2. File truncation support in KIO to support true random-access reading
  3. Adoption of this file truncation support for Samba and SFTP protocols
  4. On-the-fly translation of network URLs into FUSE paths to ensure seamless mounting of accessed network resources

When the patches for these improvements land, we will have full feature parity with the FUSE-based GVFS system that GNOME uses and the mount-based system in macOS! The patches are in progress and I expect them to all land in the next two or three months.

Privilege escalation in KIO and Dolphin

I’ve been promising this for years, talking about how it’s 90% done, then 99%, then 99.9%… you get the idea. I know, I know, I’m the boy who cried wolf at this point! Well, this time we really are on the cusp of victory. There is only a single patch left before we can formally turn it on! Once this happens, you will finally be able to create, move, rename etc. root-owned files in Dolphin without needing to run Dolphin as root or using a hacky extension.

Improved Samba share discovery in Dolphin

We have a patch that implements the WS-DISCOVERY protocol in Dolphin, allowing it to find Windows Samba shares on your local network, which are currently invisible. This has been a longstanding problem, but it’s now finally getting fixed! I expect this patch to land in the next few months, in time for Dolphin’s 20.04 release.

Auto-rotation for tablets, convertibles, and other hardware with rotation sensors

There’s an absolutely enormous patchset that implements this much-awaited feature. More than half of the patches have already landed, so the rest aren’t far behind. I have my doubts that this will make it into Plasma 5.18, but 5.19 is almost certain.

Likely

These features are likely, but not guaranteed:

Implement more of the proposed visual design changes to the Breeze style and KDE apps

The KDE VDG now has an exhaustive plan and sets of mockups for how we’d like to evolve Breeze, Plasma, and KDE apps in the near future: https://phabricator.kde.org/T10891. Check out the dependency graph! Here are some examples:

Pretty hot stuff, huh!?

Bits of it are already getting done. In 2019, we completed a UI overhaul of Plasma and many apps’ configuration windows to use the Form Layout style and a sidebar UI redesign, both of which have been quite well received. And there’s a new SimpleMenu based on VDG mockups in the works, which we hope to replace Kickoff as the default.

I don’t know if everything here will get implemented, but I expect us to push forward with a lot of it!

Better wallpapers in the extra wallpapers repo

A lot of the wallpapers in the plasma-workspace-wallpapers repo (which is optional but installed by default in many KDE distros including Neon, Kubuntu, and Manjaro) are a bit long in the tooth. Thankfully, we have a patch queued up and ready to go that will replace them with modern, beautiful, 4K wallpapers. Unfortunately this patch is blocked by the lack of a wallpaper cache, which means if we replace a wallpaper that someone is currently using, they’ll see a black screen after they upgrade. Not very nice. We’d like to cache the current wallpaper so that this doesn’t happen. I’m hoping we land the cache feature early in 2020 so that the next Plasma release after it can get the improved wallpaper selection.

Moonshot

These features are less likely (bordering on unlikely), but could get in with enough development work!

Per-screen scale factors on X11

There’s a patch implementing this feature that has been rejected thus far because it was not technically correct with the way Qt handled scaling at the time. However Qt 5.14 implements some backend changes that would appear to make this possible. I can’t promise anything but I plan to investigate this to see if it’s something we can do once Plasma depends on Qt 5.14, or if it’s feasible to add the feature earlier than that with a bunch of ifdefconditionals in the code to only turn it on for people using Qt 5.14.

Inertial scrolling throughout Plasma and QML apps

In theory, this is easy-ish. In practice, there are a lot of moving parts. Preliminary work began a few weeks ago, but there’s a lot to do before we can make it all work. It’s on the workboard though!

Power/session controls on the lock screen

This is something needed for Plasma Mobile, and all the Plasma developers agree that it’s fine to have on the desktop too. Development has not yet started, but it might!

What do you think? Seems like a bunch of worthwhile stuff, right? I see these features and improvements as critical for my ultimate goal of making Plasma and KDE apps irresistible for hardware vendors to ship by default (most of them at least; better wallpapers are nice but not critical). I want to make our offerings so good, and for KDE in general to be such a good upstream, that companies trip over each other to put Plasma and KDE apps on their devices! I think ultimately that’s the best way to get our software in front of more users.

If this sounds exciting to you, please feel free to help out–especially for items in the “Likely” and “Moonshot” lists, which are less certain to happen without help. You can help out by testing patches, implementing mockups, hacking on the new features, etc. For more information, visit https://community.kde.org/Get_Involved. It’ll be interesting to check back at the end of 2020 to see how many of these projects have been completed. With your help… hopefully all of them!

2019: the year in review

2019 was a massive year for KDE. I’d like tho take the opportunity to highlight some of the biggest improvements and new features that arrived in this year:

Wayland

Though Plasma-on-Wayland is still not totally ready for prime time (and I understand now annoying this is), we made steady progress toward that goal, knocking out a number of blockers. 2019 featured Wayland support for virtual desktops, the proprietary NVIDIA driver, fractional scale factors, screen sharing and remote desktop, Spectacle’s Rectangular Region mode, and the Plasma widget explorer!

Plasma

One of the Plasma highlights this year is the totally rewritten notification system with a Do Not Disturb mode, per-app notification preferences, a sane history model, and loads of refinement and polish. It’s amazing, and it keeps getting better with each Plasma release!

Also very impactful has been a set of improvements in support for client-side-decorated GTK3 apps, including including shadows and extended resize areas and following the system’s color scheme. GNOME apps now look and feel right at home in Plasma!

Plasma also gained a systemwide Emoji input panel and a touch-friendly global edit mode for widgets. This allowed us to delete the Desktop Toolbox–that mystifying hamburger menu in the corner of the screen. Poof, no more!

In System Settings, there is finally full support for configuring touchpads using the Libinput driver, the Night Color feature was ported to X11, and the Workspace Behavior page gained two useful new controls that let you change the speed of all animations through Plasma and apps, and configure what happens when you click in a scrollbar track. In addition, many System Settings pages–particularly those in the Appearance section–have been modernized and given consistent user interfaces.

There were also many improvements to wallpaper configuration. The configuration window now displays the actual set of images that will be used, and the order is configurable. Picture Of The Day wallpapers can now pull images from unsplash.com.

To protect your privacy, Plasma now alerts you when an app is using the microphone.

Discover’s user interface and reliability dramatically improved across the board. I’m no longer seeing social media posts about how much people hate Discover (at least not the latest version; please make sure you’re up to date before you complain!). 🙂

Other miscellaneous features include a configurable grid size for desktop icons, user-customizable date display in the Clock widget, the ability to do calculation and unit conversion from Kickoff, and using slight RGB font hinting by default.

Finally, it became much easier to test and use a compiled-from-source Plasma version. Thanks to this, I’m now living on the master branch of Plasma all day, every day! It’s ridiculously stable, a testament to the incredibly high quality of Plasma’s codebase.

Applications & Frameworks

KDE’s flagship apps gained many amazing and useful new features. Among them:

Dolphin and file dialogs

Dolphin gained support for showing file creation dates, a feature to open folders from other apps in tabs instead of new windows, navigation history in a drop-down menu when you click-and-hold on the back or forward arrows, and animated previews in the Information Panel for video files and animated image files like GIFs. It also tells you what’s blocking unmounting a volume that contains open files, shows tags in the Places panel sidebar, and lets you search for tags.

Dolphin and other KDE apps gained file previews for Blender files, eBook files, .xps and Microsoft Office files.


Dolphin and the file dialogs also gained human-readable sort order descriptions and a brand new much better recent Documents feature.

File dialogs now let you easily switch between the same view modes as in Dolphin, and drag-and-drop a file into the main view to select that file or switch the view to that file’s folder (depending on whether it’s an open dialog or a save dialog).

Gwenview

Gwenview gained High DPI support, touch support, and a JPEG save quality chooser.

Spectacle

Spectacle gained the ability to open new instances or switch to existing instances when pressing the PrintScreen key while already running, configure its global keyboard shortcuts from its settings window, always copy a just-taken screenshot to the clipboard, auto-accept the dragged box in rectangular region mode, and remember the last-used rectangular region box. Rectangular Region mode also became touch-friendly.

Okular

Okular gained smooth scrolling and inertia with touch swipes, support for viewing and verifying digital signatures, and the ability to navigate both backwards and forward in touch mode. It also now remembers view mode, zoom settings, and sidebar view settings on a per-document basis.

Kate

Kate gained an LSP client, regained its old External Tools plugin, got the ability to show all invisible whitespace characters, and massively improved support on High DPI systems, particularly when using a fractional scale factor.

Konsole

Konsole got a tiling split view mode with drag-and-drop re-ordering:

Elisa

The Elisa music player gained an enormous amount of user interface polish, new features, and bugfixes–too many to list, really. It’s a powerful and user-friendly music player that’s fully supported and actively developed, and I encourage everyone to use it! Kubuntu is evaluating shipping it by default in their upcoming 20.04 release, and I hope others follow suit.

This is only a small subset of the new features announced throughout the year in my Usability & Productivity and This Week in KDE series, which in turn are small subsets of the full range of work done throughout KDE. Truly, our community is blessed with tireless contributors! Looking forward to 2020, I think we’re poised to achieve some truly amazing things that will catapult KDE Plasma and apps to the forefront of the Linux world. More on that tomorrow… 🙂

Legislating is patch review

Patch review is a process by which newcomers and experts debate proposed changes to a codebase–a textual description of how a particular human-created system is to function. In KDE, we use Phabricator for this, but we’re switching to GitLab soon. Both serve the same purpose: to provide a forum where proposed changes can be discussed, revised, and decided upon.

It occurred to me recently that this sounds a bit like the process of lawmaking. Politicians propose bills (patches) that amend their government’s code of laws (codebase) which are passed through committees and hearings (the review process) and eventually get voted on (reviewed) and either pass (get merged) or require revision (go around for updates), or fail (get abandoned).

Pictured: typical 18th-century patch review process

I’m reasonably confident that there’s little overlap between politicians and software enthusiasts. In my home country of the USA for example, most of our federal government politicians are former lawyers, businesspeople, or educators. “Software engineer” is listed as a “more unusual” former profession.

This strikes me as a shame, since the process of transforming a proposal for improvement on a systemic scale into a permanent alteration of the rules that affects everyone is quite unfamiliar to lawyers, businesspeople, and educators, but it’s quite natural so software people. We do it every day. Likewise, software people like us tend to have little experience in the lawmaking process. We act like we invented patch review, but our governments have been doing it for hundreds of years! The overlap got me thinking: perhaps there is something that each group can learn from one another.

 

Have a constitution

Governments write constitutions to make their foundational principles clear and obvious. That way, everybody knows which ideas are central to the society’s identity, which which ones are off-limits.

Lesson for software engineers: Make your software’s guiding principles, explicit, not implicit. People often figure this out organically, but it’s much easier if your software has a constitution-like document and clearly indicates which features are non-negotiable when it comes to proposing their implementation or removal.

 
 

Don’t neglect trust

If you have a bad relationship with the people reviewing your patch, they will suspect your motives, nitpick your changes, and generally react with low enthusiasm. Even if your patch is a good one, the reviewers’ opinion of it will be clouded by their judgment of you. Therefore, don’t neglect your social relationships and act like a jerk, or else the whole process basically doesn’t work.

Lesson for politicians: don’t ignore or damage your social relationships with your colleagues or else your entire job is a big waste of time. Adopt a mindset that legislation is a collaboration rather than a majority-rules deathmatch or an opportunity to make speeches on a stage. Also, arrive with pure motives. If you’re there to try to tilt the playing field towards your favored groups, the people who represent the opposite side will notice and oppose you at every turn, and you’re likely to have a frustrating and unproductive career full of outrage-filled press conferences but not much real accomplishment.

 
 

Review in stages

In governments, often bills undergo review by multiple committed before they’re presented to the full body for debate and voting. This is good, because it gives a chance for obvious mistakes to be corrected in advance of the final vote.

Lesson for software engineers: use a multi-step patch review process, with relevant experts in control at each step of the way. For example, the big-picture software architects should review a patch for to make sure it conceptually makes sense in the first place; then backend programmers should dive into its technical implementation; the UI designers should go over its user interface, and so on.

 
 

Keep patches small

Large patches are hard to review and fill the reviewers with a sense of dread. They touch many things and therefore have more opportunities to change something in a way that a stakeholder will object to. They often get bogged down in process and conceptual arguments. For these reasons, it’s best to keep patches small and focused, and split a large change into a series of individually-manageable patches that each depend on one another, known as a dependency chain.

Lesson for politicians: avoid 1,000 page mega-bills. If a bill needs to be enormous in order to work, there’s probably a deeper conceptual issue with it that everyone senses.

 
 

Have an institutional memory

Records of how bills are moved along in the lawmaking process are kept meticulously. This preserves institutional memory, so that newcomers don’t make the same mistakes that their older colleagues and forefathers already learned from.

Lesson for software engineers: Keep records of why decisions were made–and even more importantly, why they were reverted. This prevents the phenomenon of newcomers who propose the same changes and repeat the commit/regress/revert cycle.

 

Make reversion easy

When a patch causes regressions, it can be reverted. Oftentimes it’s better to fix it, but if the fixes are too invasive or the regressions outnumber the benefits, it may be a better idea to revert the change and try again. Making reversion easy promotes a culture of innovation and experimentation. People won’t be as worried about merging things, because if they cause problems, it’s easy to undo the changes. Change becomes playful and fun, rather than consequential and scary.

Lesson for politicians: Don’t make it too hard to repeal bad laws. When a newly-passed law causes problems in a society, it’s tempting to try to amend it to fix the problems, and sometimes this works. But sometimes it just needs to be re-done from scratch, like a bad patch in software. Being willing to repeal laws that aren’t working defuses tension. That said…

 

Don’t rush

Bills and patches that get through their processes quickly are often problematic, riddled with unseen regressions and unanticipated consequences. This is much less common in governments, because the lawmaking process usually has deliberate safeguards put in place to ensure that a bill is not transformed into a law too quickly before there’s been adequate time for debate.

Lesson for software engineers: Take your time so you don’t push out buggy, regression-filled software. However…

 
 

Don’t make your users live on the master branch

Rushing isn’t such a huge deal as long as you have a QA process and discrete releases. These tools provide time for regressions to be fixed and rough edges to be smoothed out. When patches can be evaluated in a safe sandbox of sorts and subsequently tweaked before their effects are released to users, it’s not so bad to move quickly. But you can’t expose your users to the churn stirred up by a fast process; it needs to be contained internally.

Lesson for politicians: You don’t need so much process surrounding lawmaking if you don’t roll out all approved changes immediately. Before new bills take effect, let them simmer for a while in a “release branch” where they can undergo QA so that regressions can be found before they’re inflicted on unsuspected citizens (users)!

 

As software people, there are lessons we can take from our governments’ successes (and more often these days it seems, their failures), because this aspect of our professions overlaps quite a bit. It also exposes an uncomfortable truth: changing the rules and behaviors of a system that effects everyone is inherently political. That’s why we invented patch review processes: to make sure that important voices are heard, that the system doesn’t become inhumane for people who depend on it, and that its overall trajectory is positive.

Personally I’m a lot more sanguine about the prospect of this in software than government right now, and I think that’s something that needs to change. The efficacy and positive societal impacts of our governments’ lawmaking seems to be at a bit of an ebb at this moment in time. But there may come a point in time when our experience in patch review becomes useful on a larger stage, and benefits not only users of KDE software, but also the people of the world. We shouldn’t shy away from politics. Our everyday experiences in KDE are in fact the prefect preparation! Far from being distant and scary, it’s something we’re engaging in–and succeeding at–every time we contribute to KDE.

KDE Usability and Productivity: Are we there yet?

KDE’s Usability & Productivity initiative is now almost two years old, and I’ve been blogging weekly progress for a year and a half. So I thought it would be a good time to take stock of the situation: how far we’ve come, and what’s left to do. Let’s dive right in! Here’s a short list of some of the achievements we’ve accomplished:

  • Full support for configuring mice and touchpads using the Libinput driver on both X11 and Wayland
  • A brand new notification system with hugely improved usability for common workflows
  • Better default text contrast and font rendering settings
  • Massive, far-reaching user interface and performance improvements for Discover
  • Huge user interface improvements to the open/save dialogs
  • Many performance and reliability improvements for the Baloo file indexing service
  • “Open Containing Folder” actions added throughout KDE apps
  • A variety of usability-related bugfixes, new features, and user interface upgrades for Spectacle
  • Typewriter/text box annotation tool in Okular
  • Support for showing file creation dates
  • Easy support for file tagging in Dolphin, and a more useful and comprehensible Places panel
  • Slideshow wallpaper configuration that shows the actual images that will be a part of the slideshow
  • Configurable grid size/maximum label width for files and folders on the desktop
  • Better lock and login screens
  • Consistent styles (grid views and centered form layouts) for settings windows throughout KDE software
  • Simplified and more comprehensible user interface for many System Settings pages
  • Bugfixing and user interface improvements throughout the whole software stack

It’s a lot of great stuff!

There’s still more to do, of course. KIO still doesn’t mount network locations locally, though that’s being actively worked on! Touchpad scrolling behavior has improved, but is still not consistent across all KDE apps and there’s no inertial scrolling yet. Samba sharing is improving, but still rough. Okular’s annotations are becoming more full-featured, compatible, and discoverable, yet more work is still needed. More System Settings pages still need to have their user interface overhauled. But are you seeing a pattern here!? Things are happening! The trajectory is really good! It’s unbelievable how many of the rough edges have gotten smoothed out over the past two years, and I feel super upbeat about the state of KDE’s software offering!

With this kind of ongoing work, KDE’s software moves ever closer to the day when I envision that it has become humanity’s preeminent computing platform. It will take time, but open-source software is immortal as long as people care about it. And the KDE community clearly does! So slowly but surely we continue, improving year by year as competitors stagnate, drop out, or are corrupted by the lures of money and power. It will be a KDE world.

Author: opekope2, KDE community member, from our recent wallpaper competition: https://forum.kde.org/viewtopic.php?f=312&t=160543

I’d like to offer a congratulations to the incredible KDE community. This all is not my work… it’s yours! The passion that people feel for this stuff is amazing, and it’s not misplaced: more and more KDE software becoming best-in-class in its product category. The future is bright, very bright. Thanks again, everyone.

Interview on Linux Unplugged podcast

A few days ago Jupiter Broadcasting’s Chris Fisher approached me about doing an interview for his Linux Unplugged podcast, so I said sure! I talked about the Usability & Productivity initiative, Kubuntu and KDE Neon, my history at Apple, and sustainable funding models for open-source development.

Awesomely enough, it turns out that their systems all run Kubuntu 18.04, and Chris calls it “the best distro we’ve ever used in production.” Now that’s what I like to hear! It’s exactly what the Usability & Productivity initiative is all about: making KDE software a lean, mean, productivity machine for creators and professionals.

You can listen to the show here: https://linuxunplugged.com/268. My segment starts at about the 25 minute mark.

Konquering the World

I had the pleasure of attending Akademy this year–my first time. Not only that, the organizers were actually crazy enough to let me give a talk! In it, I discuss my view of how we can systematically improve the competitiveness and reach of KDE Plasma and KDE apps, and what you can do to be a part of this effort. This master plan is what guides my KDE work. I talk about how the Usability & Productivity initiative fits into the plan, but the plan itself is much more ambitious. If you’ve ever wondered whether there’s a method to my madness… here it is!

If you’re interested, the Akademy organizers have posted a video of it:

If you feel like this effort is worthwhile and that my leadership of it is important, consider becoming a patron on Patreon, LiberaPay, or PayPal. Also consider making a donation to the KDE e.V. foundation.