Joplin does not start on Linux

Operating system

Linux

Joplin version

3.3.12

Desktop version info

Joplin 3.3.12 (prod, linux)

Device: linux, 12th Gen Intel(R) Core(TM) i7-12700H
Client-ID: a8e68f2c668149e4a4dfc424c0eddc5e
Sync-Version: 3
Profil-Version: 47
Unterstützter Schlüsselbund: Nein
Alternative instance ID: -

Backup: 1.4.2
Freehand Drawing: 2.14.0
Inline tags: 1.3.0
MultiMarkdown Table Tools: 1.2.1
Note Tabs: 1.4.0
Secure Notes: 1.2.4
Tagging: 1.0.3

What issue do you have?

Joplin does not start, after closing it when the window is in maximized state.

Starting it with the Command:
flatpak run net.cozic.joplin_desktop

results in:

LaunchProcess: failed to execvp:
xdg-settings
Sentry: Initialized with autoUploadCrashDumps: false
[2:1128/214042.376274:ERROR:object_proxy.cc(576)] Failed to call method: org.kde.KWallet.isEnabled: object_path= /modules/kwalletd6: org.freedesktop.DBus.Error.ServiceUnknown: org.freedesktop.DBus.Error.ServiceUnknown
[2:1128/214042.376290:ERROR:kwallet_dbus.cc(117)] Error contacting kwalletd6 (isEnabled)
[2:1128/214042.376606:ERROR:object_proxy.cc(576)] Failed to call method: org.kde.KLauncher.start_service_by_desktop_name: object_path= /KLauncher: org.freedesktop.DBus.Error.ServiceUnknown: org.freedesktop.DBus.Error.ServiceUnknown
[2:1128/214042.376615:ERROR:kwallet_dbus.cc(86)] Error contacting klauncher to start kwalletd6
[2:1128/214042.376715:ERROR:object_proxy.cc(576)] Failed to call method: org.kde.KWallet.close: object_path= /modules/kwalletd6: org.freedesktop.DBus.Error.ServiceUnknown: org.freedesktop.DBus.Error.ServiceUnknown
[2:1128/214042.376720:ERROR:kwallet_dbus.cc(412)] Error contacting kwalletd6 (close)
[44:1128/214111.586220:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 1 times!
[44:1128/214113.328158:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 2 times!
[44:1128/214113.331505:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 3 times!

killing Joplin, setting isMaximized to false and deleting the lock file works around the issue. Only changing the isMaximized setting was not enough.

After this command, Joplin can be started normaly.
"pkill -9 joplin; sed -i 's/"isMaximized":true/"isMaximized":false/' ~/.config/joplin-desktop/window-state-prod.json; rm -f ~/.config/joplin-desktop/lock"

See this topic at github:

Hello, your problem is quite similar to this issue: Linux Wayland - Won't start if Maximized. · Issue #13561 · laurent22/joplin · GitHub

You can resolve it by downloading pre-release 3.5.7.