After some investigation it does appear that whenever the volume keys are pressed the application loses focus (i.e. Qt.application.state is not Qt.ApplicationActive any more).
This is not a Qt-specific behavior, as I tested with a simple gtk+3 application and pressing the volume keys causes it to briefly lose and regain focus too. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1477308 Title: adjusting volume (notify osd) causes fullscreen mode to exit when watching video To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/webbrowser-app/+bug/1477308/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs