Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Description of problem:
the range of zoom level is different in "virt-viewer" manual page and command line.
Version-Release number of selected component (if applicable):
virt-viewer-0.6.0-7.el6.x86_64
How reproducible:
100%
Steps to Reproduce:
1. prepare an usable guest and start guest
# virsh list
Id Name State
----------------------------------------------------
2 test1 running
2. launch virt-viewer with PCT=10
# virt-viewer --zoom=10 test1
verify zoom setting take effect when virt-viewer started.
3. launch virt-viewer with PCT=200
# virt-viewer --zoom=200 test1
verify zoom setting take effect when virt-viewer started.
4. launch virt-viewer with PCT=500 or PCT=4
# virt-viewer --zoom=500 test1
Zoom level must be within 10-400
# virt-viewer --zoom=4 test1
Zoom level must be within 10-400
the guest can be opened but there is a string prompt: "Zoom level must be within 10-400"
5. check virt-viewer manual page.
# man virt-viewer
....
-z PCT, --zoom=PCT
Zoom level of the display window in percentage. Range 10-200.
...
Range is from 10 to 200.
Actual results:
the range of zoom level is different in "virt-viewer" manual page and command line.
Expected results:
the range of zoom level should keep consistent both in command line and manual page.
Additional info:
rhel7 doesn't has this problem.
Comment 2Marc-Andre Lureau
2014-06-20 11:37:25 UTC
Comment 3Christophe Fergeau
2014-06-23 09:47:13 UTC
(In reply to Marc-Andre Lureau from comment #2)
> posted:
> https://git.fedorahosted.org/cgit/virt-viewer.git/commit/
> ?id=687b9e0bfa679b8ba7576025fbf34517b0d65e21
It seems that you forgot to send this patch to virt-tools-list (with a note that this was pushed already as a doc/trivial patch if this was your intent).
I can reproduce with package:
virt-viewer-0.6.0-7.el6.x86_64
verified with package:
virt-viewer-0.6.0-9.el6.x86_64
steps:
1. prepare an usable guest and start guest
# virsh list
Id Name State
----------------------------------------------------
1 6.5x8664 running
2. launch virt-viewer with PCT=10
# virt-viewer --zoom=10 6.5x8664
verify zoom setting take effect when virt-viewer started.
3. launch virt-viewer with PCT=200
# virt-viewer --zoom=200 6.5x8664
verify zoom setting take effect when virt-viewer started.
4. launch virt-viewer with PCT=500 or PCT=4
# virt-viewer --zoom=500 6.5x8664
Zoom level must be within 10-400
# virt-viewer --zoom=4 6.5x8664
Zoom level must be within 10-400
the guest can be opened but there is a string prompt: "Zoom level must be within 10-400"
5. Try above steps with "remote-viewer":
5.1
# remote-viewer spice://127.0.0.1:5900 --zoom=10
# remote-viewer spice://127.0.0.1:5900 --zoom=200
verify zoom setting take effect when remote-viewer started.
5.2
# remote-viewer spice://127.0.0.1:5900 --zoom=4
(remote-viewer:4858): remote-viewer-WARNING **: Couldn't load configuration: File is empty
Zoom level must be within 10-400
# remote-viewer spice://127.0.0.1:5900 --zoom=500
(remote-viewer:4865): remote-viewer-WARNING **: Couldn't load configuration: File is empty
Zoom level must be within 10-400
NOTE: when tried with zoom less than 10 or large than 400, the guest can be opened but there is a string prompt: "Zoom level must be within 10-400".
6. check manual page for "virt-viewer" and "remote-viewer".
# man virt-viewer
...
-z PCT, --zoom=PCT
Zoom level of the display window in percentage. Range 10-400.
...
# man remote-viewer
...
-z PCT, --zoom=PCT
Zoom level of the display window in percentage. Range 10-400.
...
Since the range of zoom level keeps consistent both in command line and manual page, move from MODIFIED to VERIFIED.
Description of problem: the range of zoom level is different in "virt-viewer" manual page and command line. Version-Release number of selected component (if applicable): virt-viewer-0.6.0-7.el6.x86_64 How reproducible: 100% Steps to Reproduce: 1. prepare an usable guest and start guest # virsh list Id Name State ---------------------------------------------------- 2 test1 running 2. launch virt-viewer with PCT=10 # virt-viewer --zoom=10 test1 verify zoom setting take effect when virt-viewer started. 3. launch virt-viewer with PCT=200 # virt-viewer --zoom=200 test1 verify zoom setting take effect when virt-viewer started. 4. launch virt-viewer with PCT=500 or PCT=4 # virt-viewer --zoom=500 test1 Zoom level must be within 10-400 # virt-viewer --zoom=4 test1 Zoom level must be within 10-400 the guest can be opened but there is a string prompt: "Zoom level must be within 10-400" 5. check virt-viewer manual page. # man virt-viewer .... -z PCT, --zoom=PCT Zoom level of the display window in percentage. Range 10-200. ... Range is from 10 to 200. Actual results: the range of zoom level is different in "virt-viewer" manual page and command line. Expected results: the range of zoom level should keep consistent both in command line and manual page. Additional info: rhel7 doesn't has this problem.