Bug 1543881 - Propose to always have 'color-depth' in vv file for 16bits color depth capable VMs
Summary: Propose to always have 'color-depth' in vv file for 16bits color depth capabl...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: Frontend.WebAdmin
Version: 4.2.1.4
Hardware: Unspecified
OS: Unspecified
low
medium
Target Milestone: ---
: ---
Assignee: bugs@ovirt.org
QA Contact: meital avital
URL:
Whiteboard:
Depends On: 1543538
Blocks: 1350853
TreeView+ depends on / blocked
 
Reported: 2018-02-09 13:24 UTC by Radek Duda
Modified: 2022-06-27 07:35 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2018-11-14 11:25:43 UTC
oVirt Team: Virt
Embargoed:
sbonazzo: ovirt-4.3-


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHV-46526 0 None None None 2022-06-27 07:35:05 UTC

Description Radek Duda 2018-02-09 13:24:42 UTC
Description of problem:

There is a bug in spice: when no color-depth is specified in vv file, after resize of remote-viewer window, color-depth automatically goes to 32 bits (see https://bugzilla.redhat.com/show_bug.cgi?id=1543538). 

After this behaviour will be changed, there arises a problem:
When user unchecks 'Enable Wan Options' dialog in 'RHV Admin Portal'->'Console Options', the color depth will not return to 32 bits.

So I propose to always have color-depth parameter in vv file for vms, which are capable to have 16 bit color depth.

Version-Release number of selected component (if applicable):
rhv4.2.1.6-0.1.el7
RHV-toolsSetup_4.2_2.iso

Comment 1 Michal Skrivanek 2018-02-10 07:16:30 UTC
Why is “wan options” not enough?h

Comment 2 Radek Duda 2018-02-12 10:30:14 UTC
(In reply to Michal Skrivanek from comment #1)
> Why is “wan options” not enough?h

I do not know what you exactly have on your mind. There is no “wan options” in vv-file. If you check 'Enable WAN Options', then two lines are added to the vv-file:

..
color-depth=16                                         
disable-effects= 
..

and color depth of Win7 guest change to 16 bits. But if you then uncheck "WAN Options" check-box, options listed above are not added to vv file - so color-depth of guest is not enhanced to 32 bits and stays on 16. And this is a problem.

Now undone "WAN Options" (i.e. return to 32 bits) is (partly) functional thanks to https://bugzilla.redhat.com/show_bug.cgi?id=1543538 - color depth can be returned to 32 bits by resizing remote-viewer's window (of guest) - this is certainly not a proper behaviour. 

After https://bugzilla.redhat.com/show_bug.cgi?id=1543538 will be resolved, user cannot return to 32 bits color depth by unchecking 'Enable WAN Options' check-box at all. If you pass no 'color-depth' parameter to remote-viewer, color depth remains intact. From man-pages of remote-viewer:
..
       "color-depth" (integer)
           Set the color depth of the guest display (16 or 32).
..

So I propose to always have 'color-depth' in vv-file for guest OS which is capable of transition between 16 and 32 color-depth.

Comment 3 Ryan Barry 2018-11-14 11:25:43 UTC
This will not make it in a reasonable time. Please re-open if you still feel this should be fixed


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