Do

GNOME Do seems not to learn associations between extensions and actions

Bug #328658 reported by David Brewer
28
This bug affects 5 people
Affects Status Importance Assigned to Milestone
Do
New
Wishlist
Unassigned

Bug Description

This may be a wishlist item, not a bug, depending on what is supposed to be already working in Do. :-)

I have a very frequent use case for Do which goes something like this:

 1) Activate Do
 2) Start typing until I've identified a file (in my case almost always a Komodo project file, such as 'project.kpf'.
 3) Now I want to open it with Komodo.

The problem is that no matter how often I do this, Do never seems to learn that when I have a file with extension .kpf open, I want to open it with Komodo. It always defaults to the action "open". When I choose "open with", it defaults to opening it with Firefox. Even for specific kpf files, it never seems to update its guess as to what I want to do with the file.

I would love it if Do would learn what action I am likely to want to perform with a given file. Even better would be if it would look at file extensions and start guessing that I want to treat all files with the same extension the same way.

Revision history for this message
Chris Halse Rogers (raof) wrote : Re: [Bug 328658] [NEW] GNOME Do seems not to learn associations between extensions and actions

If you replace 'file extension' with 'mime type', then yes. That would
be good.

I believe this is planned in the overhaul of the relevance engine that
should happen post-0.8.1.

Revision history for this message
Parthiban Balasubramanian (parthiban-bls) wrote :

Here's a more basic issue regarding the Relevance Engine (and what seems to be a regression).

Do is not learning the default action associated with an item (which used to be the case AFAIK). Eg.: I pull up a folder, tab and select 'Open in Terminal', and even after doing this about a 100 times, the default action is to 'Open'. And pre 0.8, numbers in pure text mode used to default to GCalculate (now it's 'Install') and words in pure text mode used to default to 'Define' (now 'Install'), which seems to be the proper behavior.

I guess I can see the need for an overhaul of the relevance engine as these issues throw up a lot of questions (Learn actions for each item? for each mimetype?, etc.). Looking forward to the overhaul.

Revision history for this message
kylea (kylea) wrote :

What I find confusing is that Gnome-do is seemly inconsistent. If I type Desktop and 'right arrow' and a drop down list appears I can select a spreadsheet (.ods or .xls) and OpenOffice starts up for some and not others of the same mime type.

If I browse into say /home/documents/more_documents/ same document types are ignored when I press enter on the document.

2.6.28-11-generic #42-Ubuntu SMP Fri Apr 17 01:58:03 UTC 2009 x86_64 GNU/Linux
kylea@kylea-E650

Ubuntu Jaunty 64bit

Revision history for this message
Alex Launi (alexlauni) wrote : Re: [Bug 328658] Re: GNOME Do seems not to learn associations between extensions and actions

On Tue, May 5, 2009 at 12:06 AM, kylea <email address hidden> wrote:

> What I find confusing is that Gnome-do is seemly inconsistent. If I type
> Desktop and 'right arrow' and a drop down list appears I can select a
> spreadsheet (.ods or .xls) and OpenOffice starts up for some and not
> others of the same mime type.
>

This isn't us, this is xdg-open. File a bug with xdg-utils.

--
--Alex Launi

Robert Dyer (psybers)
Changed in do:
importance: Undecided → Wishlist
Revision history for this message
Parthiban Balasubramanian (parthiban-bls) wrote :

Has this been fixed? Using Do 0.8.1.3-0ubuntu2 and Do-Plugins 0.8.1.3+dfsg-0ubuntu3.1, but I still see this problem.

No matter how many times I select an action for an item, Do always offers the default (first-use-action, i.e.) action for that item.

Eg.: I have a script that I need to "Run in Terminal". I must've done this about 500 times, but Do still offers "Run" as the default action when I select that script.
So, as far as I can see, Do does learn what items i select more frequently, but not the actions selected for them.
What's worse, I remember this working fine pre-0.8.

Revision history for this message
Jack Senechal (jacksenechal) wrote :

Worse than that, I've got an executable script which used to default to the "run" action, which is what I want. Sometime in the last few updates it has started defaulting to "open", and no matter how many times I select "run" it won't learn it. I'm also on Do 0.8.1.3-0ubuntu2.

Revision history for this message
Parthiban Balasubramanian (parthiban-bls) wrote :

The bug you are describing, and what I talked about above has been filed here:

https://bugs.launchpad.net/do/+bug/389577 "Relevance Engine doesn't learn user's actions for items"

Revision history for this message
radostyle (mr--jon) wrote :

I've updated the related bug with a patch.

https://bugs.launchpad.net/do/+bug/389577 "Relevance Engine doesn't learn user's actions for items"

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.