Received: from eggs.gnu.org ([2001:4830:134:3::10]:51495) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YLlc5-0000Os-OJ for qemu-devel@nongnu.org; Wed, 11 Feb 2015 23:42:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YLlc0-0006yl-N0 for qemu-devel@nongnu.org; Wed, 11 Feb 2015 23:42:53 -0500 Received: from mail-qa0-x229.google.com ([2607:f8b0:400d:c00::229]:55969) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YLlc0-0006yb-Im for qemu-devel@nongnu.org; Wed, 11 Feb 2015 23:42:48 -0500 Received: by mail-qa0-f41.google.com with SMTP id x12so6130040qac.0 for ; Wed, 11 Feb 2015 20:42:48 -0800 (PST) Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Programmingkid In-Reply-To: Date: Wed, 11 Feb 2015 23:42:45 -0500 Content-Transfer-Encoding: quoted-printable Message-Id: <089B46B3-629E-4F86-8413-9567E286D031@gmail.com> References: Subject: Re: [Qemu-devel] [PATCH v3] Fixes several full screen issues on Mac OS X List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: qemu-devel qemu-devel On Feb 11, 2015, at 10:06 PM, Peter Maydell wrote: > On 21 January 2015 at 19:25, Programmingkid = wrote: >> This patch makes several changes: >> - Minimizes distorted full screen display by respecting aspect >> ratios. >> - Makes full screen mode available on Mac OS 10.7 and higher. >> - Allows user to decide if video should be stretched to fill the >> screen, using a menu item called "Zoom To Fit". >> - Hides the normalWindow so it won't show up in full screen mode. >> - Allows user to exit full screen mode. >>=20 >> Signed-off-by: John Arbuckle >>=20 >> --- >> Changes in version 2: >> - Completely rewritten. >> - Eliminated depreciated API's. >> - Does not change host monitor resolution. >>=20 >> Change in version 3: >> - Fixed full screen window not receiving mouse moved events. >=20 > Thanks; this patch seems to make fullscreen work pretty well > for me. Some oddities I noticed: >=20 > (1) This doesn't enable the green "fullscreen" button in > OSX 10.9.5, so you have to fullscreen via the menu. That > seems a shame, but if it's too hard to implement I can > live without it. I don't use Mac OS 10.9, so I don't know how to implement it=20 right now. But it could be implemented in its own patch later.=20 >=20 > (2) Maybe zoom-to-fit should be the default? I think that's > how we handle fullscreen on other UIs, and it seems like the > most intuitive thing for it to do. Zoom To Fit makes the screen look weird and text unreadable.=20 I would prefer to have the full screen look good in full screen. >=20 > (3) If you are fullscreened then the only way to get out of it > seems to be to first hit ctrl+alt to get out of the mouse > grab, and then command-F to un-fullscreen. This isn't very > obvious, but I can't think of a better thing right now so > I guess it's OK. That is the way to do it. If we designate one of the keys on the=20 keyboard as the "Get out of full screen" button, we would not=20 be able to use it in the guest.=20 >=20 > Otherwise the patch itself looks good. Thank you. >=20 > A non-fullscreen related bug I noticed: >=20 > (4) if you have the mouse grabbed and use ctrl-up to enter Expose > (or whatever Apple call that "show all the virtual desktops" > mode) we don't un-grab the mouse. We should either release the > grab or not let OSX steal ctrl-up when grabbed. This isn't > a fullscreen related thing, though, so nothing to do with this > patch; I just happened to spot it while testing this. I haven't used control-up to use expose. It was always one of the = function keys for me.=