Bug 1521

Summary: make osso_mime and friends support "Actions"
Product: [Maemo Official Platform] Desktop platform Reporter: Danny Milosavljevic <danny_milo>
Component: File System UIAssignee: Marius Vollmer <marius.vollmer>
Status: RESOLVED MOVED QA Contact: file-system-ui-bugs
Severity: enhancement    
Priority: High CC: andre_klapper, kimmo.hamalainen, quim.gil
Version: 5.0-alpha   
Target Milestone: ---   
Hardware: All   
OS: Maemo   

Description Danny Milosavljevic (reporter) 2007-06-07 19:46:19 UTC
Hi,

It would be nice if osso_mime and friends (file manager, ...) supported the
"Actions" field.

What it is for:

To be able to register multiple actions on a file type (and later choose one to
do to a file of that type) . For example to "Open", "Edit", "Print", "Index",
... a file of a specific file type (specifying 'for type "application/xyz", to
"Open", call "xyz %f",  to "Edit" call "edit-xyz %f"' etc)

How it looks:

http://lists.freedesktop.org/archives/xdg/2006-February/006094.html
http://lists.freedesktop.org/archives/xdg/2006-February/006102.html

(It would also be nice if we would finally really properly document the common
practise in the desktop entry standard, yeah yeah :-))
(http://www.freedesktop.org/wiki/Software/desktop-file-utils has support, so no
problem here.)

However,
http://webcvs.freedesktop.org/menus/desktop-entry-spec/desktop-entry-spec.xml?view=log
says:
--------------------------------------
Revision 1.13 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Sep 19 20:06:06 2006 UTC (8 months, 2 weeks ago) by bastian
Branch: MAIN
Changes since 1.12: +1 -20 lines
Diff to previous 1.12

remove "Actions" from the 1.0 version of the spec because is it
under-specified and not widely implemented.
--------------------------------------

Sigh. Well, your call :-)
(For the record, Thunar, Konqueror and Nautilus support it)

Note that the file manager is the most important part in this, since the file
manager would allow the user to choose to do one of these actions to a selected
file.

Affected would be:
osso_mime (low level): add action parameter to the "*open*" functions
file manager (high level): add context menu, allowing to select action to be
done
maybe applications (optional): extra argument to the osso_mime_cb_f maybe?
Comment 1 Kimmo Hämäläinen nokia 2007-06-15 13:51:14 UTC
If File Manager people want it, I don't have a problem to make it possible.
Moving there.
Comment 2 Quim Gil nokia 2008-12-31 03:34:17 UTC
Setting HIGH visibility.
Comment 3 Quim Gil nokia 2009-01-08 17:15:33 UTC
This looks indeed like a nice feature.

Question: is this also related to better alignment with freedesktop.org? This
is a strategic principle, so if it's related we would have more reasons to
implement it.
Comment 4 Andre Klapper maemo.org 2009-03-12 15:06:48 UTC
(In reply to comment #3)
> This looks indeed like a nice feature.
> 
> Question: is this also related to better alignment with freedesktop.org? This
> is a strategic principle, so if it's related we would have more reasons to
> implement it.

"Actions" is currently not specified in
http://webcvs.freedesktop.org/menus/desktop-entry-spec/desktop-entry-spec.xml
so it's not really aligned.
Comment 5 Andre Klapper maemo.org 2009-05-06 15:03:08 UTC
So... realistically speaking it's probably a WONTFIX?
Comment 6 Quim Gil nokia 2009-12-07 08:51:15 UTC
The scope of bugs.maemo.org are bugs and only very specific and no-brainer
enhancement requests. This report contains a feature request that is too
generic for bugs.maemo.org. Please post this problem and propose your
solution in Maemo Brainstorm instead:
  http://maemo.org/community/brainstorm/

More information: http://wiki.maemo.org/Maemo_brainstorm