Evince opens web links in gedit

Bug #208231 reported by Nathan
4
Affects Status Importance Assigned to Milestone
evince (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: evince

When I click on an URL link in evince it opens the downloaded HTML source in gedit.

I expected it to show me the site in my preferred webbrowser (firefox)

When I change in nautilus to open .html files with KWrite evince opens them with KWrite. When I choose for firefox-3.0 (I had to add it myself) it opens in firefox with nautilus, but evince still uses the old KWrite setting.

I'm using Hardy with evince 2.22.0-0ubuntu2, nautilus 2.22.0-0ubuntu3

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

thanks for your report, that works fine here with a hardy installation and a live cd, that's more like something broken on your system and not an evince bug, thanks.

Changed in evince:
status: New → Invalid
Revision history for this message
Nathan (nathansamson) wrote :

Hi,

I tested it out with a clean profile: nearly the same happens.

1: Open a PDF document, click on an external link http://something.org
2: firefox opens the website => All ok

Since I'm a webdeveloper, and opens .html documents often to edit them I changed the default program to open .html document from firefox to gedit
3: Open nautilus, search or create a .html file
4: Right-click on it to open the properties menu
5: go to the Open With tab
6: Select Text editor (gedit)
7: Close the menu, and click once again on the link in the PDF document
8: Gedit downloads the document, opens it and shows the HTML code

9: Repeat step 5-7, but choose firefox again
10: Firefox opens as expected

Maybe this is normal behaviour for evince because it uses gvfs or whatever to open the documents, but it is not what I want that it does. Maybe it is not an evince bug, but a gnome/gvfs/nautilus/whatever bug.

If you say it is my system (but it is not the user configuration, since I used a clean new profile), I want to know what can cause it. It would be already very useful to know what method evince uses to open links (gnome-open, ...).

Revision history for this message
_oOMOo_ (hermann-blaxhall) wrote :

Yes I suppose it's more of a feature request in this case, but it's certainly a feature I'd love to see. I too set htm documents to open with gedit, but if I click a link in Firefox it doesn't open the page up in a text editor!!!

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.