Bug 550672 - Virt-viewer scales the guest display on full screen but it’s not stretched.
Summary: Virt-viewer scales the guest display on full screen but it’s not stretched.
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: virt-viewer
Version: 14
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Daniel Berrangé
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-12-26 18:50 UTC by Panormitis Petrou
Modified: 2012-04-18 12:16 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-04-18 12:16:44 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Panormitis Petrou 2009-12-26 18:50:28 UTC
Virt-viewer on Fedora 12 scales the guest display on full-screen, however when the host is using a wide-screen resolution (for example 1920x1200), the guest will be scaled but not stretched, therefore left & right black bars will appear.

Steps to reproduce:
1. On a Fedora 12 host with a wide-screen resolution (for example 1920x1200), use virt-manager to create a linux or windows virtual machine, (personally I created a Fedora 12 guest).

2. The guest display's maximum resolution will be 1024x768. Click View -> Fullscreen.

3. The guest display will be scaled but it won’t be stretched, because the host is using a wide-screen resolution.

Actual results:
The guest display is scaled on full-screen but not stretched.

Expected results:
The guest display should be stretched on full-screen, when the host is using a wide-screen resolution. This was working correctly in the past.

Comment 1 Daniel Berrangé 2010-01-04 12:01:14 UTC
I don't think this is quite so clear-cut. Stretching from a 3:4 ratio to 16:9 is very noticeable and I don't think its particularly good for human interaction to have all guest application UIs distorted in this manner. That said I can understand why people might also not like having black bars. So neither option can make everyone happy.

In F12, the scaling mode in non-fullscreen changed so that it attempts to preserve aspect ratio whenever scaling is used. The fullscreen mode is literally intended to simply remove the window manager furniture (and in future the menu bar too), thus switching to fullscreen should not change the scaling mode  by default.

Thus I think we have no option but to introduce a persistent config preference, to allow users to indicate whether they prefer fixed aspect ratio, or stretched displays.

Comment 2 Panormitis Petrou 2010-01-04 16:53:39 UTC
Ok, If there is going to be an option to let the user decide, if he/she prefers a scaled or stretched screen, sounds good to me.

Comment 3 Bug Zapper 2010-11-04 02:28:30 UTC
This message is a reminder that Fedora 12 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 12.  It is Fedora's policy to close all
bug reports from releases that are no longer maintained.  At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '12'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 12's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 12 is end of life.  If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora please change the 'version' of this 
bug to the applicable version.  If you are unable to change the version, 
please add a comment here and someone will do it for you.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 4 Daniel Berrangé 2012-04-18 12:16:44 UTC
If using SPICE graphics for a guest with the SPICE agent installed, virt-viewer will now automatically adjust the guest resolution to match the host resolution when full screen. So the entire argument about whether to preserve aspect ratio when scaling for full screen becomes somewhat irrelevant. I propose to not make any changes discussed here, on the basis that SPICE is the future, obsoleting VNC.


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