Wednesday, September 23, 2009

a use case for remote content

I've been meaning to follow up on Marco's blog entry on associating applications with Plasmoids. It's a really cool little feature, and if you haven't yet I really recommend checking out Marco's blog on it and checking out the screencast on youtube.

I don't, however, want to give the impression that this is a set of features that we've just been throwing into the pot only because the feature is cool. (Which, admittedly, it is. :) We usually do such things in Plasma with a purpose in mind, a use case. So here is one of our use cases for this set of features, and though many more such use cases can be generated it represents one of the primary driving forces behind this feature set:

"Plasma Pete is viewing his online calendar. Pete drags a calendar entry to one of his Plasma activities and he selects 'Event Tracker' from the menu that pops up (after Plasma has determined the kind of data that's been dropped, even though the data is from a remote source). The Event Tracker might even use Akonadi to show the information or it might just show a "web slice" of it. Pete notices that one of the events contains a typo, so he clicks on the 'maximize' icon that's right next to the configure icon in the widget's handle and up pops a site-optimized window that embeds his online calendar application. He makes the change, closes the window and the Event Tracker widget updates."


The ability to jump between widgets that display overviews and provide at most a small convenience interface to full feature applications (perhaps Event Tracker would launch Kontact, for instance), site-optimized containers for web apps or a generic web browser (and back again) will, we hope, tie the whole user experience together much nicer. This is particularly true, we feel, in more constrained devices / form factors such as netbooks but is also quite useful in the laptop/desktop space.

Enjoy. :)

6 comments:

Ramsees said...

How will plasma know with application needs to appear in the popup after domething has been dropped?

Now, what happens if one of the application from the popup is removed or another one with the same file or data association is installed?

mart said...

@Ramsees: for both dragging urls into plasma or launching urls from the plasma widgets the mimetype is used, just like clicking on files in dolphin

Ramsees said...

@mart, Im glad that responsability is out of plasma, but then for example, if I drop a date from tha calendar on plasma (That's what I understood from seigo blog) a date doesn't have a mime type, or maybe Im getting it wrong?

sealv said...

It becomes even cooloer when you consider the uses of this with the plasma-netbook shell. Imagine having the newspaper simply containing live previews of all your bookmarks. Like opera's speed dial on drugs.

SlashDevDsp said...

all good, but this bug definitely needs to be fixed - when drag and drop application links to desktop/panel
https://bugs.kde.org/show_bug.cgi?id=208145

Chani said...

hmm. I think that might be useful for me too, if I ever finish that victory-calendar plasmoid. I didn't want to put advanced editing stuff in the plasmoid itself, or in its config, this sounds like something better than just adding a button myself that launches the associated app (like "more..." in the batery popup)