After having spent a great deal of time improving Plasma, I recently focussed on other ares of our workspace, such as KRunner, and various KDE Applications.
One of my favorite and most frequently used tools is KRunner, the “Run Command“, “Alt+F2” (new in Plasma 5: Alt+Space) window. Last summer I re-introduced the history functionality and recently additional runner actions. KRunner’s history has become a bit smarter, prefering more recently executed queries over older ones, rather than matching length-wise. With runner actions I was able to implement a more than 5 year old feature request: showing the containing folder of a file found through Baloo (Nepomuk back then).
To make it even more convenient, rather than just opening the file’s parent folder and having you dig through the files in there to find it, I made use of the freedesktop FileManager1 interface that Dolphin (and Nautilus) support to have the file scrolled to and highlighted.
So, if you’re maintaining an application that does the “Open Parent Folder” dance, please use this. If you’re using KDE Frameworks in your app, you can eventually make use of the KIO OpenFileManagerWindowJob I’m currently working on.
I’m also planning to add support for Windows and OSX for this. Drag and drop is also implemented in KRunner, you can search for files and applications and drag them wherever you like.
Remembering where a file was downloaded from
Dolphin gains the ability to display the URL a file was originally downloaded from. While this feature itself existed for years (it’s the ominous “Copied From” attribute in Dolphin’s Additional Information view settings), this new implementation uses the standardized freedesktop.org Common Extended Attributes, also used by Baloo for storing tags and ratings. The “user.xdg.origin.url” is populated by applications like Chromium and even wget.
Once again, if you’re maintaining an application that downloads stuff, do your users a favor and set this attribute accordingly. There’s also a neat KDE Frameworks API which does the right thing™ for you:
KFileMetaData::UserMetaData metaData(filePath); metaData.setOriginUrl(QUrl("..."));
Global Menu Applet
Yes, that’s right. I recently had a look at the Global Menu stuff we get asked for a lot and I managed to write a working, albeit ugly, prototype. At the moment its use is quite limited, as the only application I could find that makes use of it was Chromium.
The good news is that there’s an ongoing effort to upstream support for it into Qt which means all KDE and Qt applications will eventually support this! The bad news is that Gnome uses their own thing, GMenuModel, whose DBus interface is deemed non-stable, so we can’t really support it. Furthermore, it looks like Unity will also use GMenuModel instead. Also, it will take quite a while for the Qt version with support for it (I hope 5.7) to be widely adopted, so you’ll need to wait at least another half a year, probably more, for this.
*) A stellarator is a device used to confine hot plasma with magnetic fields in order to sustain a controlled nuclear fusion reaction. (Wikipedia)