From josh@joshpc.american.com  Wed Apr 19 07:49:24 1995
Received: from joshpc.american.com (joshpc.american.com [204.253.96.205])
          by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id HAA20946
          for <FreeBSD-gnats-submit@freebsd.org>; Wed, 19 Apr 1995 07:49:23 -0700
Received: (from josh@localhost) by joshpc.american.com (8.6.11/8.6.9) id KAA02959; Wed, 19 Apr 1995 10:50:47 -0400
Message-Id: <199504191450.KAA02959@joshpc.american.com>
Date: Wed, 19 Apr 1995 10:50:47 -0400
From: josh@american.com
Reply-To: josh@american.com
To: FreeBSD-gnats-submit@freebsd.org
Subject: 950412-SNAP: mouse buttons dont always work
X-Send-Pr-Version: 3.2

>Number:         350
>Category:       misc
>Synopsis:       mouse clicks ignored by remote Tk and local/remote xterm
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs (FreeBSD bugs mailing list)
>State:          closed
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Apr 19 07:50:01 1995
>Closed-Date:    Thu Apr 20 23:23:01 MET DST 1995
>Last-Modified:
>Originator:     Josh Littlefield
>Release:        950412-SNAP
>Organization:
American Internet Corp
>Environment:

	Stock i486 DX2-66 running FreeBSD 950412-SNAP.  XFree86-3.1.1  Mouse
Systems compatible 3 button serial mouse (also tried switching to MicroSoft
mouse compatible mouse with reconfig'd X server).

>Description:

	2 potentially related problems.  First, a remote host uses Tk to put
up a window on my FreeBSD X server.  The buttons highlight as the mouse moves
over them, but they don't react at all to button clicks.  Key events work
just fine.  The Tk app is exmh (although I've also tried just a simple wish
script) and is running on a Sparc 10, SunOS 4.1.4.  The Tk was built with
MIT X11R6-fix11.  This Sparc Tk app works just fine when put on a NetBSD1.0
X server, and when put on an "X-win" MS-Windows X server, so I doubt its a
client problem.

	I tried switching to XFree86-3.1 (from the FreeBSD-2.0 release
distribution).  Same problem.  I had the problem with 950322-SNAP as well.
The graphical buttons also don't work in the pkg version of ghostview (although
the page selection column does).

	Second problem, potentially related, is that I can't get the
menus on an xterm to pop up.  It doesn't matter whether the xterm is remote 
from the Sun or local on the FreeBSD box.  The menus work fine when the Sun
puts an xterm on a different X server, as well as when the FreeBSD box puts
an xterm on a different X server.

	Also, the basic, un-control-modified buttons work just fine for
selecting, extending and pasting, on an xterm displayed on the FreeBSD box.

	Its hard to believe I'm the only one who's seen this.  Will dropping
back to FreeBSD-2.0 fix this?

>How-To-Repeat:

	Run the X server on the FreeBSD box.  I use "startx".
	Have the FreeBSD box put an xterm up (I have `(xterm &)' in my
	  .xinitrc.
	Hold down the control key and click the left mouse button.
	Instead of getting the "Main Options" menu, it simply acts like
	  an un-modified left mouse button.

	Have a remote machine display a Tk application on the local X server.
	Try to click with the mouse.  It doesn't work.

>Fix:

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: joerg 
State-Changed-When: Thu Apr 20 23:23:01 MET DST 1995 
State-Changed-Why:  
The problem has been caused by an XFree86 (tm) bug.  Recent X-Servers 
(XFree86 3.1.1) appear to run only correctly if the term 

ServerNumLock 

is mentioned in the keyboard section of the XF86Config file. 
>Unformatted:



