Mouse click lost after a while

Discussions about using Linux guests in VirtualBox.

Re: Mouse click lost after a while

Postby ninja sk » 15. May 2020, 16:28

Don,t know how to fix this but instead of shutting down virtual machine just save the state of virtual machine and the resume again and things will be normal after that.No unsaved work will be lost.Works well for me :D :D
ninja sk
 
Posts: 1
Joined: 15. May 2020, 16:26

Re: Mouse click lost after a while

Postby jcdole » 16. Jul 2020, 10:19

Same problem here, with Version 6.1.8 r137981 (Qt5.9.7),Leap 15.2 host running on Leap 15.2 on guest.
This never appear for me before.
jcdole
 
Posts: 64
Joined: 3. May 2013, 18:25
Location: South west of france
Primary OS: openSUSE
VBox Version: PUEL
Guest OSses: WIN 7, WIN 10

Re: Mouse click lost after a while

Postby multiOS » 16. Jul 2020, 15:20

You might want to try updating VirtualBox, as 6.1.8 is already becoming a bit 'dated', but I can't see anything in the Change Log that specifically relates to this problem with Linux Guests on Linux Hosts, See: https://www.virtualbox.org/wiki/Changelog
multiOS
Volunteer
 
Posts: 485
Joined: 14. Sep 2019, 16:51
Location: United Kingdom
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Windows 10Pro, 7

Re: Mouse click lost after a while

Postby jcdole » 2. Aug 2020, 17:59

Same problem with virtualbox 6.1.12 and leap 12.1 kernel 4.12.14-lp151.28.52-default
jcdole
 
Posts: 64
Joined: 3. May 2013, 18:25
Location: South west of france
Primary OS: openSUSE
VBox Version: PUEL
Guest OSses: WIN 7, WIN 10

Re: Mouse click lost after a while

Postby jcdole » 2. Aug 2020, 18:05

I must say that when the problem arise, you have to move the mouse on each app windows then use the keyboard shortcut to leave each app then select the kickoff menu (on opensuse), select 'leave', select reboot.
In other words you select with the mouse, then replace the mouse click with the keyboard shortcut.
jcdole
 
Posts: 64
Joined: 3. May 2013, 18:25
Location: South west of france
Primary OS: openSUSE
VBox Version: PUEL
Guest OSses: WIN 7, WIN 10

Re: Mouse click lost after a while

Postby schoenborno » 20. Apr 2021, 16:31

A workaround that has worked for me, specifically in the case where the mouse click stops working on all windows except the Desktop toolbar at left edge: I enter Alt-F2 and when the command box shows up, type "restart". After a few seconds, mouse clicks work again.

It seems to me like some app is grabbing mouse input for the whole desktop (which would not include the toolbar), and is forced to drop it when the desktop manager restarts, thus restoring it (same logic with log-out/in.

Given some other posts, I suspect dnd. So I just disabled bidirectional drag-and-drop (which I never use anyways), and killed the two /usr/bin/VBoxClient --draganddrop that were running. I'll see if the problem re-occurs, and next time I restart the VM I'll check if those processes are running (I'm hoping they are started only when bidirectional dnd is on).

Update: the vboxclient process still get started, even if DnD is disabled in the settings. I'm pretty sure the problem occurred even after I did the above, so I have yet to find a way to prevent it. But at least there are 2 workarounds: Alt-F2 then enter "restart" in the box that appears; or drag an item from host onto VM desktop.
schoenborno
 
Posts: 8
Joined: 15. May 2009, 05:59
Primary OS: MS Windows XP
VBox Version: PUEL
Guest OSses: XP

Re: Mouse click lost after a while

Postby Christoph Holtermann » 9. May 2021, 14:09

This issue has been driving me nuts for some while as parts of the screen got unresponsible to mouse clicks. I had to move windows to other regions that were clickable. Killing the VBoxClient process works.
Christoph Holtermann
 
Posts: 1
Joined: 9. May 2021, 14:07

Re: Mouse click lost after a while

Postby Itchy » 7. Jul 2021, 16:29

Same issue here with VirtualBox 6.1.22 and latest Kali Linux.

Killing the drag and drop process helps, but a bugfix would be great.
Itchy
 
Posts: 2
Joined: 7. Jul 2021, 16:27

Re: Mouse click lost after a while

Postby Yves Gygax » 11. Jul 2021, 15:16

Hi all

sudenly I experienced the same problem.

Ubuntu 21.4
VirtualBox 6.1.22
Guest Windows 10 Pro
Extension pack activated

I never hab this problem before. Now when it happens,
- I see the cursor and can move it.
- Guest system react normally with keyboard.
- Can't click in guest system nor on vVirtualBox interface
- Drag&Drop and shared clipboard functionallities were deactivated in machine configuration
- Loging out and in on guest system don't change anything
- It happens only when guest system is in fullscreen mode

I hope this bug will be fixed.
Yves Gygax
 
Posts: 1
Joined: 11. Jul 2021, 14:29

Re: Mouse click lost after a while

Postby dmz73 » 27. Jul 2021, 01:50

I've had this problem with most versions of VirtualBox since around 5.16 on one computer.
Both host and guest are running Windows 10. Later versions of Windows 10 and VirtualBox are worse than earlier versions.

Interestingly enough on two other computers running Windows 10 host and exact same guest (copy of VM) this issue does not occur.

One quick workaround I found that works is to right click inside the guest and that seems to restore the left click functionality for a while.
dmz73
 
Posts: 2
Joined: 1. May 2017, 06:04

Re: Mouse click lost after a while

Postby Gargo » 24. Aug 2021, 08:42

I'm having the same issue.

I used to see this "click doesn't work problem" once in a while. I had Debian 10 (buster) and a decent amount of work could be done before the click stopped working and I had to save the vm state and start it again to gain control over the click. But some days ago I decided to go with the Debian 11 (bullseye) update and the click lost problem became annoying to the point that I no longer can continue working on the vm. I'm setting up a new virtual machine in a different program. I love Virtual Box but its impossible to work like this. This used to be a minor inconvenience but now it makes the virtual machine unusable.

I'm attaching the log of my Virtual Machine in a session where I started the machine a few minutes later got the problem, saved the state while turning it off, to start it again an gain control over the mouse click again. I hope this help solving the problem.
Attachments
VBox-log.zip
The log of my vm while having the "mouse click lost" problme.
(34.99 KiB) Not downloaded yet
Gargo
 
Posts: 1
Joined: 24. Aug 2021, 08:00

Re: Mouse click lost after a while

Postby TKABDUL » 27. Sep 2021, 08:30

kuschky wrote:I'm fighting with this issue for a very long time but find this thread just today. The hint to kill the "VBoxClient --dragabddrop" processes helps me for the first. Now I added a keyboard shortcut to execute it :D

Until reading this thread my solution was to click in the virtualbox menu "Machine/ACPI Shutdown". This was opening in my Kubuntu guest the PowerDown screen where I selected "Log out". This does not powerdown the machine and brings the cursor back. But I need to open all applications again.

Maybe this information helps in some other host/guest combinations

Would be great if the problem will be fixed some day.


This saved my day :) Thanks a lot.
TKABDUL
 
Posts: 1
Joined: 27. Sep 2021, 08:29

Previous

Return to Linux Guests

Who is online

Users browsing this forum: No registered users and 13 guests