Bug 513949 - virt-manager scaling should maintain the aspect ratio of the display
Summary: virt-manager scaling should maintain the aspect ratio of the display
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: virt-manager
Version: rawhide
Hardware: All
OS: Linux
medium
low
Target Milestone: ---
Assignee: Daniel Berrangé
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F12VirtTarget
TreeView+ depends on / blocked
 
Reported: 2009-07-27 09:44 UTC by gegio0
Modified: 2009-12-03 23:52 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2009-12-03 23:52:36 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
my guest at fullscreen w/o scale (554.33 KB, image/png)
2009-08-13 16:24 UTC, gegio0
no flags Details
my guest at fullscreen w/ scale (554.21 KB, image/png)
2009-08-13 16:26 UTC, gegio0
no flags Details

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.


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