That's sad to hear but when there are so many apps having the same behaviour it might be better to not restart desktop. I guess it would not be an option to build a list of "broken" apps that need to be restarted and to check if any of the listed apps is running? Kind of "killallbrokenqtcrap"