File search doesn't open .cs files

Bug #225827 reported by Manuel Cerón
38
This bug affects 2 people
Affects Status Importance Assigned to Milestone
gnome-utils
Fix Released
Medium
gnome-utils (Ubuntu)
Fix Released
Low
Ubuntu Desktop Bugs

Bug Description

Go to Places -> File Search. Search for *.cs. The search box doesn't let you open the file with a double click. It says the file type is not associated with any program. Anyway, this works perfectly from nautilus and nautilus search.

Ubuntu Hardy updated to 2nd of May 2008

Revision history for this message
Manuel Cerón (ceronman) wrote :

The same happens with .cpp files.

Revision history for this message
Artem Popov (artfwo) wrote :

I can confirm this, the behaviour is specific to gnome-search-tool (so assigning the gnome-utils package).

Revision history for this message
Artem Popov (artfwo) wrote :

The bug occurs in open_file_with_application() function from gsearchtool-support.c due to gnome_vfs_mime_get_default_application (mime) always returning NULL.

Thank you for your bug report, this bug has been reported to the developers of the software. You can track it and make comments here: http://bugzilla.gnome.org/show_bug.cgi?id=531193

Changed in gnome-utils:
assignee: nobody → desktop-bugs
importance: Undecided → Low
status: Confirmed → Triaged
Changed in gnome-utils:
status: Unknown → New
Revision history for this message
Karol Szkudlarek (karol-mikronika) wrote :

I confirm that bug already exist in Ubutu Hardy 8.04: both *.cpp and *.cs can't open file with double click. Has someone from ubuntu developers could "push" it to gnome developers? Beacuse it still unconfirmed in gnome bugzilla. So gnome developers don't know that the problem even exist.

Revision history for this message
Arttu Korhonen (arttu) wrote :

1) 8.04, Hardy Heron
Description: Ubuntu 8.04.1
Release: 8.04

2) WM_CLASS(STRING) = "gnome-search-tool", "gnome-search-tool"
2.20.0.1-1ubuntu5 (Is there an easy way to copy info from Synaptic?)

4) I noticed that when I did a search from my email files, that if I try to double-click result files to open them I can't. Error message pop-ups, that says something like "Opening of document XXX did not succeed.
No program found that could show the document." (I have partly translated version, so I don't know the original message.)

3) But even if I try exactly the same file from file browser, it asks what I wan't to do with that .eml file, and I can select to open it in text editor. But that's even more wird, that some files (less than one of a tenth) are opened directly into text editor, even from the search window. They also have different icon, even the same extension.

Also, report bug link (ghelp:gnome-feedback) in search help did not work, only error message pops-up, "malformed URI, no page can be loaded".

Revision history for this message
Artem Popov (artfwo) wrote :

Closing the bug, as it is fixed in both Jaunty and upstream.

Changed in gnome-utils (Ubuntu):
status: Triaged → Fix Released
Changed in gnome-utils:
status: New → Fix Released
Revision history for this message
Brett Alton (brett-alton-deactivatedaccount) wrote :

When was this fixed?

It is still present in a vanilla Jaunty, running Gnome 2.26.1.

Could not open document "template.php".
There is no installed viewer capable of displaying the document.

And then all I have is an "Ok" button. How come it can't detect that it should be opened in gedit?

Revision history for this message
Brett Alton (brett-alton-deactivatedaccount) wrote :

I looked at the bug filed with Gnome and found out this information:

"gnome-vfs is being replaced with gio. This should be fixed with the patch"

"Patch applied on 3/16/09 to version 2.27.1."

says developer Dennis Cranston.

I'm just wondering if it is policy to constantly upgrade Ubuntu to fix problems such as this one or if it's policy to fix the problems in the current or targeted release that this bug is filed under.

I asked because this bug effects all versions of Ubuntu, from 4.10 to 9.04, but is fixed in 9.10 (which hasn't been and will not be released until October 2009) only. Currently 8.04, 8.10, 9.04 are supported (as 6.06's desktop support was just dropped), meaning this fix has been released in future versions of Ubuntu, but not past or present.

Just wondering what the mandate is on that. If my tone sounds harsh, I apologize profusely; I just wanted to know Ubuntu's policy, a possibly a link to it.

Changed in gnome-utils:
importance: Unknown → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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