Unfortunately the sleep workaround doesn't work anymore in newer libgtk version (e.g. in Ubuntu 18.04). Unity and GNOME are now also affected. And in some cases some special key combination in 16.04 also lead to the same error (e.g. Ctl+Alt+Shift+H)
Reopening this issue again. Seems error is still the same it just occurs more often.
Unfortunately the sleep workaround doesn't work anymore in newer libgtk version (e.g. in Ubuntu 18.04). Unity and GNOME are now also affected. And in some cases some special key combination in 16.04 also lead to the same error (e.g. Ctl+Alt+Shift+H)
Reopening this issue again. Seems error is still the same it just occurs more often.