Unity and the Drag&Drop way

This new post is about Interaction, focusing on relations between Unity launcher and our files. I’d like to introduce a simple extension to Unity behavior while interacting with files in our systems.

The old way

Before Unity was launched, if you needed to interact with a file you could choose one of this common options: Right click on it to see a list of actions or Drag & drop to move it.
In my opinion, both methods have some disadvantages:

  • It may be hard to find the right menu item inside the “right click menu” if you installed several Nautilus plugins
  • Drag & Drop works only for unmaximized windows
  • Drag & Drop is strictly an application dependent feature

The Unity way

With Unity Ubuntu has introduced a new drag & drop capability in the launcher:

Unity drag & drop system

The current Unity launcher drag & drop feature


If you move a file to Unity, the apps which cannot handle it are shadowed. On the contrary, the ones which are able to do the desired operation remain active. I really love this new feature and I tried to replace both Drag&Drop and Right click with this new method… Unfortunately, my attempts were unsuccessful:

  • This feature works only for apps in the launcher; so that Unity Drag&Drop can’t be a complete replacement for the right click “Open” and “Open with” menu items
  • If you are writing multiple emails and you want to attach a file to a particular email you can’t. Dropping a file to the email client will always open a new email window
  • If you are chatting with some friends and want to send them your fresh downloaded song you can’t.
  • You can’t move files to removable devices even if they are displayed in the launcher (At least not in Ubuntu 11.10)

An alternative recipe: The adaptive Unity launcher

However these are not problems, simply the launcher doesn’t work as I expected. That’s why I studied a possible alternative to the current behavior: a launcher that adapts its content depending on what you move towards it. Let’s explain my idea with an image:

The adaptive Unity launcher for an audio file

The adaptive Unity launcher for a video file

When a music file is moved to the launcher, the latter changes its content and displays:

1All the applications that can handle the file properly. The launcher could be smart enough to list the default applications together with some context related apps. In the audio file example, if you have a blank CD inserted in your CD drive, the launcher should also display the Brasero Burning Tool icon.

2 Emails and IM contacts. In addition to Email and IM client icons (specifically Thunderbird and Empathy) Unity will display thumbnail icons for each person you are chatting and for each email you are writing. This means that you can use drag & drop to attach or send files to a specific person.

3Online accounts actions. In my opinion, Unity needs to be integrated with Online accounts: I’ll discuss this subject in the section below.

4All your devices (removable and cloud) should be visible. As I use Ubuntu 11.10, I cannot be sure whether the latest Ubuntu release has solved this issue. Anyway, why can’t you copy a document to an USB stick or Dropbox share using Unity drag & drop?
As a second improvement I would replace the home directory with a file-type dependent “right” folder: if I drag a video file, the launcher will displays the Video folder (but only if that video isn’t already there). This is also a way to encourage people to use the proper Ubuntu directory structure when organizing contents.

A look at the social world…

An “Online account” menu entry has been recently added to Ubuntu User Indicator. At the time I’m writing, Google account is the only feature supported even if I think that the gnome board is planning to make this the default entry point for all online accounts such as Facebook, Twitter, Flickr, Google and the like. I also imagine that almost all gnome apps will soon be integrated with your social accounts: Thunderbird will automatically add your Gmail profile, Liferea your Google reader feed, Empathy will setup your Facebook and Gtalk accounts while Shotwell will synchronize your Flickr and Facebook galleries etc. Or maybe that’s simply what I hope to see.

Now the question is: “How can the launcher be social and integrate well with online accounts?” I think there are a lot of annoying tasks that often require several steps: uploading a video on Youtube, sharing your new photo album on Flickr, Facebook or Google+, updating your MySpace profiles with the latest songs are a few examples of that. How can we make these tasks faster? At this point, you probably know the answer: Unity Drag & drop can be the solution for your laziness :)

A Unity preview mode

While looking for a file preview application I tested several Mac-like preview apps but I’ve never been satisfied with them. That’s why I want to propose a totally new approach: a Unity based preview.

An audio preview example

A video preview example

Dragging a file over the right launcher icon without dropping it displays a Pop-Up with a small preview.

That’s all at the moment, if you want to share your thoughts feel free to post a comment and if you like the idea follow the link below to votes for it on Ubuntu brainstorm.


About these ads

One thought on “Unity and the Drag&Drop way

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 )

Twitter picture

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

Facebook photo

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

Google+ photo

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

Connecting to %s