1. create test.html with following: 2. open test.html with chromium and click on link 3. check mailbox of recipient@example.com :> ymmv, but this can be fixed changing neomutt.desktop file:
I am not sure this is neomutt's fault or chromium's. It looks like the root cause is xdg-open not respecting Terminal=true in neomutt.desktop. There is an existing bug about that: https://bugs.freedesktop.org/show_bug.cgi?id=92514 Wrapping the neomutt command in a terminal emulator works as a workaround for this specific bug, but is a bad fix in general since it would create a second, redundant terminal if launched from anything other than xdg-open. I thought mailto: links used to work for me in chromium... I am not sure if something changed (probably in chromium) or if I imagined that. BTW the reproducer can be even shorter: just enter mailto:someone@example.com in the address bar.
Hi, Cloning this bug and assigning the clone to mutt, because this also affects stretch. I can't believe it's taken me this long to try to get mutt to handle mailto links. It also has the potential to embarrassingly spam the BTS if someone clicks the reply link more than once (see #922951) :-$ Regards, Nicholas
Hey, guys. I'm going through the bugs opened against neomutt to see what the state of them are and maybe hopefully close some bugs :-) Currently on testing, I'm not able to reproduce this bug. So I think it might have been fixed in chromium, neomutt or xdg (although the bugs sent here, mutt and xdg, are still open. I'll wait for more info or someone to double check if it's actually fixed or the result of some different config I have. Cheers, Charles
Hi again! Well, now I realize the problem. I'm a firefox user and it didn't happen there on 2023-10-12, but now the problem is here [firefox] too and I've sent a few spams to the BTS... I'll take a look and try to fix it. Cheers, Charles
The issue may be in the neomutt.desktop file: [Desktop Entry] Categories=Office;Network;Email; Comment=Simple text-based Mail User Agent Comment[de]=Einfaches, Text-basiertes Mailprogramm Exec=neomutt %u Icon=neomutt Name=neomutt Name[de]=Mutt MimeType=x-scheme-handler/mailto; NoDisplay=false Terminal=true Type=Application Terminal=true specifies that this mailto scheme-handler runs in a terminal, but finding out what terminal to use is left completely up to the desktop environment, which can vary a lot depending on if the user is even using a desktop environment. One possible workaround could be to use Debian's x-terminal-emulator symlink like this: Exec=x-terminal-emulator -e neomutt %u Terminal=false
This is an xdg-utils bug which was addressed upstream here: https://gitlab.freedesktop.org/xdg/xdg-utils/-/merge_requests/160