[Bug 29748] New: mouse doesn't work after fullscreen window goes away
http://bugs.winehq.org/show_bug.cgi?id=29748 Bug #: 29748 Summary: mouse doesn't work after fullscreen window goes away Product: Wine Version: 1.4-rc1 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: major Priority: P2 Component: winex11.drv AssignedTo: wine-bugs(a)winehq.org ReportedBy: bailey937(a)yahoo.com Classification: Unclassified I have an in-house windows app. It's an image viewer that creates a full-screen window to do slideshows. When you exit the slideshow, the mouse works fine in the windows app's window, but it doesn't work anywhere else on the linux desktop. If you alt+tab away from the windows app, then the mouse starts working everywhere again. I've had this problem in various environments under ubutnu, including unity 3d and lubuntu. The weird thing is I can't reproduce it in fedora 16 under lxde. Also, I tried crossover on ubuntu (lubuntu 11.10), and it doesn't do it either. I was able to fix it for myself by doing this in mouse.c (in wine-1.4-rc1) BOOL clip_fullscreen_window( HWND hwnd, BOOL reset ) { struct x11drv_win_data *data; struct x11drv_thread_data *thread_data; RECT rect; DWORD style; /* HACK? */ return FALSE; I think what's happening is wine is making an invisible window and grabs the pointer to it, and wine doesn't get rid of this window or ungrab the pointer when it's supposed to. My app works fine without this behavior (works fine if clip_fullscreen_window() always returns false). -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=29748 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|major |minor --- Comment #1 from Alexandre Julliard <julliard(a)winehq.org> 2012-01-30 12:21:38 CST --- Can the app be made available for download? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=29748 --- Comment #2 from bailey937(a)yahoo.com 2012-01-30 15:55:23 CST --- Created attachment 38609 --> http://bugs.winehq.org/attachment.cgi?id=38609 program for reproducing bug 29748 Here is a simple win32 program with source that reproduces the bug. See README_fstest.txt for a description of how to use it. In short, if you run it and then left click in the main window, it will create a fullscreen black window. If you right click in the full screen black window, it will hide the fullscreen black window. At that point, the mouse should not work if you click on other X windows. I've verified that it causes the problem on my computer (Ubuntu 11.10) with Unity 3D and also with Lubuntu (my normal environment). -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=29748 --- Comment #3 from bailey937(a)yahoo.com 2012-01-31 04:26:49 CST --- Created attachment 38617 --> http://bugs.winehq.org/attachment.cgi?id=38617 executable for test program for reproducing bug 29748 Here is the executable for the test program in case you don't feel like or need to build the source in the previous attachment. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=29748 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, testcase -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=29748 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |a534925a4817cf5afa8fd692f95 | |02c91c95ad58b Status|UNCONFIRMED |RESOLVED Resolution| |FIXED --- Comment #4 from Alexandre Julliard <julliard(a)winehq.org> 2012-01-31 14:07:54 CST --- Fixed by a534925a4817cf5afa8fd692f9502c91c95ad58b. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=29748 --- Comment #5 from bailey937(a)yahoo.com 2012-01-31 15:13:25 CST --- I put the new mouse.c from the wine git web site in my 1.4rc-1 tree and built it. I still see the bug with my app and with the test program. It looks like you disabled the clipping/capture only if xinput2 isn't available, but I do have xinput2. So I am still having the problem. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=29748 --- Comment #6 from Alexandre Julliard <julliard(a)winehq.org> 2012-01-31 15:37:35 CST --- There's no full screen clipping without xinput2. It sounds like you are not looking at the right commit. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=29748 --- Comment #7 from bailey937(a)yahoo.com 2012-01-31 15:56:39 CST --- Yes, I had the wrong commit. I'm sorry. I copied the new window.c with your fix to reset clipping when a fullscreen window is unmapped into my tree and it works. Thanks! -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=29748 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #8 from Alexandre Julliard <julliard(a)winehq.org> 2012-02-02 13:37:40 CST --- Closing bugs fixed in 1.4-rc2. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
participants (1)
-
wine-bugs@winehq.org