[Bug 1990] New: modifier keys not released when switching desktop
Wine Bugs
wine-bugs at winehq.org
Wed Feb 4 01:43:04 CST 2004
http://bugs.winehq.org/show_bug.cgi?id=1990
Summary: modifier keys not released when switching desktop
Product: Wine
Version: 20040121
Platform: PC
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: wine-x11driver
AssignedTo: wine-bugs at winehq.org
ReportedBy: raspl at gmx.de
Note: This bug requires a desktop with mutiple virtual ones. In this example, I
use KDE with 2 desktops. To switch between desktops on KDE, use <CRTL> + <FX>
with X being 1 or 2.
Use a 'managed' window for the app. The application might be any kind of text
editor or whatever.
The basic problem is: When you press a modifier key in the application, and do
something which makes you leave that desktop, the wine app does catch the
<CTRL>-is-pressed event, but does _not_ catch the <CTRL>-is-released event.
For instance, go into a wine app running on desktop 1, and press <CTRL> + <F2>.
By that you have switched the desktop to desktop 2. But the wine app did not
realize that <CTRL> was released. Depending upon how you return to the app, you
will either have <CTRL> locked or not: When returning to desktop 1 by clicking
on the respective desktop overview icon, the wine app still does not realize
that <CTRL> was released and think that <CTRL> is still being pressed. For
instance, if you hit 's' in the app, not an 's' is executed but <CTRL> + s
(which in most apps saves the current document).
But if you return to that desktop using <CTRL> + <F2> (and if the wine app is
still the active app on that desktop!), then the wine app catches the
<CTRL>-button-released event and wine will not think that <CTRL> is pressed
anymore: Hitting 's' will execute 's' and not <CTRL> + s
A solution would be to reset all modifier keys when the managed window of the
wine app is activated again.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the wine-bugs
mailing list