Mouse clicks stop working after random time, using Awesome WM + Gnome

I’m using the Awesome Window Manager together with Gnome in Linux Mint. I experience the following problem several times a day:

Suddenly the mouse partially stops working, which means that I’m still able to move the cursor, but any mouse clicks won’t do anything. Moreover, the cursor doesn’t change when it should, e.g. when hovering over links.

This state doesn’t change until restarting the computer or restarting the X server with Ctrl+Alt+Backspace.

Despite this the system works quite normal. (I’m writing this message without mouse at the moment)

I think it’s very unlikely that it is the mouse as changing the mouse doesn’t change the behaviour.

To me, it feels a bit like some invisible window was put over the whole screen, or some application “captured” the mouse and didn’t release it, but thats only speculation.

I even tried it via TeamViewer, and it shows the same behaviour — moving works, hovering and clicking does not.

I should mention the problem is global, not limited to any special program.

Now I know when the bug occurs exactly: If I click in a Gtk application (like Nautilus, Gedit, Ubuntu Software Center) somewhere in the menu bar or the toolbar where no menu or button is (e.g., right of the “Help” menu in Nautilus), then this bug occurs. If I close the corresponding application, it goes away.

I’m going to start a new thread for this.

Answers:

Thank you for visiting the Q&A section on Magenaut. Please note that all the answers may not help you solve the issue immediately. So please treat them as advisements. If you found the post helpful (or not), leave a comment & I’ll get back to you as soon as possible.

Method 1

I have this problem as well. I think it’s related to the bug herein:

http://osdir.com/ml/blfs-support/2011-12/msg00059.html

The problem seems to be related to specific functionality in gtk 3.0, likely related to resizing the window or making the resize grip appear: I’ve gotten this behavior when I use Meta-Mouse2 to resize in Awesome. I’ve also seen it happening just in the course of regular use. Some things that might help:

1) You can begin closing random gtk windows. In my experience, the problem only reliably goes away when I close my last gnome terminal. I should really find a non-gtk terminal that pleases me.

2) Always run awesome with your windows in some layout rather than free. This will make the resize grip not show up accidentally.

Other than that, I think the best you can do is wait for someone to figure out the code path and fix this problem.

Method 2

The mouse grab when clicking on any empty area in the title/menu bar in nautilius/evince/gnome-terminal/etc. happens for me on Ubuntu 11.10 / libgtk-3-0 3.2.0-0ubuntu6 / awesome 3.4.10-1 as well.

A killall nautilus or so on the console releases the mouse grab; with Nautilus, just closing the window with a Meta-c does not help.

There seems to be a fix for the resize-handle issue coming up the pipeline for GTK+ 3.3.6, presumeably related?

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=630972
https://bugzilla.gnome.org/show_bug.cgi?id=650943
http://git.gnome.org/browse/gtk+/tree/NEWS#n301
http://git.gnome.org/browse/gtk+/commit/?id=e3005ea454293d7b86f2bc39ba5fd028906b5c72


All methods was sourced from stackoverflow.com or stackexchange.com, is licensed under cc by-sa 2.5, cc by-sa 3.0 and cc by-sa 4.0

0 0 votes
Article Rating
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments