http://bugs.winehq.org/show_bug.cgi?id=12289
Summary: strange menu tracking confusion between keyboard and mouse Product: Wine Version: CVS/GIT Platform: All OS/Version: other Status: NEW Severity: normal Priority: P2 Component: user32 AssignedTo: wine-bugs@winehq.org ReportedBy: marcus@jet.franken.de
How to reproduce:
- start notepad - move the mouse over "Search", do not click - press alt-f to get the file menu
=> the file menu flickers open, but suddenly switches to the search menu.
It seems the menu code checks the mouse pointer even though it is not used for the menu activation.
http://bugs.winehq.org/show_bug.cgi?id=12289
Reece Dunn msclrhd@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |msclrhd@gmail.com
--- Comment #1 from Reece Dunn msclrhd@gmail.com 2008-03-30 05:42:26 --- I have tried this with versions 0.9.57, 0.9.58 and the latest git source and have not been able to reproduce the problem. I have also tried it on Windows with the same effect. Both of these are on laptops.
NOTE: Are you sure the mouse hasn't moved? Any slight movement will cause a mouse movement event, resulting in the focus moving to the menu item over the mouse cursor (in your example, the 'Search' menu).
http://bugs.winehq.org/show_bug.cgi?id=12289
--- Comment #2 from Marcus Meissner marcus@jet.franken.de 2008-03-30 05:50:04 --- i tried it on laptop (trackpad) and workstation (optical mouse), leaving the hands off the mouse/trackpad.
Its reproducible every time.
I am using kwin of KDE 3.5.7 as window manager.
http://bugs.winehq.org/show_bug.cgi?id=12289
--- Comment #3 from Reece Dunn msclrhd@gmail.com 2008-03-30 06:04:33 --- What are your window manager behaviour preferences?
I know that I have had strange menu behaviour due to window managers interacting with Wine. Have you tried running notepad in a Wine desktop, or letting Wine do the rendering of the controls? (NOTE: both of these options are on the 'Graphics' tab of winecfg.)
NOTE: I am running Ubuntu Gutsy (Gnome).
http://bugs.winehq.org/show_bug.cgi?id=12289
--- Comment #4 from Marcus Meissner marcus@jet.franken.de 2008-03-30 06:32:29 --- wine is always rendering the controls (i dont see how not to?)
In desktop mode the same behaviour appears.
http://bugs.winehq.org/show_bug.cgi?id=12289
--- Comment #5 from Marcus Meissner marcus@jet.franken.de 2008-03-30 06:40:13 --- as for window manager preferences, this is the standard kwin setup in openSUSE 10.3. I did not change the window management behaviour.
I am trying to bisect the regression. perhaps something obvious appears.
http://bugs.winehq.org/show_bug.cgi?id=12289
--- Comment #6 from Reece Dunn msclrhd@gmail.com 2008-03-30 06:44:06 ---
wine is always rendering the controls (i dont see how not to?)
s/controls/windows/
As for your problem, I don't know what is going on. I suspect that it is to do with the window manager, but don't have a KDE system to confirm this.
http://bugs.winehq.org/show_bug.cgi?id=12289
--- Comment #7 from Dmitry Timoshkov dmitry@codeweavers.com 2008-03-30 08:47:29 --- (In reply to comment #0)
How to reproduce:
- start notepad
- move the mouse over "Search", do not click
- press alt-f to get the file menu
=> the file menu flickers open, but suddenly switches to the search menu. It seems the menu code checks the mouse pointer even though it is not used for the menu activation.
Confirming. I see the same behaviour with Ubuntu 7.04 and Gnome.
http://bugs.winehq.org/show_bug.cgi?id=12289
--- Comment #8 from Marcus Meissner marcus@jet.franken.de 2008-03-30 09:15:24 --- bisect has converged on:
78de7e363b8b9aeb0b7adb1083186da4ae58899a is first bad commit commit 78de7e363b8b9aeb0b7adb1083186da4ae58899a Author: Alexandre Julliard julliard@winehq.org Date: Mon Mar 24 17:59:40 2008 +0100
winex11: Grab the pointer in menu tracking mode too.
:040000 040000 be85f7551910b643e019232c1cc4229743dbe11f cb7d2eef145a0ee3e3a0bf6c0c5702fb214a527a M dlls
http://bugs.winehq.org/show_bug.cgi?id=12289
--- Comment #9 from Austin English austinenglish@gmail.com 2008-03-30 13:58:26 --- (In reply to comment #7)
(In reply to comment #0)
How to reproduce:
- start notepad
- move the mouse over "Search", do not click
- press alt-f to get the file menu
=> the file menu flickers open, but suddenly switches to the search menu. It seems the menu code checks the mouse pointer even though it is not used for the menu activation.
Confirming. I see the same behaviour with Ubuntu 7.04 and Gnome.
Works fine in Kubuntu hardy (kde 4).
http://bugs.winehq.org/show_bug.cgi?id=12289
--- Comment #10 from Reece Dunn msclrhd@gmail.com 2008-03-30 14:22:03 --- I've reproduced this with the latest git (I checkout HEAD, not master) on my Ubuntu Gnome machine.
If I get the time, I'll write a test case for this.
http://bugs.winehq.org/show_bug.cgi?id=12289
--- Comment #11 from Reece Dunn msclrhd@gmail.com 2008-03-30 14:24:16 --- Sorry, I meant to say the last time, I checked out HEAD instead of specifying master, so I didn't originally test the latest git as I thought I did.
http://bugs.winehq.org/show_bug.cgi?id=12289
--- Comment #12 from Austin English austinenglish@gmail.com 2008-03-30 16:10:34 --- (In reply to comment #9)
Works fine in Kubuntu hardy (kde 4).
Cancel that, I ran notepad from wine 0.9.58, not git. I'm seeing this in git as well.
http://bugs.winehq.org/show_bug.cgi?id=12289
--- Comment #13 from Dmitry Timoshkov dmitry@codeweavers.com 2008-03-31 22:00:30 --- This bug should be fixed in today's git.
http://bugs.winehq.org/show_bug.cgi?id=12289
Marcus Meissner marcus@jet.franken.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #14 from Marcus Meissner marcus@jet.franken.de 2008-04-01 01:00:00 --- it is.
http://bugs.winehq.org/show_bug.cgi?id=12289
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #15 from Alexandre Julliard julliard@winehq.org 2008-04-04 10:06:07 --- Closing bugs fixed in 0.9.59.
http://bugs.winehq.org/show_bug.cgi?id=12289
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|CVS/GIT |unspecified
http://bugs.winehq.org/show_bug.cgi?id=12289
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Platform|All |Other
--- Comment #16 from Austin English austinenglish@gmail.com 2012-02-23 15:24:42 CST --- Removing deprecated 'All' Platform.