From: Anthony Liguori <anthony@codemonkey.ws>
To: Kevin Wolf <kwolf@redhat.com>
Cc: qemu-devel@nongnu.org, Alex Graf <agraf@suse.de>
Subject: Re: [Qemu-devel] [PATCH 0/6] Add GTK UI to enable basic accessibility
Date: Mon, 20 Feb 2012 08:04:24 -0600 [thread overview]
Message-ID: <4F4252E8.7080501@codemonkey.ws> (raw)
In-Reply-To: <4F4239F4.4060005@redhat.com>
On 02/20/2012 06:17 AM, Kevin Wolf wrote:
> Am 20.02.2012 00:44, schrieb Anthony Liguori:
>> I'm not attempting to make a pretty desktop virtualization UI. Maybe we'll go
>> there eventually but that's not what this series is about.
>>
>> This is just attempting to use a richer toolkit such that we can enable basic
>> accessibility support. As a consequence, the UI is much more usable even for a
>> user without accessibility requirements so it's a win-win.
>
> It's not quite obvious what the build dependencies are. In my case I had
> to install vte-devel. Especially if we're going to make it the default,
> I think configure should print a helpful warning. (In fact, SDL has the
> same problem and I have answered too many questions of users that
> wondered why no window appeared, not understanding that they built only
> VNC).
Ok, I'll try to do something here.
> I think the series is a good start, just some random thoughts and things
> that I noticed:
>
> * git complains about some trailing whitespace
Ack.
> * Half of the menu entries appears to be translated by the libraries
> used. Give me something that is all German or something that is all
> English. Mixed languages looks unprofessional.
This is because of the use of stock items. I can overload the labels and force
english menu names. I can also add some basic internationalization and make
greater use of stock item names.
I would actually prefer the later approach although practically speaking, the
monitor would remain in English. Would this seem awkward?
What's preferable for non-native English speakers?
> * Ctrl-Alt-= as shortcut for Zoom In isn't easy to remember and only
> makes some sense on a US keyboard layout.
There doesn't appear to be a stock accelerator for Zoom in GTK. Firefox
advertises Ctrl-+ as the zoom in accelerator but apparently accepts Ctrl-+ or
Ctrl-=.
I'd be happy with just doing Ctrl-Alt-+. It's a little more awkward to type but
that seems to be the standard.
> * The monitor display size always has the same size as the VGA tab now.
> That can be quite small in text mode and you can't resize any more.
This should be fixable. It will just take a little logic.
> * The window has a button for maximising, but it doesn't really do
> anything.
This is your Window Manager. We call gtk_window_set_resizable(False) and that
should cause the maximize button to disappear. Indeed, if you look at the
screenshots I posted, there isn't a maximize button.
> * Ctrl-PgDn/PgUp does change the tab as I expected on VGA, it's ignored
> by the monitor and the serial0 tabs.
This is something that probably needs some work. Right now we propagate all key
presses which is what allows the accelerators to work. What we probably should
do is check the key presses against only the accelerators we want to work and
propagate those.
This is a bit tricky though. The end effect would be that Ctrl-PgDn would stop
working on the VGA tab. I think this is expected behavior.
> parallel0 segfaults on any key
> press.
Curious, I'll look into this.
>
> * When the tab bar is enables, the cursor up key in the VGA tab selects
> the tab bar. It also is sent to the guest the first time, but when
> the tab bar is selected, the guest doesn't get any input any more.
> Makes it rather hard to use the shell history in the guest.
Yeah, this is the result of always propagating key presses. I'll look into this
a bit more.
Thanks for the feedback!
Regards,
Anthony Liguori
>
> Kevin
>
next prev parent reply other threads:[~2012-02-20 14:04 UTC|newest]
Thread overview: 47+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-19 23:44 [Qemu-devel] [PATCH 0/6] Add GTK UI to enable basic accessibility Anthony Liguori
2012-02-19 23:44 ` [Qemu-devel] [PATCH 1/6] console: allow VCs to be overridden by UI Anthony Liguori
2012-02-20 9:17 ` Gerd Hoffmann
2012-02-20 13:45 ` Anthony Liguori
2012-02-20 13:59 ` Gerd Hoffmann
2012-02-20 14:11 ` Anthony Liguori
2012-02-20 14:27 ` Gerd Hoffmann
2012-02-20 15:10 ` Anthony Liguori
2012-02-19 23:45 ` [Qemu-devel] [PATCH 2/6] ui: add basic GTK gui Anthony Liguori
2012-02-20 20:45 ` Stefan Weil
2012-02-21 0:20 ` Anthony Liguori
2012-02-19 23:45 ` [Qemu-devel] [PATCH 3/6] gtk: add virtual console support Anthony Liguori
2012-02-20 21:13 ` Stefan Weil
2012-02-25 16:21 ` Stefan Weil
2012-02-25 19:49 ` Anthony Liguori
2012-02-25 20:22 ` Stefan Weil
2012-02-25 21:18 ` Anthony Liguori
2012-02-19 23:45 ` [Qemu-devel] [PATCH 4/6] gtk: add support for input grabbing Anthony Liguori
2012-02-20 0:09 ` Anthony Liguori
2012-02-19 23:45 ` [Qemu-devel] [PATCH 5/6] gtk: add support for screen scaling and full screen Anthony Liguori
2012-02-20 7:41 ` Paolo Bonzini
2012-02-20 13:45 ` Anthony Liguori
2012-02-25 15:49 ` Stefan Weil
2012-02-19 23:45 ` [Qemu-devel] [PATCH 6/6] gtk: make default UI Anthony Liguori
2012-02-20 0:15 ` Roy Tam
2012-02-20 1:10 ` Anthony Liguori
2012-02-20 1:50 ` Roy Tam
2012-02-20 2:22 ` Anthony Liguori
2012-02-20 2:24 ` Brad Smith
2012-02-20 2:44 ` Anthony Liguori
2012-02-20 2:50 ` Roy Tam
2012-02-20 2:52 ` Brad Smith
2012-02-20 3:04 ` Anthony Liguori
2012-02-20 14:06 ` Stefano Stabellini
2012-02-20 14:07 ` Anthony Liguori
2012-02-20 14:44 ` Stefano Stabellini
2012-02-20 14:46 ` Roy Tam
2012-02-19 23:59 ` [Qemu-devel] [PATCH 0/6] Add GTK UI to enable basic accessibility Anthony Liguori
2012-02-20 12:17 ` Kevin Wolf
2012-02-20 12:47 ` Kevin Wolf
2012-02-20 14:08 ` Anthony Liguori
2012-02-20 14:04 ` Anthony Liguori [this message]
2012-02-20 14:33 ` Kevin Wolf
2012-02-25 17:02 ` Stefan Weil
2012-02-25 20:11 ` Anthony Liguori
2012-02-25 21:15 ` Stefan Weil
2012-02-25 21:47 ` [Qemu-devel] Very small VGA window sizes (was: Re: [PATCH 0/6] Add GTK UI to enable basic accessibility) Stefan Weil
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=4F4252E8.7080501@codemonkey.ws \
--to=anthony@codemonkey.ws \
--cc=agraf@suse.de \
--cc=kwolf@redhat.com \
--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).