deltachat / deltachat-desktop

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

xdg-settings: default-url-scheme-handler not implemented for xfce #3297

Closed Caliandroid closed 11 months ago

Caliandroid commented 1 year ago

:~$ deltachat-desktop
/home/me/.config/DeltaChat/logs/2023-07-03-00-11-36.log
xdg-settings: default-url-scheme-handler not implemented for xfce
xdg-settings: default-url-scheme-handler not implemented for xfce
xdg-settings: default-url-scheme-handler not implemented for xfce
xdg-settings: default-url-scheme-handler not implemented for xfce
xdg-settings: default-url-scheme-handler not implemented for xfce
xdg-settings: default-url-scheme-handler not implemented for xfce

Logfile content:

2023-07-02T22:11:36.007Z    main/index              INFO    ""  "Deltachat Version 1.38.1 v1.33.0-253-g5ff6e1e3 1687778551867"
2023-07-02T22:11:36.183Z    main/deltachat/webxdc   WARNING "\n/opt/DeltaChat/resources/app.asar/src/main/deltachat/webxdc.ts:551:9,\nrejected (/opt/DeltaChat/resources/app.asar/tsc-dist/main/deltachat/webxdc.js:6:65)"  "webxdc cleanup failed" {"stack":"Error: ENOENT: no such file or directory, scandir '/home/me/.config/DeltaChat/Partitions'","message":"ENOENT: no such file or directory, scandir '/home/me/.config/DeltaChat/Partitions'","errno":-2,"code":"ENOENT","syscall":"scandir","path":"/home/me/.config/DeltaChat/Partitions"}
2023-07-02T22:11:36.205Z    main/index              INFO    ""  "cwd /home/me/.config/DeltaChat/accounts"
2023-07-02T22:11:36.213Z    main/deltachat          INFO    ""  "Ready, starting accounts io..."
2023-07-02T22:11:36.213Z    main/deltachat          INFO    ""  "Started accounts io."
2023-07-02T22:11:36.248Z    main/menu               INFO    ""  "rebuilding menu with locale de"
Simon-Laux commented 1 year ago

what was the last version of DC that worked for you?

link2xt commented 1 year ago

"xdg-settings: default-url-scheme-handler not implemented for xfce" seems to be a common Electron problem, e.g. here are some similar reports:

I did a quick grep inside the node-modules, it seems xdg-settings is executed by electron itself:

[node_modules]$ grep -r default-url .
grep: ./electron/dist/electron: binary file matches

But I am not sure it is the reason for the app not starting, this seems to be just a warning.

Caliandroid commented 1 year ago

what was the last version of DC that worked for you?

Sorry, but already deleted the last working version. I've used the AppImages, so no auto-update. I guess the last version was from Jan-Feb23... I need to try some old versions to be able to answer precisely

farooqkz commented 1 year ago

I am also using XFCE. I am using the latest build from master and it's fine. I will try deleting everything and trying again.

Edit: It's working fine for me with this setup:

DeltaChat v1.34.4 OR npm run start from the master xUbuntu 22.04 xfwm4 replaced with i3

logs:

16:58:00 ~/playground/DC/desktop (i3311*) $ npm run start

> deltachat-desktop@1.38.1 start
> electron . --devmode --disable-http-cache --translation-watch

Logfile: /home/farooqkz/.config/DeltaChat/logs/2023-07-18-16-58-01.log
0s [i]main/index: Deltachat Version 1.38.1 v1.33.0-258-ga19c203a 1689416500748
xdg-settings: default-url-scheme-handler not implemented for xfce
xdg-settings: default-url-scheme-handler not implemented for xfce
xdg-settings: default-url-scheme-handler not implemented for xfce
xdg-settings: default-url-scheme-handler not implemented for xfce
xdg-settings: default-url-scheme-handler not implemented for xfce
xdg-settings: default-url-scheme-handler not implemented for xfce
link2xt commented 1 year ago

So default-url-scheme-handler not implemented for xfce is just a warning.

The real problem is that Delta Chat "does not start or start with black window".

farooqkz commented 1 year ago

@Caliandroid Can you create a new account on the same computer and run DeltaChat and see if the issue still persists?

Caliandroid commented 11 months ago

Hello @farooqkz , yes it works now again. I've now restored the backup from my mobile app version and everything is up and running v.1.38.1, flatpack, still xubuntu 22.04.03.

Thank you