qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Cole Robinson <crobinso@redhat.com>
To: Peter Maydell <peter.maydell@linaro.org>,
	Gerd Hoffmann <kraxel@redhat.com>
Cc: Cedric Sodhi <ManDay@gmx.net>, QEMU Developers <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] Fullscreen Bug with GTK
Date: Thu, 09 Oct 2014 13:30:00 -0400	[thread overview]
Message-ID: <5436C618.90703@redhat.com> (raw)
In-Reply-To: <CAFEAcA_TV8ir6N2SKd2Rvt8F=SKKwkCXSK6wmQMjdqe1f48J=w@mail.gmail.com>

On 10/06/2014 07:24 AM, Peter Maydell wrote:
> On 6 October 2014 11:28, Gerd Hoffmann <kraxel@redhat.com> wrote:
>> On Mo, 2014-10-06 at 12:14 +0200, Cedric Sodhi wrote:
>>> The reporter explicitly mentioned that removing the Menu disables the
>>> Accels and therefore he has provided a patch which attaches the Accels
>>> to the Window instead (which, in fact, is how it should be done).
>>
>> Oh, missed that detail.  /me recommends submitting the patches to
>> qemu-devel then (and cc me so I don't miss them).
> 
> ...with the appropriate signed-off-by lines, which are
> missing from the patch in the bug.
> 

The patches in the original report were not meant to be submitted as is, and
instead I hoped it would start a discussion, because they depend on APIs only
available with gtk3.8, and the fallback loses some usefulness.

Also the example patch isn't complete, since I think we would want to install
all the accelerators on the parent window, rather than just the fullscreen
one. Then in fullscreen mode, every accelerator would continue to work, which
matches SDL behavior IIRC. I think if someone fleshed out my patch examples it
should be fine for them to use their own Signed-off-by. I don't have any plans
to submit a patch myself in the short term.

Also there's other possible approaches. Like disabling accelerators entirely
when in fullscreen mode, and instead use a hiding toolbar like virt-manager
and virt-viewer do. danpb pointed out that gtk 3.10 has a GtkRevealer widget
that could probably be used for that without having to import the autodrawer
code that virt-viewer uses.

- Cole

  parent reply	other threads:[~2014-10-09 17:30 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-04  8:18 [Qemu-devel] Fullscreen Bug with GTK Cedric Sodhi
2014-10-06  8:06 ` Gerd Hoffmann
2014-10-06  9:14   ` Dr. David Alan Gilbert
2014-10-06  9:40     ` Gerd Hoffmann
2014-10-06 10:14   ` Cedric Sodhi
2014-10-06 10:28     ` Gerd Hoffmann
2014-10-06 11:24       ` Peter Maydell
2014-10-06 12:00         ` Cedric Sodhi
2014-10-09 17:30         ` Cole Robinson [this message]
2014-10-09 20:13           ` Cedric Sodhi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5436C618.90703@redhat.com \
    --to=crobinso@redhat.com \
    --cc=ManDay@gmx.net \
    --cc=kraxel@redhat.com \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).