Bug 807255

Summary: links in HTML mail don't work in F17
Product: [Fedora] Fedora Reporter: Christoph Wickert <christoph.wickert>
Component: evolutionAssignee: Matthew Barnes <mbarnes>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 17CC: lucilanga, mbarnes, mcrha, reklov
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-04-13 08:35:27 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
test message as mbox none

Description Christoph Wickert 2012-03-27 11:30:17 UTC
Description of problem:
After upgrading to F17, https links stopped working in evolution.

Version-Release number of selected component (if applicable):
evolution-3.3.92-1.fc17.x86_64

How reproducible:
always

Steps to Reproduce:
1. Install F15
2. Have evo configured to open https:// with firefox
3. Updagrade to F17
  
Actual results:
Clicking on a https URL in a mail no longer opens a firefox window

Expected results:
Default browser should open

Additional info:
I am filing this downstream and not in GNOME's bugzilla as I think this is a configuration or packaging issue.

Comment 1 Christoph Wickert 2012-03-27 11:35:51 UTC
Meanwhile I configured firefox as default webbrowser in gnome-control-center. For some reason it was set to "Webbrowser" rather than to "Firefox". No change though: http works, https not. I have also restarted evolution.

Comment 2 Milan Crha 2012-03-28 15:05:51 UTC
Thanks for a bug report. I'm afraid this is not evolution's issue, it only calls gtk_show_uri() and that's all. What does happen if you invoke from console:
   $ gvfs-open https://bugzilla.redhat.com/show_bug.cgi?id=807255
please? It does work for me, though I have a fresh install of F17.

Comment 3 Milan Crha 2012-03-28 15:12:51 UTC
I just found: you may also try:
   $ gvfs-mime --query x-scheme-handler/https
which returns firefox.desktop for me.

Comment 4 Christoph Wickert 2012-03-28 20:34:34 UTC
gvfs-open works fine. 

$ gvfs-mime --query x-scheme-handler/https
Default application for 'x-scheme-handler/https': firefox.desktop
Registered applications:
	firefox.desktop
	exo-web-browser.desktop
	fedora-midori.desktop
Recommended applications:
	exo-web-browser.desktop
	firefox.desktop
	fedora-midori.desktop

I just figured out it is not https. Some links open - even https - others don't. Ufortunately I dont see a pattern.

Comment 5 Milan Crha 2012-03-29 12:17:02 UTC
Is it that th eevolution doesn't open the link, but if you right-click the link in evolution and choose "Copy link location", and you paste it after gvfs-open in a terminal, then it'll work? I guess this will be something with parameters for the link, or text encoding.

Comment 6 Christoph Wickert 2012-04-11 06:26:16 UTC
"Copy link location" & pasting it works fine. Meanwhile I found a pattern: plain text mails work, HTML mails don't.

Comment 7 Milan Crha 2012-04-12 09:43:39 UTC
Created attachment 577022 [details]
test message as mbox

Hmm, I cannot reproduce it with this message in my F17 box. Can you, after importing this message, please? If not, then maybe a sample message would help, or at least the message source of the URL itself (the whole pair of
   <A href="...">text</A>
Maybe there is something with the href value, some unencoded letter or anything like that.

Comment 8 Christoph Wickert 2012-04-12 10:02:14 UTC
Indeed, your test message does not work for me. I cannot even mark text there: As soon as I click on somewhere, evolution marks text from a random starting point to the position I click.

Let me try with a new user account. Stay tuned.

Comment 9 Volker Sobek 2012-04-12 19:56:26 UTC
(In reply to comment #8)
> Indeed, your test message does not work for me. I cannot even mark text there:
> As soon as I click on somewhere, evolution marks text from a random starting
> point to the position I click.

Confirming (tested attachment 577022 [details]) on up-to-date F17.

Comment 10 Christoph Wickert 2012-04-12 22:02:17 UTC
For the record: Left click and "Open in Browser" works fine.

Comment 11 Milan Crha 2012-04-13 06:56:29 UTC
(In reply to comment #8)
> Indeed, your test message does not work for me. I cannot even mark text there:
> As soon as I click on somewhere, evolution marks text from a random starting
> point to the position I click.

The text selection bug is in bug #809852. It doesn't open the link for me because of the broken selection too, thus that might mean that the issue is not about URLs itself, but about unexpected selection? That way we can mark this as a duplicate of it.

Comment 12 Christoph Wickert 2012-04-13 08:35:27 UTC
Works for me. We can still reopen this one in case it's not but 809852.

*** This bug has been marked as a duplicate of bug 809852 ***