Tracker: Bugs

5 Desktop switch on local machine causes vncviewer to terminat - ID: 1202622
Last Update: Comment added ( count )

When viewing a remote unix vnc server using vncviewer
from a linux machine if the client attempts to switch
/local/ desktops (ie, alt+Fn in Fluxbox) it causes the
vncviewer session to terminate (it does not crash though).

Termination error is:

----------------------------------------------
CleanupXErrorHandler called
ShmCleanup called
X Error of failed request: BadMatch (invalid parameter
attributes)
Major opcode of failed request: 42 (X_SetInputFocus)
Serial number of failed request: 5078
Current serial number in output stream: 5078
----------------------------------------------


The error is independent of the key combo used to
switch the desktop,ie the trigger is the actual switching.

This does not seem to occur when the mouse-wheel is
used to switch between local desktops.


Paul L Daniels ( pldaniels ) - 2005-05-15 19:16:07 PDT

5

Open

None

Constantin Kaplinsky

nix Version

None

Public


Comments ( 3 )

Date: 2005-05-30 11:27:03 PDT
Sender: countAccepting Donations

Logged In: YES
user_id=114798

No problems, I'd say it's fixed by this. Thanks a lot! This
was bugging me for months.


Date: 2005-05-15 19:19:02 PDT
Sender: pldaniels

Logged In: YES
user_id=383100

In the file vncviewer/desktop.c

change:
XSetInputFocus(dpy, XtWindowOfObject(desktop),
RevertToPointerRoot, CurrentTime);

to:
XSetInputFocus(dpy, PointerRoot, RevertToPointerRoot,
CurrentTime);

and the problem goes away. I do not know if this is a
technically valid fix but it does work apparently correctly
here.

Paul.


Date: 2005-05-15 19:19:02 PDT
Sender: pldaniels

Logged In: YES
user_id=383100

The bug described in this report should have been fixed in the
latest development version, 1.3dev5. Please verify that it is
working, and report the problems if any, to let us close the
tracker or resolve the remaining problems.

Thank you!

--
Constantin Kaplinsky



Attached File

No Files Currently Attached

Change

No changes have been made to this artifact.