Qt apps on AGL platform freeze when they are running in background and their visibility in IVI-Shell is set to false. They can not receive any notification from D-Bus or WebSockets until visibility is set to true.
- Build AGL platform for R-Car M3 Starter Kit
- Build the example app attached
- Install the app
- Run the app
- Run another app to hide the app
- check journal log to see if the timer in the app is running or not
wl_display_read_events sometimes doesn't return because someone in the same process is doing something with wayland in other thread(i.e. drawing contents in rendering thread with EGL whose driver also does something with wayland).
wl_display_prepare_read_queue - Prepare to read events from the display's file descriptor to a queue. says that to be thread safe, the code will be something like this.
IIRC, current QPA architecture doesn't allow to run code right before poll(2), so some trick may be needed.