Received: from eggs.gnu.org ([2001:4830:134:3::10]:56707) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ze6PW-0006Ei-QV for qemu-devel@nongnu.org; Mon, 21 Sep 2015 15:05:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ze6PR-0007VA-QT for qemu-devel@nongnu.org; Mon, 21 Sep 2015 15:05:58 -0400 Received: from mail-vk0-x22b.google.com ([2607:f8b0:400c:c05::22b]:33525) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ze6PR-0007Ti-JO for qemu-devel@nongnu.org; Mon, 21 Sep 2015 15:05:53 -0400 Received: by vkgd64 with SMTP id d64so71564899vkg.0 for ; Mon, 21 Sep 2015 12:05:52 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Programmingkid In-Reply-To: Date: Mon, 21 Sep 2015 15:05:49 -0400 Content-Transfer-Encoding: quoted-printable Message-Id: <9767ED9E-4348-4147-9AC7-54F3708233C8@gmail.com> References: <9DF0F231-EC7E-4339-8C28-6B1199BF93FD@gmail.com> Subject: Re: [Qemu-devel] [PATCH] ui/cocoa.m: remove open dialog code List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: =?iso-8859-1?Q?Andreas_F=E4rber?= , qemu-devel qemu-devel On Sep 21, 2015, at 3:01 PM, Peter Maydell wrote: > On 19 September 2015 at 08:01, Programmingkid = wrote: >>=20 >> On Sep 19, 2015, at 10:58 AM, Peter Maydell wrote: >>> By the way, I don't mean that I'm completely opposed to the >>> idea of dropping the open-dialog. I'd just like to hear >>> some input from other people who care about OSX QEMU >>> rather than just you and me. >>=20 >> Who else is there? >=20 > Andreas had some feedback on IRC. >=20 > I've thought about this a bit and: >=20 > (1) this "open-dialog if no command line arguments" is really QEMU > trying to provide features that ought to be in a virt-manager > type wrapper, not in QEMU proper. So that's one argument for > dropping it. A proper wrapper VM manager program would obviously > launch its VM management GUI window if started via the GUI (or > would have VM config files that it would associate to itself and > run if the files were clicked). >=20 > (2) Dropping the dialog box brings the OSX UI code closer into > line with the other UI frontends. That means that at some point > in the future we could maybe restructure it so it doesn't have > the weird "UI's main function takes control at startup" structure, > and we can just init the UI in the same way the other UIs do. >=20 > (3) if we don't drop it, we should probably only have it when > we don't see the magic argument that means "we got invoked by > somebody double-clicking the app in Finder". >=20 > Currently I'm leaning towards "yes, just drop the dialog box > completely". Great to hear.=