After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 771504 - after clicking on mailto link in Geary, the body in the composer is not writable
after clicking on mailto link in Geary, the body in the composer is not writable
Status: RESOLVED FIXED
Product: geary
Classification: Other
Component: composer
0.11.x
Other Linux
: Normal normal
: 0.12.1
Assigned To: Geary Maintainers
Geary Maintainers
Depends on:
Blocks:
 
 
Reported: 2016-09-15 20:29 UTC by Pétur
Modified: 2018-02-06 07:02 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
mailto:email@domain?subject=.... (31.41 KB, image/png)
2017-12-14 18:24 UTC, Federico Bruni
Details

Description Pétur 2016-09-15 20:29:42 UTC
Links with "?" symbol are not supported by geary (they are no clickable, hyperlink stops at "?"). Such linksare to be found in mails from sympa software for example and are supported by thunderbird.

Example:

mailto:sympa@lists.xxx.fr?subject=auth%20b4e2834a%20ADD%20listname%20name%40xxx.fr%20
Comment 1 Federico Bruni 2017-12-14 18:19:26 UTC
This is not about normal web links, which have always worked fine. I often click on such a links to see the bugs on bugzilla, all containing an ?id=nnnnn

I guess it's about mailto: links.
Even a simple mailto:user@domain won't work. When I click on it, it's correctly put on the To field, but the body message remains grey and I cannot write anything. The send button is blue and clickable.
Comment 2 Federico Bruni 2017-12-14 18:24:54 UTC
Created attachment 365553 [details]
mailto:email@domain?subject=....

By the way, the ?subject= works fine (see attached screenshot).
Comment 3 Federico Bruni 2018-01-03 14:48:21 UTC
I cannot reproduce it anymore on master~g802c6b90

I've tried clicking on a mailto link in a browser either when Geary is not open and when it is open, with a single account and with two accounts.
It always works fine.

Another user who reported the same problem recently:
https://mail.gnome.org/archives/geary-list/2018-January/msg00000.html
Comment 4 Federico Bruni 2018-01-03 21:19:30 UTC
I can reproduce it! If I click on a mailto link *within Geary*.
I've updated the title accordingly.
Comment 5 Federico Bruni 2018-01-04 07:34:55 UTC
I'm trying to see something with -d enabled, but nothing really useful.
By the way, it does not happen only with a body having a mailto:name@domain simple text (then converted to HTML by Geary, I guess).

It happens also when clicking on *some* emails which appear before quoted messages. Why it happens with some and not with others is not clear to me.

Also, if you click on an email in Geary and you have this problem and then open a new message from scratch, that message will have the same problem (body cannot be edited). This was mentioned also in the mailing list.

The logs do not help, as I said:

[deb] 08:30:18 75,350914 default: geary-controller.vala:2180: Creating composer of type COMPOSER_WIDGET_COMPOSE_TYPE_NEW_MESSAGE; 1 composers total
 [deb] 08:30:18 0,005006 default: conversation-viewer.vala:290: Showing: composer_page
 [deb] 08:30:18 0,033985 default: composer-widget.vala:738: Draft manager opened
 [deb] 08:30:24 5,146338 default: geary-controller.vala:2180: Creating composer of type COMPOSER_WIDGET_COMPOSE_TYPE_NEW_MESSAGE; 2 composers total
 [deb] 08:30:24 0,042871 default: imap-engine-minimal-folder.vala:565: Not opening account_01:Drafts (open_count=2 remote_opened=false): already ope
Comment 6 Michael Gratton 2018-02-06 07:00:12 UTC
Turns out the WebKitGTK web process was deadlocking since we were trying to load content in the composer's web view from the conversation viewer's web view. WebKitGTK bug filed: https://bugs.webkit.org/show_bug.cgi?id=182528 

Workaround pushed to master as commit 89c54dba and to geary-0.12 as commit 417f02b8.