Steps to replicate:-
When any option selected at the center of the screen, it is observed that user is logged out. Observed only in case when menu is opened using swipe option. The same issue is not observed when up button is used to open the menu.
Selecting the dwm to open the menu which was present in previous release was a better option for me and this user logout is not observed.
I can reproduce this on the latest nightly sxmo-utils. Thanks for posting.
I investigated this today. So the issue is here:
Basically, this line kills the subprocess ie. the
dialmenu()function. As such, even if the user has selected "Close Menu", the script still runs
sxmo_modemcall.sh pickup "$CREATEDCALLID"at the bottom of the script (line 47). I tried exporting the PID for the top level script by running
export TOPPID=$$when the script starts and killing "$TOPPID" but that did not fix it. I dont really know how to fix this but if someone has a recommendation please send a patch!
Ignore everything I said above. I think this issue where a script failing causes dwm to come crashing down is bad but that is something I will investigate later. Currently, this issue is fixed for this script by this commit:
This fix will be in the 1.2.0 release. Thank you for reporting ~arjunaithal!
I spoke too soon. That patch didnt fix it. It seems that this bug only appears after a fresh boot. After a while, I don't experience this bug.
This is fixed now by his patch: https://lists.sr.ht/~mil/sxmo-devel/patches/15411