-
Notifications
You must be signed in to change notification settings - Fork 16
Description
#Describe the bug
The CloudOTP application fails to launch properly on the second attempt within the same user session, resulting in a black screen with no information displayed.
#To Reproduce
Steps to reproduce the behavior:
Launch CloudOTP for the first time in the user session.
Close the application.
Attempt to launch CloudOTP again.
Observe the black screen and error messages.
#Expected behavior
The application should launch normally and display the user interface without any issues.
Desktop (please complete the following information):
OS: Manjaro
KDE Plasma Version: 6.3.5
Kernel Version: 6.12.25.1-Manjaro
Graphic: Wayland
CloudOTP Version: v2.4.6 (flatpak)
Additional context
The following error messages are logged when attempting to launch the application a second time:
** (CloudOTP:2): CRITICAL **: Failed to read XDG desktop portal settings: GDBus.Error:org.freedesktop.portal.Error.NotFound: Requested setting not found
...
[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: IsarError: DbError (11): Resource temporarily unavailable
Additionally, there are hanging bwrap processes after closing the application, which need to be killed to launch it again successfully.
ps -faux | grep bwrap
user 24196 0.0 0.0 2836 1828 pts/1 S+ 13:15 0:00 | | \_ bwrap --args 38 -- CloudOTP
user 24205 0.0 0.0 2844 1396 pts/1 S+ 13:15 0:00 | | \_ bwrap --args 38 -- CloudOTP
user 24553 0.0 0.0 9120 2352 pts/3 S+ 13:17 0:00 | \_ grep bwrap
user 24201 0.0 0.0 2840 1736 pts/1 S+ 13:15 0:00 \_ bwrap --args 41 -- xdg-dbus-proxy --args=38
``