Bug 1396600 - virt-viewer-1.4.0 always scales the guest window 2x when run from Gnome wayland session on HiDPI screen
Summary: virt-viewer-1.4.0 always scales the guest window 2x when run from Gnome wayla...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Virtualization Tools
Classification: Community
Component: virt-viewer
Version: unspecified
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Daniel Berrangé
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-18 18:00 UTC by anton.gubarkov@gmail.com
Modified: 2016-11-24 05:02 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-11-24 05:02:05 UTC
Embargoed:


Attachments (Terms of Use)
screenshot of VM console (1.09 MB, image/png)
2016-11-18 18:00 UTC, anton.gubarkov@gmail.com
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Gentoo 599726 0 None None None 2016-11-18 18:06:49 UTC

Description anton.gubarkov@gmail.com 2016-11-18 18:00:34 UTC
Created attachment 1221927 [details]
screenshot of VM console

Description of problem:
I have a HiDPI screen (2880x1620) on my notebook. When I run Gnome on wayland, I have no control over the scaling of the virt-viewer. The VM window is always scaled 2x. I used to run my VMs pixel-to-pixel. 

Version-Release number of selected component (if applicable):


How reproducible: Always
 

Steps to Reproduce:
1.Run Gnome on wayland. 
2.Start the virt-manager and open the running vm in virt-viewer.
3.Observe the situation like in the attachment.


Actual results:
the VM screen is scaled 2x. Note the size of the screenshot (2880x1620) vs. the indicated resolution of the VM.

Expected results:
the VM screen scaling is controlled by the virt-viewer setting

Additional info:

Comment 1 anton.gubarkov@gmail.com 2016-11-18 18:04:24 UTC
When Gnome is run in X session, everything works fine.

Comment 2 anton.gubarkov@gmail.com 2016-11-24 05:02:05 UTC
upgrading to gtk+-3.22.4 fixes the issue with enourmous UI elements sizes on HiDPI display and also fixes the issue with 2x scaling of the graphical console.


Note You need to log in before you can comment on or make changes to this bug.