<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.6944.0">
<TITLE>RE: alt-tab task switching form a wine app</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<BR>
<BR>
<BR>

<P><FONT SIZE=2>-----Original Message-----<BR>
From: wino@piments.com [<A HREF="mailto:wino@piments.com">mailto:wino@piments.com</A>]<BR>
Sent: Fri 10/28/2005 3:11 PM<BR>
To: Anthony R. Tuel; wine-devel@winehq.org<BR>
Subject: Re: alt-tab task switching form a wine app<BR>
<BR>
On Thu, 27 Oct 2005 22:16:23 +0200, Anthony R. Tuel &lt;atuel@tuel.org&gt; wrote:<BR>
<BR>
&gt; It seems when I have an app up running under wine (lotus notes 6.5.4 in&nbsp;<BR>
&gt; my case) and I switch to another app (using a gaim messaging window in&nbsp;<BR>
&gt; my case) using alt tab, when I come back to my notes window its as if&nbsp;<BR>
&gt; I'm still holding the alt key.&nbsp; Not sure if this happens in other apps,&nbsp;<BR>
&gt; but its really noticible in notes since it uses the alt key for all&nbsp;<BR>
&gt; sorts of keyboard shortcuts.&nbsp; So if i'm writing a new email in notes,&nbsp;<BR>
&gt; someone sends me an IM, I alt-tab switch over to gaim, when I switch&nbsp;<BR>
&gt; back to notes and want to hit enter for a new line, it brings up the&nbsp;<BR>
&gt; font properties windows (alt+enter being the font properties shortcut).&nbsp;&nbsp;<BR>
&gt; This seems to happen with both 20050930 and the .9 releases at least.&nbsp;&nbsp;<BR>
&gt; Has anyone else seen this issue?<BR>
<BR>
No idea , dont use Notes/Lotus but I would guess it is picking up the fact&nbsp;<BR>
that the alt-key is still down when it get the focus back and taking it as&nbsp;<BR>
a keypress.<BR>
<BR>
It is not std bahaviour to take that as a keydown event but I would try to&nbsp;<BR>
get out of it as you would if you pressed the alt in the app and then&nbsp;<BR>
changed your mind. (Esc. Cntl_C , I dont know Notes.)<BR>
<BR>
That is assuming you have a problem with it. If you are just curious about&nbsp;<BR>
why, I think the answer is the non-std way it is handing key-states.<BR>
<BR>
HTH.<BR>
<BR>
<BR>
------------------------<BR>
<BR>
I can escape my way out of it by pressing escape though that escape event also translates into whatever the action would by if the alt key wasnt in the picture.So if you were writing a new note and pressed escape, it would attempt to close the note.&nbsp; Alternatively, you can hit alt-alt to cancel it which is slightly less anoying but none the less still annoying.<BR>
<BR>
I did notice one other thing on this.&nbsp; Alt-down event (without tab) in notes displays many short cut reminders.&nbsp; It will place little tags over vaiour buttons on the screen to say alt-buttonx will activate that button.&nbsp; For example, it places a &quot;1&quot; over the Send button (among other things) when composing a new note to indicate pressing alt-1 will send the note.&nbsp; The corresponding alt-up event will hide the short cut reminders and leave the file menu highlighted (as expected).&nbsp; Then pressing alt again will cacnel out that highlight of the file menu.<BR>
<BR>
Under real windows, the behaviour is different.&nbsp; Alt-tabing away from notes, and then comming back to it leaves notes as if nothing was ever pushed.&nbsp; It does briefly display the&nbsp; shorcut reminders but by the time I switch back to the notes window, there is no sign of alt ever being pressed.<BR>
<BR>
</FONT>
</P>

</BODY>
</HTML>