From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:41558) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1enhFm-0006Jd-Oh for qemu-devel@nongnu.org; Mon, 19 Feb 2018 03:56:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1enhFj-0008KO-OA for qemu-devel@nongnu.org; Mon, 19 Feb 2018 03:56:54 -0500 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:43294 helo=mx1.redhat.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1enhFj-0008KA-KB for qemu-devel@nongnu.org; Mon, 19 Feb 2018 03:56:51 -0500 Date: Mon, 19 Feb 2018 09:56:48 +0100 From: Gerd Hoffmann Message-ID: <20180219085648.kgkeo36adbk2tp6g@sirius.home.kraxel.org> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: Re: [Qemu-devel] Qemu SDL2 bug List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Howard Spoelstra Cc: Thomas Huth , qemu-devel qemu-devel On Mon, Feb 19, 2018 at 08:58:51AM +0100, Howard Spoelstra wrote: > On Mon, Feb 19, 2018 at 8:09 AM, Thomas Huth wrote: > > On 18.02.2018 11:11, Howard Spoelstra wrote: > >> Hi, > >> > >> I'd like to report a bug when using the SDL2 GUI in both Linux and > >> Windows, which can be observed with in my case latest qemu-system-ppc > >> running parallel instances of OSX 10.4 and 10.3. > >> > >> After switching back and forth between GUIs, dragging becomes copying, > >> keyboard starts using a strange character set. > >> An additional "Alt" key press is needed to restore normal behaviour. > > > > Hi, > > > > how do you switch back and forth between GUIs? Using the mouse or a > > keystroke? I guess the latter ... sounds like the Alt key could be > > "stuck" in the guest? > > > > Thomas > > Hi, > > With SDL, unlike GTK, the mouse does not move outside the window. So I > have to use Ctrl-Alt-G to release focus and then click in the other > window. After two switches the reported issue occurs. Indeed, the Alt > key seems to go into a state in which it is stuck. When trying to > exclude my own keyboard being at fault, I've also noticed the right > Alt key on my keyboard cannot be used for the release. Which qemu version? There have been a bunch of SDL2 fixes in the 2.12 devel cycle already, so if you are on 2.11 still please try git master and see whenever that improves things. cheers, Gerd