Bug 2229119

Summary: Pass through of super key press does not work
Product: Red Hat Enterprise Linux 9 Reporter: John Wyatt <jwyatt>
Component: virt-managerAssignee: Jonathon Jongsma <jjongsma>
virt-manager sub component: Common QA Contact: Virtualization Bugs <virt-bugs>
Status: NEW --- Docs Contact:
Severity: unspecified    
Priority: unspecified CC: hongzliu, juzhou, tyan, tzheng, virt-maint
Version: 9.2   
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 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 John Wyatt 2023-08-04 09:01:41 UTC
Description of problem:
Pass through of super key does not work to a guest running on my RHEL 9 host. I upgraded from RHEL 8 where pass through of the superkey did work with the same version of Fedora or Debian 12.

The configuration tested was a client running either Fedora 38 GNOME or OpenSuSE Tumbleweed GNOME connecting with virt-manager to a RHEL 9 host with a guest running Fedora 38 GNOME or Debian 12 GNOME and KDE.

Note the client was tested running Fedora 38 on both host and guest with no issues passing the superkey.

Fedora had a similar issue listed here and was fixed in a new version of GNOME:
https://discussion.fedoraproject.org/t/virt-manager-no-longer-passes-through-super-key/65295/10

I am not exactly sure the above link is the same issue. Libvirt, GNOME, or otherwise. I put virt-manager as that is the program where the functionality is broken. There are 0 packages with the keyword 'gnome' installed on the server host, yet the fix for this issue is gnome-shell for Fedora issue above.

Version-Release number of selected component (if applicable):
9.0, 9.1, 9.2 (note: a new Fedora 38 and Debian 12 vm was created to test this)

How reproducible:
Happens every time

Steps to Reproduce:
1. Connect from a client with virt-manager to a host through ssh with a key
2. Start a Fedora 38 VM with GNOME or Debian 12 (GNOME/KDE were the only ones tested)
3. Press the 'super'/windows key

Actual results:
The super key press is not caught by virt-manager and goes to the client desktop instead, switching into and out of overlay mode.

Expected results:
Gnome will switch in and out of it's overlay menu on the remote guest.

Additional info:
Spice reports it is connected and otherwise works and handles common tasks like resizing of the desktop normally.

https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2548
https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/6107
https://bugzilla.redhat.com/show_bug.cgi?id=2144172
https://bugzilla.redhat.com/show_bug.cgi?id=2143323
https://discussion.fedoraproject.org/t/virt-manager-no-longer-passes-through-super-key/65295/10