Bug 513949

Summary: virt-manager scaling should maintain the aspect ratio of the display
Product: [Fedora] Fedora Reporter: gegio0
Component: virt-managerAssignee: Daniel Berrangé <berrange>
Status: CLOSED UPSTREAM QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: medium    
Version: rawhideCC: berrange, crobinso, hbrock, markmc, virt-maint
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-12-03 23:52:36 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 498969    
Attachments:
Description Flags
my guest at fullscreen w/o scale
none
my guest at fullscreen w/ scale none

Description gegio0 2009-07-27 09:44:40 UTC
Description of problem:
I have a 16:9 screen, but my (kvm) guests aspect ratio is 4:3.
When I use "scale display", I get a deformed scaled-screen of my guests.

Version-Release number of selected component (if applicable):
I've tried only 0.7.0.

Expected results:
I see two possible resolution for this bug:
1) make guests run with the same aspect ratio of the host;
or
2) make "scale display" maintains the aspect ratio of guests.

Comment 1 Mark McLoughlin 2009-08-11 16:57:29 UTC
Thanks for the report

Does this still happen in 0.8.0?

Maybe you could attach a screenshot to show how bad it looks?

Comment 2 Daniel Berrangé 2009-08-11 17:05:17 UTC
FWIW, virt-viewer 0.2.0 has completely re-written from scratch scaling / auto-resizing behaviour, which will always show guest at 1:1 where space exists on host, and if it needs to scale down/up to fit, it will always maintain aspect ratio unless explicitly overridden by the user. We should probably make virt-manager implement the exact same logic. The original logic for scaling vs scrolling & auto-resizing was pretty crude by comparison.

Comment 3 gegio0 2009-08-13 16:24:37 UTC
Created attachment 357351 [details]
my guest at fullscreen w/o scale

Here is my 4:3 guest running in a 16:9 host.

Note the two thin black bands at the top (just under virt-manager menu) and at the bottom.

Comment 4 gegio0 2009-08-13 16:26:40 UTC
Created attachment 357352 [details]
my guest at fullscreen w/ scale

Here is my 4:3 guest running in a 16:9 host.

Now the two thin black bands are no more, but aspect ratio of the guest is not preserved.

Comment 5 gegio0 2009-08-13 16:27:57 UTC
I've taken those screenshots with virt-manager 0.8.0, so problems still remains.

Comment 6 Cole Robinson 2009-11-30 12:06:47 UTC
Addressed upstream now. Moving to POST, we will be cutting a new release soon.

Comment 7 Cole Robinson 2009-12-03 23:52:36 UTC
This should be fixed in virt-manager-0.8.1-1.fc13 which will be in the next rawhide compose.