! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
"send image" from firefox opens infinite tabs
Status:
CLOSED: FIXED

Comments

Description Bj 2006-11-06 22:06:30 CET
when you open the context menu on an image in firefox and select "send image", new tabs are created over and over. even when you close firefox, it is started again, opening tabs.

you can break this, by saving a bookmark and then closing firefox. then you get a notice, that ff is already running and no new session is created.

however, ff should not open tabs but pass the image as an attachment to the chosen mail reader (in this case exo-open) which worked before. i don't know exactly which update from exo broke this, but i did not touch firefox lately and as i said, it worked well before.

also when i change the application to handle mailto in firefox to "thunderbird" instead of "exo-open", it works fine again.
Comment 1 Benedikt Meurer editbugs 2006-11-06 22:41:27 CET
Uff, weird. Can you perhaps replace exo-open with a shell script that prints it's parameters as send by firefox. That'd probably help to find the cause.
Comment 2 Bj 2006-11-06 22:57:14 CET
i'm not sure if this is what you wanted, but i made a little script that prints all arguments passed to the specified mailto handler into a file and this is what is printed when i try to send the header image on archlinux.org:

mailto:?body=http%3A%2F%2Fwww.archlinux.org%2Fmedia%2Flogo.png&subject=

looks ok to me, though..
if you meant sth else, please tell me
Comment 3 Benedikt Meurer editbugs 2006-11-11 13:32:48 CET
Created attachment 869 
Possible fix

That one should fix the problem. The URL was matched by MATCH_BROWSER2 because of the hostname starting with www in it.
Comment 4 Bj 2006-11-11 13:54:06 CET
the tabs are gone but the image i try to send to is not added as an attachement as i had expected, but the images's adress is added in plaintext in the mail's body part.
if this is intended, then the patch fixed the problem.
Comment 5 Benedikt Meurer editbugs 2006-11-11 16:42:58 CET
Just as specified in the mailto:-URL

 body=http%3A%2F%2Fwww.archlinux.org%2Fmedia%2Flogo.png
Comment 6 Benedikt Meurer editbugs 2006-11-11 17:30:53 CET
Committed with revision 23827.

2006-11-11      Benedikt Meurer <benny@xfce.org>

        * exo/exo-url.c: Detect complex mailto:-URLs properly. Bug #2530.

Bug #2530

Reported by:
Bj
Reported on: 2006-11-06
Last modified on: 2009-10-09

People

Assignee:
Nick Schermer
CC List:
0 users

Version

Version:
0.3.1.9svn

Attachments

Possible fix (1.66 KB, patch)
2006-11-11 13:32 CET , Benedikt Meurer
no flags

Additional information