Red Hat Bugzilla – Bug 4672
mouse problem after switching between text and graphic display screens
Last modified: 2008-05-01 11:37:51 EDT
I'm using two-button mouse manufactured by Microsoft and
Mach64 graphics adapter. I'm running KDE.
I have X display on console screen #12; the bug can be
triggered by switching to the text console on screen #1 by
pressing Ctrl-Alt-F1 and then returning back by pressing
Ctrl-Alt-F12. It happens less frequently also in other
situations that I can't duplicate for now.
The most visible symptoms are:
- the mouse pointer doesn't change when moving it over
various parts of the screen
- mouse clicks (left or right button) are ignored
These problems go away after clicking both buttons
simultaneously (which pastes some unwanted input to the
active window), but there are still other problems
- unable to change focus by clicking on the window,
must click on the window frame
- some menus are unusable, notably the menus in
ghostview and menus in xterm which are invoked by
pressing Ctrl + some mouse button. The menu
is there, but no item can be chosen.
I haven't found any way to reset the mouse behavior
back to normal except restarting X.
I was having the *exact* same problem myself! The problem appears
solved with the forthcoming XFree86 3.3.5 errata release. If it is
not solved for you after you obtain and upgrade to the 3.3.5 errata,
please re-open this bug.
I do reopen this bug as instructed. Nothing changed after
upgrading to XFree 3.3.5 from Updates or from RawHide.
this was fixed by the XFree86 3.3.5 errata release.
Neither 3.3.5-errata nor 3.3.6 helped me. I considered this bug quite
annoying and found finally a workaround.
I realized that X server closes and reopens the serial port /dev/mouse
when doing VT switching. In order to prevent resets of this port I run
a process which keeps it open (e.g. sleep 100000 > /dev/mouse). Since
then I have no problems.
Note: I am not using gpm daemon.
I had similar problems and I found the reason: This is a conflict between GPM
and X - GPM doesn't give back the control over the mouse.
Workaround: Before getting back to X kill GPM using 'gpm -k' command. You may
want to remove GPM from inittab, start it manually when you need it and kill it
when going back to X.