Welcome to Planet KDE
This is a feed aggregator that collects what the contributors to the KDE community are writing on their respective blogs, in different languages
Friday, 28 August 2026
Welcome to a new issue of This Week in Plasma!
This week saw the first stirrings of support for QtWidgets-based apps in KDE’s new Union theming system, which is a very exciting milestone.
But that’s not all! This week is also packed with UI improvements, performance improvements, bug fixes, and a few more features, too.
Plasma 6.8 is rapidly shaping up, and all this work reflects it. Check it out:
Notable new features
Plasma 6.8
The new Union theming system has gained initial support for styling QtWidgets apps! (Akseli Lahtinen, union MR #270)

Plasma’s built-in RDP server now supports adjusting its quality level to the network’s available bandwidth to keep the frame rate as consistent as possible. (Nick Haghiri, krdp MR #238)
Plasma’s Strongswan VPN support now allows the use of EAP-TTLS authentication. (Wyllian Bezerra da Silva, plasma-nm MR #636)
Notable UI improvements
Plasma 6.7.5
Discover now only offers to open and install .deb packages on operating systems natively supporting that package format. (Aleix Pol Gonzalez, plasma-desktop MR #3957)
Plasma 6.8
When you copy a password or other piece of text that the app says is a secret, the clipboard history UI now makes this clear rather than hiding it and letting you wonder why nothing appeared there. (Tobias Fella, KDE Bugzilla #508326)

The indicator that a screen recording is in progress now only appears if it actually is in progress, which handles the case of apps that open screen recording sessions early, but start the recording later. (David Redondo, xdg-desktop-portal-kde MR #597)
KWin’s Overview effect is now a little bit easier to open with a four-finger swipe touchpad gesture. (Remy Farley, kwin MR #9486)
All of the text for calendar events in the Digital Clock widget is now selectable. (Nate Graham, KDE Bugzilla #433668)
System Settings’ Drawing Tablet page now has a less awkward design for the dialog window to choose what the buttons on your tablet’s pen do. (Joshua Goins, KDE Bugzilla #524720)
The Bluetooth widget now shows its “Configure” button in the same place that all other widgets do, for better functional consistency. (Tomáš Hnyk, KDE Bugzilla #516134)
Connecting to an enterprise Wi-Fi network for the first time now takes you immediately to the place where you can enter your credentials, instead of making you navigate there manually. (Ramil Nurmanov, plasma-nm MR #635)
Clicking a System Tray icon that opens a widget can no longer make that icon immediately disappear; now, it will always stay visible until the widget’s popup closes, giving you the opportunity to click on it a second time to close the popup. (समीर सिंह Sameer Singh, KDE Bugzilla #521115)
Using the clipboard’s “Keep the selection and clipboard the same” setting no longer unnecessarily disables other settings. (Tomáš Hnyk, KDE Bugzilla #492840)
If your system is in such a poor state that there are many crashes, your System Tray no longer fills up with dozens of little sad face icons; now only one appears, and clicking on it will show the full list in its own window. (Tobias Fella, KDE Bugzilla #420443)
Frameworks 6.30
In-window dialogs in Kirigami-based apps are now better highlighted against the rest of the window content when using a dark theme. (Marco Martin, KDE Bugzilla #447965)
System Monitor graphs now request “tabular numerals” for the legends when using a font that supports them, improving alignment. (Christoph Wolk, kquickcharts MR #109)
Notable bug fixes
Plasma 6.6.7
Fixed a security issue that made the screen locker fail to lock if you manually configured it to turn off the screen after the “don’t require password to unlock” period. (Xaver Hugl, KDE Bugzilla #523504)
Plasma 6.7.5
Fixed a pretty bad bug that made Discover get stuck while checking for updates when its Snap backend was present, but there were no upgradeable Snap apps. (Dustin Trumps, KDE Bugzilla #524077)
Fixed a case where non-KDE apps running in Plasma could sometimes crash when you closed a dialog. (Balló György, KDE Bugzilla #523039)
Fixed a recent regression that impaired pointer movement in VMs using non-accelerated graphics drivers. (Base Devel, KDE Bugzilla #524280)
Using a right-to-left language like Arabic or Hebrew no longer prevents force-quitting processes or apps in System Monitor. (Jakob Petsovits, KDE Bugzilla #522233)
Fixed a weird little bug that made the panel’s tooltip in edit mode become malformed after right-clicking on the panel. (Christoph Wolk, KDE Bugzilla #488578)
If your system is in a super-duper messed-up state, it can at least no longer cause the DrKonqi crash handler to crash in a loop, feeding itself with crashes that exhaust the system’s memory. (Harald Sitter and Alexander Berg, KDE Bugzilla #524048)
Plasma 6.8
Fixed the second-most-common crash in Plasma, which could happen while logging out. (Tobias Fella, plasma-workspace MR #6973)
On System Settings’ Plasma Search page, the “Defaults” button and non-default settings highlighting now work as expected. (Tobias Ozór, plasma-desktop MR #3973)
With multiple Application Launcher (Kickoff) Widgets, all of them are now capable of returning search results for not-yet-installed apps, not just the first one. (Christoph Wolk, KDE Bugzilla #511220)
A logout sound no longer delays the logout process more than it needs to. (Ramil Nurmanov, KDE Bugzilla #491745)
Notable in performance & technical
Plasma 6.7.5
Improved the way HDR content looks when using an ICC profile. (Xaver Hugl, KDE Bugzilla #524038)
Plasma 6.8
Improved the performance and power efficiency of many kinds of full-screen content when using an Intel or NVIDIA GPU with HDR, ICC profiles, and/or the Night Light effect. (Naveen Kumar, kwin MR #9640)
KWin now supports HDR content using the HLG transfer function. (Xaver Hugl, KDE Bugzilla #508817)
Reduced screen-casting latency throughout Plasma and KWin (including for the built-in RDP server!) by one frame. (David Edmundson, kpipewire MR #274)
Reduced the resource usage required to show thumbnails in notifications and the Activities sidebar. (Kai Uwe Broulik, plasma-workspace MR #6966 and plasma-desktop MR #3967)
Reduced the resource usage required for the Trash widget. (Kai Uwe Broulik, plasma-desktop MR #3965)
Screenshots made with Spectacle that don’t have any transparency no longer include an alpha channel, slightly reducing file sizes. (Kai Uwe Broulik, kwin MR #9798)
Disabling a System Tray widget now frees up its memory immediately, rather than only after Plasma or the system is restarted. (Tomáš Hnyk, plasma-workspace MR #6983)
The showConfigurationInterface() function now works in Plasma scripting. (Remilia S., plasma-workspace MR #6977)
If you’ve broken, misconfigured, or removed all of Plasma’s wallpaper plugins, Plasma will now launch without them and just show a plain background, instead of failing to launch at all. (Ramil Nurmanov, KDE Bugzilla #524875)
Frameworks 6.30
KWallet no longer spams your log with errors in certain non-default configurations. (Nicolas Fella, KDE Bugzilla #524500)
KDE Gear 26.12.0
System Settings’ Proxy page has been rewritten in QML, which lets it work on Plasma Mobile. The design is nearly identical, so you shouldn’t notice any obvious changes to it. (Tobias Fella, kio-extras MR #536)
How you can help
KDE has become important in the world, and your time and contributions have helped us get there. As we grow, we need your support to keep KDE sustainable.
Would you like to help put together this weekly report? Introduce yourself in the Matrix room and join the team!
Beyond that, you can help KDE by directly getting involved in any other projects. Donating time is actually more impactful than donating money. Each contributor makes a huge difference in KDE — you are not a number or a cog in a machine! You don’t have to be a programmer, either; many other opportunities exist.
You can also help out by making a donation! This helps cover operational costs, salaries, travel expenses for contributors, and in general just keeps KDE bringing Free Software to the world.
To get a new Plasma feature or a bug fix mentioned here
Push a commit to the relevant merge request on invent.kde.org.
It has begun.
After couple months of work, I have now finally managed to cobble together the QtWidgets side of Union.
This means that your QtWidgets apps, such as Dolphin, KMail, Kate etc. can now use the Union CSS files as the source of their styling.
However, temper your expectations, as this is the first initial release!

Do note that there are visual bugs and oddities! I'm still working on things!
So yes, as you can see, some things look off. Not Breeze at all! Some things are just different, some other things have wrong colors.
These are all fixable and I will do my best to get as many things as possible fixed for the Plasma 6.8 release.
But some other oddities are kind of expected: This is the first time ever Breeze QtWidgets and QtQuick style have same shared source-of-truth as an easily editable file! (Excluding colorschemes.) So some of these designs are made with QtQuick in mind, so they can look a bit off in QtWidgets.
I'll go through here what I did and what still needs to be done, but this was a huge undertaking, so I'm having a small celebration for the very first release of this. :)
Hold on, can I try it!?
Yes! It should be released in Plasma 6.8, unless someone tells me no. As of writing this, nobody has said no.
You can make your own CSS files and see them affect QtWidgets apps too. Just expect some breakage and report all the bugs!
Go crazy with the themes. Try everything. Bring back whimsy to computers. Tell us about the theming experience in general.
Have fun. Your computer should be just as cool as you are.
The rest of this blogpost is more a technical rant and ramble as I am venting all the exhaustion over this thing, lol.
QStyle is difficult
QStyle themes, which are the styles that modify the look of QtWidgets applications, are not easy to work on. Most themes I've seen take an existing one, such as Fusion or Breeze and make their changes on top of those.
But for Union, we had to start from scratch. I took the very basic base of QStyle, which is called QCommonStyle (kind of a fallback theme), and began building on top of that.
Then, there was multiple parts:
- Figure out a way for the QStyle to paint things using CSS
- Build a hierarchy of the style by reading the CSS data and applying it to QStyle world
- Create a completely new set of element files we use
- The QStyle themes are very unwieldy and hard to work on otherwise
- Go through every single element and ensure they read all data from the CSS correctly
- And ensure the style stays backwards compatible!
- This is still ongoing process, most bugs lurk here. :P
- Figure out how to use Union layouting system within QStyle elements
- This is also buggy, as QStyle is more "rigid" with layouting
- Applications expect very specific layouting from QStyles over the years it has existed
- So any application that deviates from those expectations will look broken
- Caching so that the style is performant
- Here Arjen helped me a lot, thank you!
- And a lot of other stuff I have already forgotten..
Thankfully redstrate had already made the painting part for the very simplified proxystyle (which took Breeze and modified it a bit), so I did not have to modify that too much. I mostly had to poke at it to make it work with my hierarchy system. So thanks! <3
It's hard to put it into words how much work there was involving the actual QStyle itself and creating a sort of "framework within a framework" so that the Union rules would translate better for the QStyle rules.
For example, when a widget, such as a PushButton, wants to be styled, it informs
the QStyle about it with something called QStyleOptionButton. This class holds
bunch of information about the button, and the style can use that information to
decorate it better. But of course, the styleoption does not necessarily need to exist.
If there is no styleoption, the style can use the QWidget itself for style information.
But even that can be empty! And at that point, you do not know how to style something,
since you do not even know what it is.
What made matters even worse was that the documentation just Does Not Exist.
Sure, there is the QStyle documentation,
but it is more about "what" and not "why" or "how."
I could have used somekind of tutorial for how to make a QStyle from scratch, but
I could not really find anything, except super old information from Qt4 times.
So very very often I resorted to just reading the raw source code itself, which is
also not very easy to read. There is a lot of variables that are just named pw or w.
So even the codebase is very undocumented..!
Most of the work had to be done with trial and error! "What happens if I change this value?" "What if I use debugger to follow this variable, where will it lead?" I also used Breeze as my information bank a lot, as it had gone through it all before. That was very helpful.
But the lack of documentation and old codebase nobody seems to really touch anymore, much less document, was the thing that made this all take so long time.

Not to forget the completely misleading names in the API. "PM_MenuPanelWidth" is not the width of the panel, but actually "Border width (applied on all sides) for a QMenu."
The total work was 9000 lines of code. Yes. And all of it is required. Lot's of boilerplate, as QStyle seems to love boilerplate. Pretty much all of it is artisanal, handwritten slop by yours truly.
I had to painstakingly go through all
the elements we're drawing and sizes we're calculating, then turning it into an Element that we
can easily modify without modifying the whole style.
If you have managed to make a working QStyle theme completely from scratch, going through every little detail, I salute you. This is some of the toughest stuff I've ever worked on.
So in summary: I had to backwards engineer a lot of stuff to figure out what order we even draw some things, or what size affects what in the actual application. Then make it work with Union core and CSS.

DOCUMENT YOUR API PLEASE I BEG YOU
Next steps
Next up is testing and bugfixing.
There's already a lot of bugs being found here: https://invent.kde.org/plasma/union/-/work_items/205 And more will be found. There will be weird edgecases where application expects everything to work like in Fusion style, as it's the default Qt style, but Union does not handle that situation yet well.
So here's what I need from you, dear reader: See what breaks. Document it. Make a bugreport. Let's find these weird things and figure them out, so that the QtWidgets side can finally be themed without so much pain.
Of course, there's also the design side: Like I mentioned earlier, the Breeze CSS we have now is very QtQuick oriented, so QtWidgets applications can look and feel odd.
Something to keep in mind though is that QtQuick and QtWidgets applications will likely never look the exact same, due to the way how they work and are drawn. But we can try to make the QtWidgets style work reliably first and then try to make it look as close to QtQuick side as possible.
My todo list is pretty much following:
- Fix as many bugs as I can before 6.8 release
- Figure out a layouting system for the QStyle that is robust
- Even if it can't do all the tricks QtQuick can
- Make sure the QStyle is backwards compatible with as many applications as possible
So, more work. A lot of work.
But at least we can now properly start that work, which is what this first release is about. Getting the tedium out of the way, so the interesting parts can begin.
And boy how much tedium that was. I would never do it again, but honestly.. It was fun at times. Super interesting to figure out. Like a very tough puzzle game. I'm happy with what I've achieved here, even if it's not perfect yet. And I hope all this work is useful for you too, dear users. I really want to see the crazy things you all will come up with.
Thanks for reading!
ps. Again sorry if this reads all over the place, I just needed to get it out of my system. I don't like writing drafts much, so I just write a braindump and go.
Thursday, 27 August 2026
As you might already know, Transitous is a project that runs a public transport routing service that aims to work wold-wide. To make Transitous results more useful, there needs to be a simple way to book the individual sections of a multi-modal route. It is important to mention that Transitous can not legally sell tickets itself, and there are no plans to change that, so booking in this case means directing users to a ticket shop that can sell tickets for the route.
Ticketing Extension
Transitous is primarily based around the GTFS format for its transport schedules, although NeTEx is increasingly being used as well. The first step naturally was to implement reading ticketing information from the schedule files. Although ticketing is not a core part of GTFS, there is the Google Transit ticketing extension.
Its most important feature is specifying booking urls and a way to pass the stop ids, trip ids and times to the ticket shops. The extension also allows to define ids for stops and trips that the ticket shop can understand. This is important because often the ticket shop software is different from the piece of software that writes the GTFS files. These don’t necessarily have to agree on the identifier they use.
If each trip had it’s own booking deeplink, the size of the schedule would increase massively, as well as the size of the data we’d need to store on the Transitous servers. To solve this, the ticketing extension only stores the base url, and assembles the parameters for each deep link only if needed.
However, this requires a separate shop-specific server side step to convert the standardized parameters to something that the ticket shop understands.
My work
Transitous is mostly just an instance of the MOTIS routing engine, so much of the work happened there.
This work has partially been funded by NLnet through the NGI0 Commons Fund with financial support from the European Commission’s Next Generation Internet programme.
Unfortunately that did not magically give us booking links everywhere. The ticketing extension does not (yet) play such a big role in the open-data / open-source GTFS ecosystem. However since Google Maps supports it, many feeds made for it already contain ticketing_deeplinks.txt.
Maybe you can get your local transit operators to add support for it as well :)
To do my part in improving the situation, I added support for it in some of my own GTFS feeds and the library I use for creating them.
Since the problem of needing to translate the url parameters for the ticket shops comes up in every inofficial feed, I also wrote a generic server for doing the redirecting. Adding support for a new ticket shop there is very easy. Since I already host it, it also removes the burden of needing to run a server side component for each feed one publishes.
You can see the results on Transitous: Route from Nikšić to Podgorica.
It also already works in KDE Itinerary.
Adding Ticketing
Adding ticketing to your own feeds is fortunately quite straightforward in many cases. These examples are based on my gtfs-generator rust crate, but it would be very similar in other language ecosystems.
Assuming there is one shop for all trips in the feed, you only need to add one ticketing link:
generator
.add_ticketing_deep_link(TicketingDeepLink {
ticketing_deep_link_id: "tickets-zpcg".to_string(),
web_url: Some("https://jbb.ghsq.de/ticket-redirect/zpcg/".to_string()),
android_intent_url: Some("https://jbb.ghsq.de/ticket-redirect/zpcg/".to_string()),
ios_universal_link_url: Some("https://jbb.ghsq.de/ticket-redirect/zpcg/".to_string()),
}).unwrap();
If the IDs the ticket shop and the feed use are already the same, you already know the IDs and just need to copy them over:
generator.add_ticketing_identifier(TicketingIdentifier {
ticketing_stop_id: stop.stop_id.to_string(),
stop_id: stop.stop_id.to_string(),
agency_id: "zpcg".to_string(),
})?;
Then all that’s left is editing the agency entry to reference the new ticketing link. For more complicated cases, you can also reference a different ticcketing link per route.
If the IDs don’t match, chances are this is still relatively easy. Often the ticket shops’ autocompletion allows to retrieve a full list of stops, ideally including coordinates as well. Then matching these to your stops is relatively straightforward.
If you import your feed into MOTIS with these changes, you should already get a clickable “Tickets”-button. To make it redirect somewhere useful, the redirect server needs to be tought how the url scheme of the ticket shop works by adding a little function like this:
func redirectZpcg(w http.ResponseWriter, r *http.Request, from []string, to []string, date []time.Time, trip []string, departure []time.Time, arrival []time.Time) {
baseUrl, _ := url.Parse("https://www.tickets-zpcg.me/en/rezultati.php")
q := baseUrl.Query()
q.Set("from", from[0])
q.Set("to", to[len(to)-1])
q.Set("date", date[0].Format("2006-01-02"))
baseUrl.RawQuery = q.Encode()
http.Redirect(w, r, baseUrl.String(), http.StatusSeeOther)
}
The parameters are arrays, since in the ticket links allow to buy multiple tickets via one link. This feature might not be possible to support with every ticket shop.
Maybe this motivated you to add support for this in some new corner of the world :)
Svenska språket uppfinns.
“Hej! Här kommer en uppdatering av våra villkor! Du kan nu använda upp till två tusen ord i månaden med vår gratistjänst, sedan måste du uppgradera till Basic Plan för 129 kr/månaden. Ska du använda svenskan i jobbet kostar det som innan 1299 kr/månaden. Behöver du läsglasögon? Våra enbart godkända leverantörer finner du här. Vi påminner om att pensionärsutgåvan finns inte mer. Vi hörs!”
Wow. Vilken teknologi. Vilken innovation. Vi alla köper.
År 2026, och så har det varit ett tag, så är det så här uttrycksfrihet fungerar på nätet. Vill du skriva till någon som är på Facebook men du är inte? Går inte. Vill du ta del av samhällsaktörers meddelanden och debatt utan annonser och material från den vinstdrivande aktören X? Sorry. Vill du chatta med dina kompisar på SnapChat med en app som är designad på ett helt annat sätt? Det får du inte. Välja leverantör av din feed på TikTok? Nope. Och så vidare.
Grunden i Internet, så som e-post och webbsidor, som byggs upp av specifikationer och organisationer, var designad runt att vara öppen. Du kan välja e-postprogram, webbläsare och vem som helst kan skapa en webbsida. Syftet med dess design var att hålla Internet neutralt, utan så kallade proprietära teknologier och nedlåsning med vinstdrivande intressen. Detta bidrog till stor del till dess succé, och varför det är bra. (Och gammal teknologi, uttrycksfrihet och demokrati har också sina utmaningar.)
De lager och applikationer som vi alla använder i nuläget är långt i från det. Det hela kännetecknas av vad ekonomer kallar marknadssvikt: de sociala medier-apparna tjänar oss konsumenter dåligt.
De samhällsproblem så som psykisk ohälsa och en systemisk sänkning av vår förmåga är ett resultat av hur teknologin och juridiken ser ut. Vi vill digitalt kommunicera och ta del av media, men kan i nuläget inte välja hur eller faktiskt vilket innehåll. Att hålla vinstdrivande aktörer samhällsmässigt ansvariga fungerar inte, men de respekterar marknadens spelregler. Ändra dem.
Så här finns det utrymme för innovation. Dra ihop jurister, samhällsvetare, teknologer och uppfinn de moment i form av teknologi (tänk API:er, referensimplementationer, specifikationer), lämplig juridik och de (supranationella) samarbeten som behövs för att göra den korrektion som är nödvändig. Teknisk separation mellan den app som visar och konton med material? Obligatoriska standarder? En EU-motsvarighet till Finansinspektionen? Här är några utmaningar med det: dåligt betalt, folk fattar inte riktigt poängen, och klurigt.
Kanske det är viktigt nog. Vad är första steg?
This is the second half of what changed in Dolphin 26.08. The first half is what you can see: the features, the behaviour changes, the bugs. This one is what you can measure.
Dolphin does very little file work itself. It asks KIO, so the numbers below are mostly KIO numbers: 6.25 is the version that shipped alongside Dolphin 26.04, 6.29 is the one that ships alongside 26.08, four framework releases and 294 commits apart. The last section is 6.30, the release still to come, since several of its changes are large enough to be worth showing early.
Every figure here was measured on the same machine, with the two versions built the same way and run one after another, round by round. Where a number is not solid I say so rather than rounding it up.
Memory and object lifetimes
The 26.04 post ended by saying the next thing was to point LeakSanitizer at Dolphin. It turned into a lot of fixes, and into a CI job: KIO now runs its tests under LeakSanitizer on every merge request, which is what stops the list below from growing back.
Sebastian Englbrecht was the busiest contributor to Dolphin this cycle by commit count, and
most of that work was lifetime and ownership: killing in-flight KIO
jobs
in destructors, deleting the Konsole
part,
destroying owned objects before the KIO cache tears
down
and fixing unowned
allocations.
He also added a smoke
test,
eight places-panel unit
tests,
and a rule forbidding bare
QTest::qWait()
with the existing waits replaced by signal-based
ones,
which is the sort of thing that makes the rest of the CI trustworthy. Wendi Gan fixed an
occasional use-after-free crash
in KConfig::sync() during exit, closing two reports,
516481 and
518433.
My own share was in both projects. In Dolphin: aborting the folder stat job when the
Information Panel is destroyed,
a use-after-free of the current version-control plugin,
a leaked submenu in the folder-icon action
and a leak in the trash settings page on exit.
In KIO, besides turning the sanitiser on in CI and teaching the tests to wait for what they
allocate to be deleted,
three fixes are ones a user could have met: the "Move Into New Folder" drop action had done
nothing at all since 6.25, because the menu was parented to a plugin destroyed the moment the
action fires
while the folder creation it starts runs asynchronously; FilePreviewJob armed a repeating
timeout timer it never stopped,
so with a context menu held open the orphaned timer could fire on a finished job and re-enter
emitResult(); and KDirModel dereferenced the node of a directory that had already left the
model
when an earlier listing completed late.
Performance improvements in KIO between 6.25 and 6.29
The big one is the in-process worker transport. For local files KIO has for some time run the
file worker in a thread of the application rather than a separate process. Even in
that thread it still talked to the application over a socket, serialising every command and every
block of file content through a QLocalSocket pair. In 6.29 that channel is a new
ThreadConnectionBackend, an in-memory queue, and kio_file hands over owned byte arrays instead of copying them, which makes in-process reads zero-copy. This is the
first half of the improvements described in
the copy post from July.
Second, CopyJob no longer re-probes the destination filesystem type for every file. It called KFileSystemType::fileSystemType() per file for the FAT and NTFS checks, and on libmount builds each of those calls parses
the entire mount table. Copying N files parsed /proc/self/mountinfo N times. It is
determined once now. Each parse is about 57 microseconds on a host with 39 mounts,
and it scales with the number of mounts.
Third, and this is the memory one, the directory lister cache got much smaller.
A directory that no lister was showing any more went into a cache of ten and stayed
there until nine others had displaced it. For a picture folder of 50000 files that
is a lot of KFileItem and UDSEntry retained for nothing. The cache now holds
three directories, which is what going back a level or two actually needs, and drops
anything no lister has asked for in three minutes.
Fourth, UDSEntry got smaller, which saves memory. An
entry now keeps its numbers and its strings in two separate vectors,
which buys a byte for every field an entry holds. And loading now sizes each
vector from what the entry actually
holds:
both vectors used to be sized from the count of fields alone, a third of it for the
strings and two thirds for the numbers. A stat of a local file gives one string, the name,
and eight numbers, so the numbers grew past their room while the strings kept more than
they needed. That sizing change on its own takes a listing of 200000 local files from 528 bytes
an entry to 400, which is 105.6 MB down to 80 MB, 25.6 MB saved. Loading also stopped hunting for a shared
value on
the fields where values cannot repeat: no two entries of a listing carry the same name, url or
local path, so comparing them with the entry before never found anything to share. Reading one
entry of a local folder off the wire went from 530 to 488 nanoseconds.
Smaller ones worth naming: KFileItem no longer reads .directory on slow filesystems when working out an icon name
(6.28, closing bug 519189), Sebastian
Englbrecht fixed QPluginLoader, QLibraryPrivate and thread lifecycle leaks in the worker machinery (6.28).
Nineteen reports were closed by fixes in KIO across those four releases. Most of them are filed against the applications rather than against KIO, since that is where a user meets the problem: Dolphin, Plasma, Konsole, KWin.
Benchmarks
Methodology
I built KIO 6.25.0 and 6.29.0 from their tags, Release on gcc 16.2.1 and Qt 6.11.1, and ran the same harness against each. The arms are interleaved one round at a time, so a CPU frequency or load excursion hits both equally, and the best of N rounds is reported.
Everything ran on one 13th Gen Core i7-1365U with 30 GB of RAM, kernel 7.1.4, on ext4, with the benchmark processes pinned to the same two cores.
Copying
KIO::copy() of N files into an empty directory, timed from job start to the
result signal. Source files are created untimed, the destination is cleared
untimed. cp -r is there as a raw-tool floor, not as a target.
Copying many small files is more than twice as fast as it was in April. The gain falls off as files get larger, which is what you would expect: the fix is to the per-file overhead, and once each file carries a megabyte of actual I/O the overhead stops being what you are waiting for.
There is still a gap with cp, discussed at length in
the July post. KIO is doing more than cp does, but not
five times more, and the batching work that closes most of the rest of that gap is still in
progress.
Deleting
KIO::del() over a freshly created tree, best of three rounds. rm -rf is the raw-tool
floor here, as cp -r is above, and it is handed the same list of paths the job is given
rather than the folder that holds them.
Deletion improves less than copying, as expected: a delete carries no file content, so the zero-copy half of the transport work does nothing for it. What is left is the cheaper per-command round trip, 1.23x on the smaller tree and 1.25x on the larger one.
rm -rf is six times quicker than 6.29 on both trees, a wider gap than copying shows
against cp. That fits: a copy at least spends real time moving bytes, where a delete is
almost nothing but the per-file round trip, so what KIO adds is most of what there is to
measure.
How the job is asked matters as much as the count. These runs hand KIO::del() the 5000
files one by one, the way a select-all in a file manager does. Handing it the one folder
instead takes about a fifth of that on the same filesystem, because the worker then walks
the tree itself instead of taking a command per file. rm given the folder rather
than the 5000 paths goes from 69.4 ms to 66.8, which is the difference the filesystem
charges for the two shapes. The rest of it is KIO's. That second path is the one the 6.30
section below measures.
Listing
One KCoreDirLister over an existing directory. The cold number is the first
listing in a fresh process. The warm number is a later listing of the same
directory, which KCoreDirListerCache answers without going to disk. The second chart is the resident growth
while the lister is still showing the folder, which is what a file manager displaying that
folder actually costs.
Listing is about 9 percent quicker on the 5000-file folder and 15 percent on the 50000-file
one, and holds about 14 percent less memory in both cases. The memory part is the UDSEntry
work described above. The warm listing is unchanged either way, 2.6 ms against 2.8 ms on the
5000-file folder and 37 ms on the 50000-file one, which is the cache answering rather than
the disk.
Memory kept for folders you have left
Of everything measured here, this is what a long-running Dolphin notices most. Walk twelve directories one after another, the way you do going down and back up a tree, and then look at how much memory the process is still holding. Nothing is on screen in either case, so all of it is held for folders nobody is looking at any more.
In 6.25 a directory nothing was showing any more sat in a cache of ten and stayed until nine others displaced it. Browse through a few large folders and you are holding all of them. The cache now keeps three, and drops anything no lister has wanted for three minutes. Repeat listings do not suffer for it, which is what the warm listing above shows: re-opening a folder you just left still finds it. What the eleventh slot bought was going eleven folders back, and every user of a large folder paid for it.
6.30 improvements
None of this has shipped, so treat it as a preview rather than a result. 6.30 has several commits that touch exactly what this post measures, so I built it as a third arm and ran the same harness.
Most of what 6.30 gains comes from one change: handing over what a message carries as it is
when the worker runs in the application's own
process.
kio_file runs in a thread of the application, but used to write its data down with
QDataStream the way a process-based worker has to. Except it does not need to. Avoiding that
serialisation is where the fewer allocations come from, and the entries cost less memory
besides, since one no longer reserves room for fields most files never carry. Nothing changes
for a worker in another process, which still has a socket between it and the application.
The other major improvement was a dormant issue. It had been there for years, and benchmarking made it visible: 50000 files listed in 1233 ms while 5000 listed in 36, 10 times the files taking 34 times as long, where listing should be close to linear.
A profile of the large case revealed 42 percent of the whole listing is KFileItem copy
construction and destruction, all of it under KCoreDirListerCache::DirItem::insertSortedItems
calling QList::reserve once per batch of entries. Except reserve has no relocatable
fast path: on the growth path it allocates exactly the size asked for and copy-appends
every element already there, even for a type declared Q_RELOCATABLE_TYPE as KFileItem. Since the
previous call had sized the buffer exactly, every batch reallocated and copied the whole
list. Heaptrack counted 239 such calls for 50000 files, so about six million copy
constructions for fifty thousand items.
Deleting the reserve call and
letting the list grow geometrically takes that listing from 1233 ms to 531 ms, over 2x
quicker. What cost the time was inside those reallocations, copy-constructing every
KFileItem already in the list, and a KFileItem copy is a refcount bump that allocates
nothing at all. So none of it showed up in an allocation count, which is why it took a
cycles profile to find.
Deleting a folder gained from
af3d9e0e7, which removes a tree with the
system's own calls instead of walking it, and how much depends on the shape of
the tree. openat and unlinkat work from a descriptor for the directory an entry was
read from, so they stop resolving a whole path for every entry, and the deeper the tree
the more that is worth. Fifteen thousand files on tmpfs, deleted as one folder, with
rm -rf over the same tree as the floor:
6.29 costs more the deeper the tree, four times as much at 800 levels as at ten. 6.30 does
not care how deep it is, and stays within a third of rm -rf at every depth, which is about
as close as a job that reports progress and can be cancelled is going to get to a tool that
does neither.
Closing
The copy path still has more in it than 6.29 ships: the batching that closes most of the
remaining gap to cp is written and measured in Making KIO copy many
files fast and is not finished yet. The listing
path has an open question of its own, which is that an entry could carry its fields more
cheaply again; a branch that does it trades about two percent of listing time for eleven
percent of the memory an entry holds, and which of the two is the better trade depends on
how many entries you are holding.
Enjoy the speed.
Wednesday, 26 August 2026
KQuickImageEditor is an image editing library for Qt Quick applications. It was created by fellow KDE developer Carl Schwan. It can crop/mirror/resize/rotate images, it has undo/redo history, and it comes with QML components that make it easy to set up a basic image editor. NeoChat and Photos (aka Koko) have used it since 2020 and 2021.

In version 0.6, I added a new image editing system from Spectacle. On top of the existing features, the new system can draw shapes, write text, blur and pixelate. It will also be able to do a wide range of color adjustments soon (likely 0.7). Spectacle and Koko have been using the new image editing system since 2025. It was Spectacle’s to begin with, so you could say Spectacle has been using it since 2023. NeoChat and others might use the new system once the number of GUI components have expanded. The old image editing system will remain available for the foreseeable future so that apps using it will not break.

My design philosophy for the new system is based on the idea that APIs should be minimal, but highly flexible by reusing existing components. It’s supposed to be like how you can buy a LEGO set and make many different things with the same pieces. For example, the upcoming color adjustment API takes a QMatrix4x4 to apply linear adjustments to RGB channels with the top 3 rows and non-linear/perspective adjustments with the 4th row. It’s just like using a QMatrix4x4 or mat4 (GLSL) for 3D graphics, except your dimensions are red, green and blue. I could have made the API just for brightness and contrast effects (to be used by Koko), but the choice to use a QMatrix4x4 means you can do a lot of things just with Qt’s existing APIs. From there, I can still add APIs to create 4×4 matrices for specific effects, but apps don’t need to wait for KQuickImageEditor to have an API for the color adjustment they need. They can make their own 4×4 matrices by applying general mathematical concepts.
The core components of the new system are AnnotationDocument and AnnotationViewport. AnnotationDocument has all of the APIs for manipulating QImage objects and undo/redo history. AnnotationViewport is a custom QQuickItem subclass that can render images, update in response to changes from AnnotationDocument and provides QPainterPath/SVG path data for outlining annotations when using the selection tool. There are also a few QML components for features that most viewport implementations can be expected to implement the same way, such as outlines for annotations that are selected or hovered over. The only truly necessary part is AnnotationDocument. Although KQuickImageEditor is for Qt Quick apps, you could connect AnnotationDocument to a custom viewport made with Qt Widgets.
At the moment, there aren’t many GUI components in the API because apps may have different needs and I don’t want to force the use of a particular UI. I might add standard action components for each tool type in the future to make setting up toolbars, floating toolbars or toolboxes easier, but there are still a lot of things to decide on before adding more visual GUI components to the API. There is a documentation website, but the documentation needs quite a lot of work, so reading the header files and looking at how Koko and Spectacle have used the system are currently the best ways to understand it.
The API of the new annotation system is considered unstable. As an example, AnnotationDocument and AnnotationViewport have names that no longer match the scope of what they are for, so they might change before stabilizing the API. However, I don’t break apps on a whim. If the API or ABI has to have a breaking change, it will be communicated and there will be a path to prevent KDE apps on the Gear and Plasma release schedules from breaking in between their releases.
Just so it’s clear, even the new image editing system is not supposed to compete with advanced image editing systems like what Krita and GIMP have. The exact scope is not firmly defined, but it’s pretty likely that certain features like layers or a wide variety of brushes will not be implemented.
I intend to make more posts about the new image editing system and its history within Spectacle in the future.
Hello fellow KDE contributors and users!
The Font Subsetting for FreeText annotations merge request got merged today and this means Poppler now supports font subsetting for FreeText annotations.
You can try it out by using Poppler from the master branch or wait for the next release. You can enable/disable it by passing -DENABLE_HARFBUZZ=ON/OFF when running CMake although it is enabled by default.
We worked on the following in the past 2 weeks,
- Re-generating the CIDToGIDMap after subsetting.
- Re-generating the width array after subsetting.
- Working on code reviews on the MR.
- Regression testing and fixing bugs.
- Some small architectural code changes.
What's remaining:
- The Font Subsetting for Form Fields merge request is under review and is currently being regression tested for bugs. After this is merged, font subsetting shall be fully supported in Poppler.
Watch out for a demo video/blog showcasing the results after doing font subsetting soon!
Thank you,
Ojas
Dolphin 26.08 has been released. Here is more of what changed in it, and in the KIO framework underneath it.
The version of KIO that shipped alongside Dolphin 26.04 was 6.25. The one that ships alongside 26.08 is 6.29, four framework releases and 294 commits later. A fair part of this post is about that, because the largest performance change of this cycle is not in Dolphin at all. If you only read one thing, read Making KIO copy many files fast, which is the story behind why copying a folder of small files in 26.08 takes less than half the time it did in 26.04.
New features
Grouping is no longer tied to sorting. Ramil Nurmanov added an explicit group role, so grouping by type no longer forces you to sort by type as well. The old "Show in Groups" toggle is replaced by a "Group By" menu, which lets you turn grouping off, keep the old "Same as Sort" behaviour, or pick a criterion outright. Inside each group the normal sort role is still used as a secondary key. (989c0f4f0)
The filter bar tells you what it is doing. Alessio Bonfiglio replaced the hidden
auto-detecting regex behaviour with an explicit mode selector offering Plain Text,
Glob and Regular Expression, plus a case-sensitivity toggle. The old behaviour tried
to guess: typing a name containing *, ? or [ silently switched the bar to a
regular expression, which made a file genuinely named [draft].txt impossible to
filter for. An invalid expression now turns the bar red instead of quietly doing
something else. (3084a4e11)
A "Folder Name" column in the details view, by Jussi Räsänen, closing a request from 2021. It is most useful when a search or an expanded tree puts files from several folders on screen at once. (4a7be9f25)
Per-folder zoom, by Wagner Soares. When you are not using global view properties, the zoom level is now remembered per folder like the other view properties are. (0f7a9c681)
"Focus Other View", by Felix Ernst. The "Switch between views with Tab key" setting is gone, replaced by a real action you can bind to whatever you like. It moves focus to the inactive split view, and opens a split if there is not one yet. (12b4a8a91)
Close tabs to the left or right, by Ramil Nurmanov. (91e7c0c1e)
A button to restore view properties to their defaults, which I added for the per-folder view properties case. It enables and disables itself depending on whether the current folder already matches the defaults. (70f34211c)
Type-ahead feedback in the status bar, by Felix Ernst. As you type, the status bar shows the keys you have typed and which file name they selected, so a type-ahead that lands somewhere unexpected is no longer silent. (1e13c6abb)
The terminal panel can be resynchronised with F5, by Antti Savolainen, closing bug 510557. When a foreground program is running in the panel, the terminal and the view can drift apart. Konsole does not signal when that program exits, so responding to F5 is the practical answer. (07baa7bb6)
KDE Connect integration, by Kai Uwe Broulik: an "Open KDE Connect" button when
browsing the kdeconnect scheme (d5903bd81), and a proper placeholder for a KDE Connect
folder (dfef28748).
Session restore for the first instance, by Sergey Katunin, closing
bug 464693. If Dolphin is not already
running and something launches it with --new-window, as browsers and Kate do, the
session is restored rather than discarded. (173794ce1)
Behaviour changes
These are the changes most likely to surprise you, so they are worth naming explicitly.
- Create New Folder is now two actions. Ctrl+Shift+N and the context menu entry shared one action, so the menu advertised a shortcut that did something subtly different: the shortcut creates in the viewed directory, the menu entry in the folder you clicked. They are separate actions now, and the context menu one has no default shortcut. (705e366aa)
- "Empty Trash" moved in the context menu, by Antti Savolainen, closing bug 518713. It now sits with the other destructive actions rather than next to harmless ones. The reporter had been emptying the trash while reaching for something else. (7d81e3092)
- "Open Terminal Here" only appears for folders, not for files, by Brijesh krishna. (8a9f7d9d4)
- The play arrow over video previews in the Information Panel is gone, by Ryan Nosurname. There is already a play button and a seek bar directly beneath it. (71f8db089)
- Icon overlays are drawn at a fixed size rather than composited into the thumbnail and rescaled with it (bug 498211). Emblem size was previously inconsistent from file to file, because each thumbnail was rescaled by its own factor, and slightly cropped at fractional display scaling. (63f21036e)
- Special folders keep their saved view properties even with global view properties enabled, by Pan Zhang (bug 520089, 2e665e1b5).
- Names like
file.2.txtsort naturally, by Pan Zhang (bug 411707, 0d10eff37).
Who wrote it
Counting commits that are new in 26.08 and not already in a 26.04.x release, and leaving the translation robot out of it:
| commits | 207, of which 97 code changes |
| lines | 3822 added, 772 removed, net +3050 |
| contributors | 22 |
| first time in Dolphin | 13 of those 22 |
| returning | 9 |
The busiest by a wide margin:
| Contributor | commits | added | removed |
|---|---|---|---|
| Sebastian Englbrecht | 31 | 1145 | 87 |
| Méven Car | 29 | 706 | 236 |
| Pan Zhang | 6 | 424 | 58 |
| Felix Ernst | 5 | 250 | 165 |
| Ramil Nurmanov | 2 | 428 | 54 |
| Alessio Bonfiglio | 2 | 406 | 22 |
| Kai Uwe Broulik | 2 | 58 | 4 |
| Akseli Lahtinen | 2 | 49 | 42 |
| Antti Savolainen | 2 | 37 | 12 |
| Filip Fila | 2 | 13 | 5 |
| Oleksandr Bondar | 2 | 11 | 6 |
| Sergey Katunin | 2 | 11 | 5 |
Commit counts and line counts do not rank people the same way. Ramil Nurmanov and Alessio Bonfiglio wrote two commits each and still added more lines than anyone except the top two, because grouping by a separate criterion and the filter bar modes each arrived whole. Ryan Nosurname's single commit is the opposite shape: removing the video preview play arrow takes away 43 lines and adds none.
Thirteen people landed their first Dolphin commit this cycle: Antti Savolainen, Areeb Faisal, Brijesh krishna, Evgeniy Harchenko, Filip Fila, Florian RICHER, Jussi Räsänen, Ketal Wang, Oleksandr Bondar, Ramil Nurmanov, Ryan Nosurname, Sebastian Englbrecht and Wagner Soares. Kudos to them! Several are long-standing KDE contributors who had simply not touched this repository before, so read it as new to Dolphin rather than new to KDE.
The other 110 commits were mainly translation commits. Thank you, translators!
Bugs fixed
Nineteen bugs are fixed in 26.08 that were not already fixed in a 26.04.x point release. Ten of them are the changes described above, so here are the other nine:
| Bug | What | Who | Commit |
|---|---|---|---|
| 492298 | Menubar visibility applied after the UI has loaded | Oleksandr Bondar | c3ef613f |
| 506884 | Inline rename preserved when the item scrolls out of view | Pan Zhang | 5e35194b |
| 508465 | Item widgets use style primitives instead of custom painting | Akseli Lahtinen | 61b6e173 |
| 509150 | Wrong item count in the Size column for folders of 200+ entries | Pan Zhang | 914cd901 |
| 510469 | Animated-height widgets no longer scroll the viewport | Pan Zhang | cde91dd7 |
| 514401 | Re-triggering an inline rename made robust | Méven Car | 7ca6daea |
| 515236 | No spurious history entry when leaving search results | Pan Zhang | 35b309aa |
| 518285 | Non-Breeze styles may style the non-toolbar navigation bar | Filip Fila | 76f6eb07 |
| 523348 | Delete action shown in selection mode in the trash | Méven Car | d392e6b5 |
Two regressions worth knowing about
Icons could be missing entirely. On a freshly opened view every item drew a blank where
its icon should be, and it stayed that way until the view mode was switched or the zoom
slider moved (bug 523228). A regression from
per-folder zoom, fixed in
9c652faca. That fix brought one
of its own, turning previews off in icons view rendering at 16 pixels rather than the 32 that
mode is set to (bug 524606), fixed in
57c6b10e1. Both are on the
release/26.08 branch and ship in Dolphin 26.08.1, due in the first half of September
2026.
Service submenus disappeared from the context menu. Entries that a service menu file
groups into a submenu were missing from the context menu, in any application that builds one
with KFileItemActions, Dolphin included (bug
524239). A regression from
148b9253d in 6.29, fixed by
Luis Bocanegra in
774defb94, which ships in KDE
Frameworks 6.30, due in the first week of September 2026.
Neither was found by a test, and both have one now: dolphinitemlistviewtest, which is new,
and three cases in dolphinviewtest for the per-folder cache, and
testServiceMenuSubmenuActions with a submenu.desktop fixture in KIO.
Closing
If you want to help, the leak and lifetime work above is a good way in, and so is
picking a bug from the list. The KIO copy path still has more in it than 6.29 ships:
the batching that closes most of the remaining gap to cp is written and measured in
Making KIO copy many files fast but not yet finished.
That's all, folks.







