vladimiry / ElectronMail

Unofficial ProtonMail Desktop App
GNU General Public License v3.0
1.48k stars 96 forks source link

Can't open web links from e-mails in default browser #674

Closed XxTriviumxX closed 4 months ago

XxTriviumxX commented 4 months ago

Hi! I used to be able to open links in my default browser. I re-installed arch linux and electronmail and it wont open links in my default browser anymore. version 5.2.2. Is there a setting i could not see? Like a button to click somewhere..?

Copying the link and paste it in my browser works for now...

vladimiry commented 4 months ago

If the same app version worked and then stopped working, it's on your side. It's handled by XDG/open on Linux, so this is where you would start the research. Make sure first that xdg-open your-link-here console command opens the link in a default browser.

XxTriviumxX commented 4 months ago

the "xdg-open github.com" command opens github.com on my browser as it should

vladimiry commented 4 months ago

Links opening being handled by @electron's shell.openExternal call. You could use it as a keyword when looking up things on the internet.

XxTriviumxX commented 4 months ago

My issue is with the flatpak version. I tried opening links with webcord, which is another electron app i installed as a flatpak. It didn't work there either. What do you think i should do about it?

note: links open in any other apps but them.

vladimiry commented 4 months ago

I had this issue with flatpak apps since middle of October last year for about one month when it got self-fixed. Since I didn't do anything specific to fix it, I come to the conclusion that it got fixed by updates of the system or/and flatpak's system stuff.

XxTriviumxX commented 4 months ago

my OS has been freshly re-installed last week.

Anyways, i could simply wait like you said. I'll report back if it works again.

XxTriviumxX commented 4 months ago

It started working again.

vladimiry commented 4 months ago

Thanks for the update. So the issue got self fixed, same as happened to me some time ago.