adjusting volume (notify osd) causes fullscreen mode to exit when watching video

Bug #1477308 reported by Bill Filler
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
webbrowser-app (Ubuntu)
Fix Released
Medium
Ugo Riboni

Bug Description

running webbrowser trunk on desktop
1) play youtube video in browser and press the fullscreen button
2) adjust the computer volume using keyboard, this causes notify osd to be displayed

expected results:
video keeps playing in fullscreen mode

actual results:
video exits fullscreen mode and keeps playing

Tags: convergence

Related branches

Bill Filler (bfiller)
tags: added: convergence
Changed in webbrowser-app (Ubuntu):
assignee: nobody → Olivier Tilloy (osomon)
Olivier Tilloy (osomon)
Changed in webbrowser-app (Ubuntu):
status: New → Confirmed
importance: Undecided → Medium
Revision history for this message
Ugo Riboni (uriboni) wrote :

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.

Ugo Riboni (uriboni)
Changed in webbrowser-app (Ubuntu):
assignee: Olivier Tilloy (osomon) → Ugo Riboni (uriboni)
status: Confirmed → In Progress
Revision history for this message
Olivier Tilloy (osomon) wrote :

As I suspected, this appears to be a bug in notify-osd, which briefly steals focus for synchronous notifications: bug #694224.
I’m not convinced we should work around the issue in the browser app (it affects every single app that reacts to focus changes). Rather, it should be fixed in notify-osd.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package webbrowser-app - 0.23+15.10.20150814-0ubuntu1

---------------
webbrowser-app (0.23+15.10.20150814-0ubuntu1) wily; urgency=medium

  [ CI Train Bot ]
  * New rebuild forced.
  * Resync trunk.

  [ Ugo Riboni ]
  * Delay the exit from fullscreen mode until focus remains lost for a
    certain amount of time. (LP: #1477308)
  * Disable find in page when the new tab view is active. (LP: #1483847)

 -- CI Train Bot <email address hidden> Fri, 14 Aug 2015 09:25:42 +0000

Changed in webbrowser-app (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.