Home > KDE, ownCloud > Dolphin Overlay Icons for ownCloud Sync Client

Dolphin Overlay Icons for ownCloud Sync Client

Our recent ownCloud Client 1.7.0 release contains the new feature of overlay icons in GNOME nautilus, MacOSX and Windows. That is nice, but that makes us as old KDE guys sad as Dolphin was missing on the list.

KDE's Dolphin with overlay icons for ownCloud

KDE’s Dolphin with overlay icons for ownCloud’s file sync

That needs to change, and here we go: Olivier Goffart wrote a patch to do overlay icons also in Dolphin, which was not straightforward, because in addition to an dolphin plugin, also a patch for libkonq was required.

We prepared some test packages in our development repository isv:ownCloud:devel for those who wanna try and know their way around. Current it only builds for a couple of openSUSE Distros. You need to install kdebase4 and dolphin-plugins and after installation, it’s easiest to restart KDE to make it registered. But be warned: The two packages replace packages from the previous installation, only do it if you really know what you’re doing!

It would be great if at least the libkonq patch could make it to upstream, and I would appreciate if somebody who is a bit more fluent with recent KDE libs development could give me a hand on that. Otherwise, if distros wanna pick up the patches to make the overlays work, of course the patches are here: patch for libkonq and the ownCloud Dolphin plugin. The plugin will work with the released version 1.7.0 of ownCloud Client.

Categories: KDE, ownCloud Tags: , ,
  1. Eric
    December 8, 2014 at 18:06

    ❤ ❤ ❤

  2. December 8, 2014 at 18:45

    This is awesome. Too bad I am using unreleased version of Fedora (21). A few more days.

  3. Marc Deop
    December 8, 2014 at 21:03

    Maybe you should add your patches here: https://git.reviewboard.kde.org/r/

  4. Volkan
    December 8, 2014 at 21:48

    Yay! Finally!

  5. Andre
    December 9, 2014 at 08:01

    Wasn’t it once planned to add such things to the dolphins-plugins, like SVN, etc.? https://projects.kde.org/projects/kde/kdesdk/dolphin-plugins/repository

    • December 9, 2014 at 14:27

      The current plugins are using the KVersionControlPlugin2 API, see:

      KVCP2 only supports a limited number of states, but OC also informs about the “shared” state, i.e. you get up to two overlay icons.

      The new KOverlayIconPlugin for libkonq is a little bit nearer to the inner workings. KVCP2 takes the state from the plugin and maps it to a single overlay which is added to the item, whereas the overlay plugin allows an implementation to directly specify one or more overlay icons.

      Up to 4 overlays can be specified for file items.

      Icons can be specified as full path or using the freedesktop icon naming specification.

  6. December 17, 2014 at 15:44

    Is there a version of the plugins for Dolphin+KF5? I’m sure those can easily be integrated.

    • dragotin
      December 17, 2014 at 16:36

      No, net yet AFAIK. Sebas wanted to look into that, not sure about the progress yet.

  7. January 5, 2015 at 13:34

    Olivier said he’d be looking in how far the patches are applicable to KF5, if he needs help, he can shout at us and we’re ready to assist.

    libkonq has now been split up and merged into KIO, so the situation upstream has cleared up. 🙂

  8. pfoo
    March 18, 2015 at 14:48

    Great work ! Any updates on pushing this upstream ?

  9. July 9, 2015 at 21:25

    Whats the status of this in Dolphin? All I know is that it’s not working in kde workspace 4. Is it merged for kde workspace 5?

  1. December 9, 2014 at 04:55
  2. January 18, 2015 at 13:54

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: