[Bug 40697] New: Mouse grab is not released when video in Firefox exits fullscreen mode

wine-bugs at winehq.org wine-bugs at winehq.org
Sat May 28 08:26:34 CDT 2016


https://bugs.winehq.org/show_bug.cgi?id=40697

            Bug ID: 40697
           Summary: Mouse grab is not released when video in Firefox exits
                    fullscreen mode
           Product: Wine
           Version: 1.9.6
          Hardware: x86
               URL: http://firefox.com
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: user32
          Assignee: wine-bugs at winehq.org
          Reporter: b7.10110111 at gmail.com
      Distribution: ---

To reproduce (tested on Firefox 46):

1. Install Firefox in clean Wine prefix
2. Make sure you have single-monitor setup (turn off extra monitors if you have
them active (by using xrandr --output XXXX --off))
3. Maximize Firefox window
4. Open a video in Firefox, e.g. on Youtube
5. Press the bottom-right button in video window ("fullscreen")
6. In the full screen video, click somewhere (this will pause the video and
make its window active; after this mouse pointer will be grabbed)
7. Press Esc to exit fullscreen mode
8. Try to press anything outside Firefox window, e.g. buttons on the window
decoration (I checked with KWin and XFWM)
9. See no reaction

Now if you press e.g. Alt+Tab or make some other window active (e.g. Yakuake
via F12), everything is clickable again.

If you instead log in via SSH to the machine and execute

xdotool key XF86LogGrabInfo

there (having set DISPLAY environment variable to the correct value), you'll
have /var/log/Xorg.?.log contain something like

(II) Printing all currently active device grabs:
Active grab 0x1400000 (core) on device 'Virtual core pointer' (2):
      client pid 21253 drive_c/Firefox/firefox.exe                              
      at 697727745 (from active grab) (device thawed, state 1)
        core event mask 0x4c
      owner-events false, kb 1 ptr 1, confine e00001, cursor 0x0
(II) End list of active device grabs

All this means Firefox doesn't release mouse pointer grab on exit from full
screen mode. There's no such problem with native Firefox for Linux.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list