Bug 1223572 - virt-manager: Mouse remains hidden after guest stops
Summary: virt-manager: Mouse remains hidden after guest stops
Status: NEW
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Virtualization:Tools (show other bugs)
Version: Current
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Charles Arnold
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-30 07:51 UTC by Felix Niederwanger
Modified: 2024-05-13 11:38 UTC (History)
3 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
Screencast showing the issue (120.89 KB, video/mp4)
2024-05-06 08:25 UTC, Felix Niederwanger
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Felix Niederwanger 2024-04-30 07:51:22 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.
Comment 1 Charles Arnold 2024-04-30 12:22:39 UTC
Can you press 'Ctrl-Alt' and see the mouse pointer again?
Comment 2 Felix Niederwanger 2024-04-30 12:47:18 UTC
(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.
Comment 3 Felix Niederwanger 2024-04-30 12:50:23 UTC
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.
Comment 4 Charles Arnold 2024-05-01 22:24:26 UTC
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.
Comment 5 Felix Niederwanger 2024-05-06 08:23:25 UTC
(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.
Comment 6 Felix Niederwanger 2024-05-06 08:25:01 UTC
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.
Comment 7 Lin Ma 2024-05-12 02:56:16 UTC
(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.
Comment 8 Felix Niederwanger 2024-05-13 11:38:47 UTC
(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.