[Pkg-libvirt-maintainers] Bug#868687: Bug#868687: virt-viewer: HiDPI scaling affects rendered image too

Guido Günther agx at sigxcpu.org
Mon Jul 17 17:57:35 UTC 2017


Hi,
Hi,
On Mon, Jul 17, 2017 at 07:22:08PM +0200, Zoltán Döme wrote:
> Package: virt-viewer
> Version: 5.0-1
> Severity: normal
> 
> Dear Maintainer,
> 
> GNOME's window scaling for hidpi displays resizes the vm's rendered
> image too. With a scaling factor of 2 in gnome if I start with 50% zoom
> (virt-viewer -z 50) I get sharp picture, but huge mouse cursor.
> 
> Starting with GDK_SCALE=1 env var, the image will not be stretched,
> mouse cursor size is normal, but it results in some minimal size
> inconsistencies. This means that UI font sizes are as expected, but
> buttons are noticably smaller than in other applications.
> 
> Seems like virt-manager and gnome-boxes have the same problem.

Thanks for testing these too. Are you using spice or vnc? In any case it
would be best if you would report these bugs upstream at either

vnc:

    https://bugzilla.gnome.org/buglist.cgi?quicksearch=product%3A%22gtk-vnc%22%20

or spice:

    https://bugs.freedesktop.org/buglist.cgi?component=spice-gtk&list_id=281013&product=Spice&resolution=---

I can play the MITM but I think this would only slow down things. I'd be
great to keep this bug in cc:.
Cheers,
 -- Guido

> 
> 
> -- System Information:
> Debian Release: buster/sid
>   APT prefers unstable
>   APT policy: (500, 'unstable')
> Architecture: amd64 (x86_64)
> Foreign Architectures: i386
> 
> Kernel: Linux 4.11.0-1-amd64 (SMP w/8 CPU cores)
> Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8),
> LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
> Init: systemd (via /run/systemd/system)
> 
> Versions of packages virt-viewer depends on:
> ii  libatk1.0-0                 2.24.0-1
> ii  libc6                       2.24-12
> ii  libcairo-gobject2           1.14.10-1
> ii  libcairo2                   1.14.10-1
> ii  libgdk-pixbuf2.0-0          2.36.5-2
> ii  libglib2.0-0                2.52.3-1
> ii  libgovirt2                  0.3.4-2
> ii  libgtk-3-0                  3.22.16-1
> ii  libgtk-vnc-2.0-0            0.6.0-3
> ii  libgvnc-1.0-0               0.6.0-3
> ii  libpango-1.0-0              1.40.6-1
> ii  libpangocairo-1.0-0         1.40.6-1
> ii  librest-0.7-0               0.8.0-2
> ii  libsoup2.4-1                2.56.0-2
> ii  libspice-client-glib-2.0-8  0.33-3.3
> ii  libspice-client-gtk-3.0-5   0.33-3.3
> ii  libvirt-glib-1.0-0          1.0.0-1
> ii  libvirt0                    3.5.0-1
> ii  libxml2                     2.9.4+dfsg1-3
> 
> virt-viewer recommends no packages.
> 
> Versions of packages virt-viewer suggests:
> ii  netcat-openbsd [netcat]      1.178-2
> ii  netcat-traditional [netcat]  1.10-41.1
> 
> -- no debconf information
> 
> _______________________________________________
> Pkg-libvirt-maintainers mailing list
> Pkg-libvirt-maintainers at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-libvirt-maintainers
> 



More information about the Pkg-libvirt-maintainers mailing list