This bug is really weird, cause my mouse works completely fine just before logging on to Gnome desktop. But just after I enter my password and press Enter my mouse just hangs in thin air, not recognizing any movements or clicks.
Additional Info:
1) Does the mouse even really work?
Answer: Yes, I've tried it on various different devices and it works fine. It even works on my laptop running Ubuntu 16.04 LTS with the same Gnome desktop.
Note: Although I manually installed Gnome on my laptop. But the PC back at home I installed Ubuntu Gnome edition directly from an ISO file
2) Have you tried Disconnecting and reconnecting?
Answer: Yes I have. Thing is, if I disconnect my mouse and reconnect it, it works (click&movement) for a time close to 1 second. Then it dies again :'(
3) Maybe there is a problem with your system. Checked the Hardware?
Answer: Nope I'm running on Dual-boot. And the same mouse works fine on Windows 10.
4) Is it an extremely new mouse that only works if you install special drivers?
Answer: No, I've used it on Ubuntu 14.04 before. It worked fine.
5) I wonder if you are the only one with this problem.
Answer: No, I've seen many people posting about this exact problem (many post only about their touch-pad though). But no one has bothered to explain it in detail. All strongly think Gnome3 is the culprit, but no proper solution is found yet.
Please help, I have no idea what to do!!
EDIT: I have now confirmed that it is indeed a bug related to the Gnome3.18 desktop. I just installed LXQt desktop environment and it works completely fine.