Obsidian-StudiosInc / entrance

General purpose Display Manager built on the Enlightenment Foundation Libraries (EFL)
GNU General Public License v3.0
24 stars 10 forks source link

Improve error handling when client fails to connect to server #17

Closed wltjr closed 6 years ago

wltjr commented 6 years ago

Normally the client should not fail to connect to the server. In the event it does, both proceed, and there is little to no error handling there. Nothing to alert the user, nor anything in logs. Likely need to exit both client and server when they fail to establish a connection to each other. Also some visual stuff in edje for when the UI does not get populated and is blacked out and has not sessions, action menu, and user avatars.

wltjr commented 6 years ago

Also need to add a check/timer to entrance client for if/when the server crashes or stops, and orphans the client. Which the client maybe fully populated with all menus active and background. But nothing works because server process is gone.

wltjr commented 6 years ago

Commit 4626e52 should prevent orphaned client/server. Though could still add additional check. Also need to register PID of client with server vs method used in that commit.