Closed Bug 1343250 Opened 7 years ago Closed 6 years ago

"Email image..." causes infinite loop of new tabs

Categories

(Firefox :: Shell Integration, defect)

50 Branch
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 215554

People

(Reporter: emilianoalejosenega, Unassigned)

References

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:50.0) Gecko/20100101 Firefox/50.0
Build ID: 20161219123728

Steps to reproduce:

I right-clicked on an image to save it but accidentally clicked "Email image..." in the context menu.


Actual results:

Firefox started opening new tabs like crazy with some script on the Direction Bar (didn't copy the script sorry) until I closed Firefox and re-opened it.


Expected results:

Well, I guess it should have opened some email service redacting an email with the image in it.
To check if Loic's suggestion is right, can you check what's set as the application for handling mailto links? You can find that in the preferences under "Applications". In the list of "Content Types", it's "mailto". I tried reproducing with a native application (Mail on MacOS), gmail opening in Firefox, and "Always Ask", but was unable to reproduce the issue.
Flags: needinfo?(emilianoalejosenega)
My mailto entry in Applications states "Use Firefox (default)". I'm in Windows 10 not Mac. Hope it helps!
Flags: needinfo?(emilianoalejosenega)
I've been able to reproduce it. Here's what was in the direction bar, it was the exact same on all tabs:

mailto:?body=http%3A%2F%2Fwww.jvaudiocar.com.ar%2Fajelectroniko.com.ar%2Fpublicaciones%2520mercadolibre%2FCELULARES%2FMotoMods_Camara_PL.jpg&subject=

the link in there is just a random image (the link you get when you right click an image -> View Image).
(In reply to emilianoalejosenega from comment #3)
> My mailto entry in Applications states "Use Firefox (default)". I'm in
> Windows 10 not Mac. Hope it helps!

That does thank you. Here's what I think is going on: you somehow have Firefox set as the default email application in the Windows settings, which makes it show up in this list. Firefox doesn't actually know how to handle emails itself, so it invokes whatever is set in its own "Applications" settings - which is Firefox. Rinse and repeat.

I'm not sure how it happened that Firefox is your system's default email application. (Assuming that is indeed the case.) I can't make my Windows 10 installation do that, so it seems like something went wrong.

The fix on your end is probably to change the default - either in Firefox if you use a web mail client such as Google Mail or Yahoo! Mail, or in Windows if you use a desktop application.

The fix on our side would be to never have Firefox itself be in the list of email handlers, even if it's set as that in the operating system. I changed the bug's summary accordingly.
Status: UNCONFIRMED → NEW
Component: Untriaged → Shell Integration
Ever confirmed: true
This bug is similar to bug 1403385 which was resolved as a duplicate of bug 218257. 

The related SUMO KB article is https://support.mozilla.org/kb/firefox-repeatedly-opens-empty-tabs-or-windows
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → DUPLICATE
(In reply to Till Schneidereit [:till] from comment #5)
> (In reply to emilianoalejosenega from comment #3)
> > My mailto entry in Applications states "Use Firefox (default)". I'm in
> > Windows 10 not Mac. Hope it helps!
> 
> That does thank you. Here's what I think is going on: you somehow have
> Firefox set as the default email application in the Windows settings,  

If Firefox is set as the default email application in Windows then this would be bug 215554.
See Also: → 1496380
You need to log in before you can comment on or make changes to this bug.