deskbar applet doesn't use default program to open documents

Bug #242208 reported by ragnaroknroll
8
Affects Status Importance Assigned to Milestone
gnome-vfs (Ubuntu)
Incomplete
Low
Ubuntu Desktop Bugs

Bug Description

Binary package hint: deskbar-applet

i've set adobe reader as my default program to open pdf files... however, whenever i search for a pdf file using deskbar applet and click on it, it opens using evince...
i'm not sure if this is a problem only with pdf files or with other file formats as well...
i'm running a fully updated version of hardy heron installed using wubi on a dell latitude d620 laptop...

Revision history for this message
Pedro Villavicencio (pedro) wrote :

how are you searching them? which plugin do you have enabled to do the task?

Changed in tracker:
assignee: nobody → desktop-bugs
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
ragnaroknroll (ragnaroknroll) wrote : Re: [Bug 242208] Re: deskbar applet doesn't use default program to open documents

I've got the Tracker Search plugin enabled...

On Thu, Jul 3, 2008 at 11:23 AM, Pedro Villavicencio <email address hidden>
wrote:

> how are you searching them? which plugin do you have enabled to do the
> task?
>
> ** Changed in: tracker (Ubuntu)
> Sourcepackagename: deskbar-applet => tracker
>
> ** Changed in: deskbar-applet (Ubuntu)
> Sourcepackagename: tracker => deskbar-applet
> Importance: Undecided => Low
> Assignee: (unassigned) => Ubuntu Desktop Bugs (desktop-bugs)
> Status: New => Incomplete
>
> --
> deskbar applet doesn't use default program to open documents
> https://bugs.launchpad.net/bugs/242208
> You received this bug notification because you are a direct subscriber
> of the bug.
>

Revision history for this message
ragnaroknroll (ragnaroknroll) wrote :

I'm using the Tracker-Search plugin....

Revision history for this message
Sebastien Bacher (seb128) wrote :

could you describe easy steps to trigger the bug?

Revision history for this message
ragnaroknroll (ragnaroknroll) wrote :

okay, when i double click on a pdf file from nautilus, it opens with adobe reader... i've set this by right clicking on a pdf file, going to properties and then the 'open with' tab... however, this change isn't reflected when i open a file from the deskbar's search results... because, when i search for the file from deskbar and double click on it, it opens with ubuntu's default application for pdf files, evince...

Revision history for this message
Bálint Magyar (balintm) wrote :

I can confirm this on Ubuntu 8.04.1 (with all updates as of date).

1. Get some PDFs.
2. Doubleclicking in Nautilus opens them with Evince. Opening a PDF through Tracker/Deskbar opens them with Evince.
3. Install Adobe Reader 8.1.2 from official site.
4. Right-click on a PDF in Nautilus, Open With tab, select Adobe Reader.
5. Doubleclicking in Nautilus opens them with Adobe Reader. Opening a PDF through Tracker/Deskbar opens them with Evince.

Revision history for this message
Kornel Jahn (cornail) wrote :

I also can confirm this bug. Nautilus opens all my pdfs in evince. Deskbar-applet + tracker search tool fail to open them (they do nothing). When starting from console, the following message appears:
"Error showing url: There is no default action associated with this location."

POSSIBLE CAUSE:
gnome-open gives exactly the same message as above when trying to open a pdf with it. gnome-open binds to gnome-vfs, which is going to be succeeded by gvfs. (gvfs-open works)
Apparently, deskbar-applet, tracker search tool, etc still bind to gnome-vfs instead of the new gvfs. Nautilus already binds to gvfs, so when trying to modify the file association ("open with..."), the change is made for gvfs but not for gnome-vfs apps.

Ubuntu 8.04 took Gnome 2.22 in the middle of a major transition (gnome-vfs --> gvfs), which is probably reflected in these bugs. Please provide some method to adjust the file associations for gnome-vfs, too, until the transition is finished!

Personally, i have to search many pdfs with tracker for my work, and it is irritating that they don't open in evince because of this bug.

Revision history for this message
Kornel Jahn (cornail) wrote :

i suggest to increase the importance of the bug since it probably affects all software, which still use libgnome-vfs. and although Gnome is gradually changing to gvfs, many programs haven't done it yet, for -as far as I know- gvfs API isn't even declared stable.

Revision history for this message
Sebastian Pölsterl (sebp) wrote :

Kornel's scenario sounds reasonable. Therefore, this bug would affect all applications that use Python gnomevfs bindings to retrieve a file's default application.

Although, there are gio Python bindings for some time. Deskbar-Applet won't be ported to gio before 2.26.

Revision history for this message
Sebastien Bacher (seb128) wrote :

gnome-open uses gvfs is intrepid now, the other issue is describe on bug #264309

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.