deltachat / deltachat-desktop

Email-based instant messaging for Desktop.
GNU General Public License v3.0
914 stars 167 forks source link

"Show full message in browser" doesn't work - "Firefox can’t find the file at /tmp/deltachat-8DEtDk/message.html" #3056

Closed missytake closed 1 year ago

missytake commented 1 year ago
Simon-Laux commented 1 year ago

maybe reload after some time? or are you using flatpack or some other sandboxing for either DeltaChat or the Browser?

missytake commented 1 year ago

right, firefox is delivered with snap in ubuntu 22.04 -.- which creates its own /snap/firefox loop device. Might be the reason.

Delta Chat is installed via .deb, so no sandbox here except normal electron.

Reloading after some time doesn't work, also not after confirming that the file is there now.

r10s commented 1 year ago

maybe time to show the html-pages internally, by webxdc we now maybe have enough expertise to harden a webview (iirc the browser thing was only a temporary workaround because of considerations wrt security)

Simon-Laux commented 1 year ago

maybe time to show the html-pages internally, by webxdc we now maybe have enough expertise to harden a webview (iirc the browser thing was only a temporary workaround because of considerations wrt security)

possible but not as easy as you're implying here, we need a new window (that's easy), but we also need a way to provide a button to load the external stuff (I know how to do it, but it's not trivially easy, so a week of work or more I estimate)