Bugzilla – Bug 1223572
virt-manager: Mouse remains hidden after guest stops
Last modified: 2024-05-13 11:38:47 UTC
In virt-manager, if the mouse is captures in the graphical terminal and the guest stops, the mouse still remains invisible. I'm observing this issue while running virt-manager on Plasma6.
Can you press 'Ctrl-Alt' and see the mouse pointer again?
(In reply to Charles Arnold from comment #1) > Can you press 'Ctrl-Alt' and see the mouse pointer again? That works as long as the graphical display is active. The bug is that the mouse remains invisible after the guest is shut down. Easiest reproducer: * In GRUB enter "halt" The guest shuts down, the graphical console disconnects. The mouse remains invisible. Workaround: Start the guest again and press Ctrl-Alt WHILE the guest is running.
To be precise: Ctrl-Alt only works as long as the guest is running. After the guest shut down, Ctrl-Alt does not "release" the mouse or makes it visible again.
Are you seeing this directly on the console or via ssh (or both)? Are you running the VM in full screen mode? My testing is being done with Tumbleweed release 20240430, both host and guest. I have not yet hit the problem but I'm working over ssh.
(In reply to Charles Arnold from comment #4) > Are you seeing this directly on the console or via ssh (or both)? > Are you running the VM in full screen mode? > My testing is being done with Tumbleweed release 20240430, both host and > guest. > I have not yet hit the problem but I'm working over ssh. I'm working on virt-manager in Plasma 6 locally, and using the graphical console in the VM window. Not full screen.
Created attachment 874679 [details] Screencast showing the issue I'm attaching a Screencast created with Spectacle that illustrates the issue. There I'm starting a Tumbleweed VM, shut it down in GRUB via 'halt'. After that you can see that the mouse cursor remains invisible and only becomes visible at the window bar. I can move around and you can see that the buttons flashing when I move with the mouse over, but the mouse remains invisible in the VM area itself.
(In reply to Felix Niederwanger from comment #2) > (In reply to Charles Arnold from comment #1) > > Can you press 'Ctrl-Alt' and see the mouse pointer again? > > That works as long as the graphical display is active. The bug is that the > mouse remains invisible after the guest is shut down. > > Easiest reproducer: > > * In GRUB enter "halt" > > The guest shuts down, the graphical console disconnects. The mouse remains > invisible. > > Workaround: Start the guest again and press Ctrl-Alt WHILE the guest is > running. On my tumbleweed(20240418) host, I tried virt-manager on both of gnome and plasma(x11/wayland), The issue isn't reproducible.
(In reply to Lin Ma from comment #7) > On my tumbleweed(20240418) host, I tried virt-manager on both of gnome and > plasma(x11/wayland), The issue isn't reproducible. Using the above state reproducer? I don't know what to tell you, but I have here two Tumbleweed Laptops running Plasma6 and see this issue on both of them.