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.

Bug 1350762

Summary: Xterm's scroll bar can't work in p2v client if connect machine via virtual console
Product: Red Hat Enterprise Linux 8 Reporter: mxie <mxie>
Component: virt-p2vAssignee: Pino Toscano <ptoscano>
Status: CLOSED WONTFIX QA Contact: tingting zheng <tzheng>
Severity: low Docs Contact:
Priority: low    
Version: ---CC: jsuchane, juzhou, mxie, mzhan, ptoscano, rjones, tzheng, xiaodwan
Target Milestone: rcFlags: pm-rhel: mirror+
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: P2V
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-10-27 08:24:51 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description mxie@redhat.com 2016-06-28 10:13:00 UTC
Description of problem:
Xterm's scroll bar can't work in p2v client if connect machine via virtual console


Version-Release number of selected component (if applicable):
virt-p2v-1.32.5-7.el7

How reproducible:
100%

Steps to Reproduce:
1.Control machine via virtual console, such as open hp machine 's virtual console via its ilo's integrated remote console
2.Boot machine to p2v client via iso
3.Open xterm and input command #lspci to make the scroll bar adjustable, but Xterm's scroll bar can't work using mouse to left click scroll bar or  middle-button of mouse 


Actual results:
As above description

Expected results:
Xterm's scroll bar can work well in p2v client if connect machine via virtual console, or custemer have to using addtional command like #lspci |more to check details info 

Additional info:
1.Xterm's scroll bar can work well in p2v client if connect machine's console directly
2.Xterm's scroll bar can work well in p2v client if boot guest into p2v client via iso

Comment 2 Richard W.M. Jones 2016-06-28 12:21:19 UTC
It works for me through the iLO.

Note that XTerm uses Athena Widgets (https://en.wikipedia.org/wiki/X_Athena_Widgets)
so you have to use:

 - left mouse button scrolls down
 - middle mouse button scrolls to mouse position
 - right mouse button scrolls up

Dragging the mouse does nothing.

Comment 3 Richard W.M. Jones 2017-02-16 17:11:02 UTC
mxie, can you take another look at this when RHEL 7.4 is in testing?
I believe it should work if you use the correct mouse buttons (comment 2).

Comment 4 mxie@redhat.com 2017-02-28 02:17:08 UTC
Sure, I will retest this bug when RHEL7.4 is in testing

Comment 5 mxie@redhat.com 2017-04-06 08:54:18 UTC
Try to verify the bug with build:
virt-p2v-1.36.3-1.el7.iso

Steps:

Scenario1:
1.1 Control Dell machine PEM915 via virtual console 
1.2 Boot machine into p2v client via iso
1.3 Open xterm and input command #lspci to make the scrollbar adjustable

Result:
1.1 Xterm's scrollbar can't work via clicking left mouse button  
1.2 Xterm's scrollbar can work using middle-button of mouse 


Scenario2:
2.1 Control HP machine DL380eg8 via virtual console 
2.2 Boot machine into p2v client via iso
2.3 Open xterm and input command #lspci to make the scroll bar adjustable

Result:
2.1 Xterm's scrollbar can't work via clicking left mouse button  
2.2 Xterm's scrollbar can't work using middle-button of mouse


Scenario3:
3.1 Control IBM machine x3850x5 via virtual console 
3.2 Boot machine into p2v client via iso
3.3 Open xterm and input command #lspci to make the scroll bar adjustable

Result:
3.1 Xterm's scrollbar can't work via clicking left mouse button  
3.2 Xterm's scrollbar can work using middle-button of mouse

Comment 6 Richard W.M. Jones 2017-04-12 10:30:59 UTC
I'm fairly sure this is going to be NOTABUG, or a bug in XTerm,
or a bug in the remote terminal software.  In any case I'm
moving to RHEL 7.5.

Comment 9 mxie@redhat.com 2018-06-12 10:26:45 UTC
Also could reproduce the bug with virt-p2v-1.38.2-1.el7.iso
1.Scroll bar still can't work in Xterm if open physical machine via virtual console and boot into p2v client
2.Scroll bar also can't work in credits dialog box so that can't see all names if open physical machine via virtual console and boot into p2v client
3.Scroll bar works well if boot into p2v client using guest

Comment 10 Jaroslav Suchanek 2019-12-04 15:30:32 UTC
This bug will be addressed in next major release.