Bug 1913548
| Summary: | [machines] Can not accept mouse input correctly in vm console tab unless Expand it | |||
|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | Reporter: | Xianghua Chen <xchen> | |
| Component: | cockpit-appstream | Assignee: | Nobody <nobody> | |
| Status: | CLOSED ERRATA | QA Contact: | Xianghua Chen <xchen> | |
| Severity: | high | Docs Contact: | ||
| Priority: | unspecified | |||
| Version: | 8.4 | CC: | glesage, jkonecny, kkoukiou, mmarusak, mpitt, wshi, ymao, yunyang | |
| Target Milestone: | rc | Keywords: | Reopened, Triaged | |
| Target Release: | 8.9 | Flags: | pm-rhel:
mirror+
|
|
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | cockpit-appstream-289-1.el8 | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 2180874 (view as bug list) | Environment: | ||
| Last Closed: | 2023-11-14 15:26:16 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: | 286 | |
| Embargoed: | ||||
|
Description
Xianghua Chen
2021-01-07 04:17:28 UTC
Thanks for reporting this issue! I couldn't reproduce it here on either Firefox or Chrome — with the window maximized. When I resized my window where it would scale the embedded VNC viewer, it started to have some issues. This problem isn't actually related to the window being embedded or expanded. It's an issue where the mouse offset is calculated from the top-left origin and it counts pixels. However, when the internal resolution differs from the on-screen resolution (that is: the view is scaled), the offset is incorrect. It should be taking into consideration the screen size versus the scaled screen size... but it doesn't. Instead of using pixels, it should be using percentages or a multiplier. Hopefully someone with familiarity in the VNC codebase can help to figure out a working solution. Bug 2001730 may provided more details for this bug, please take a look whether it' the same problem. After evaluating this issue, there are no plans to address it further or fix it in an upcoming release. Therefore, it is being closed. If plans change such that this issue will be fixed in an upcoming release, then the bug can be reopened. Sometimes the whole console tab is not fully shown and I'm blocked when installing. Current we can use Desktop viewer to workaround, and hopefully it can be improved when new implement method is ready. After evaluating this issue, there are no plans to address it further or fix it in an upcoming release. Therefore, it is being closed. If plans change such that this issue will be fixed in an upcoming release, then the bug can be reopened. Not reproducable to me, it may have been fixed by this PR: https://github.com/cockpit-project/cockpit-machines/pull/893 Verified with packages: cockpit-machines-289-1.el8.noarch libvirt-8.0.0-19.module+el8.8.0+18453+e0bf0d1d.x86_64 libvirt-dbus-1.3.0-2.module+el8.8.0+16781+9f4724c2.x86_64 Steps to Reproduce: 1. Create a VM with a ISO file(such as fedora*.iso), then install it with GUI 2. During the installation, click the content per the installation guide in Console tab, click works fine 3. Expand the Console into a separate page, click works fine So verified. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (cockpit-appstream bug fix and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2023:6924 The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days |