From owner-freebsd-hackers@FreeBSD.ORG Sun Mar 26 07:36:59 2006 Return-Path: X-Original-To: hackers@freebsd.org Delivered-To: freebsd-hackers@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 246AD16A400 for ; Sun, 26 Mar 2006 07:36:59 +0000 (UTC) (envelope-from rick@kiwi-computer.com) Received: from kiwi-computer.com (megan.kiwi-computer.com [63.224.10.3]) by mx1.FreeBSD.org (Postfix) with SMTP id 447AD43D45 for ; Sun, 26 Mar 2006 07:36:58 +0000 (GMT) (envelope-from rick@kiwi-computer.com) Received: (qmail 19993 invoked by uid 2001); 26 Mar 2006 07:36:57 -0000 Date: Sun, 26 Mar 2006 01:36:57 -0600 From: "Rick C. Petty" To: Greg 'groggy' Lehey Message-ID: <20060326073657.GB19681@megan.kiwi-computer.com> References: <20060326072009.GL25392@wantadilla.lemis.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060326072009.GL25392@wantadilla.lemis.com> User-Agent: Mutt/1.4.2.1i Cc: FreeBSD Hackers Subject: Re: Programs not accepting input? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Mar 2006 07:36:59 -0000 [ CC'd to hackers only ] On Sun, Mar 26, 2006 at 05:50:09PM +1030, Greg 'groggy' Lehey wrote: > In the last month or two I've seen increasing occurrences of programs > refusing keyboard input after they've been running for a while > (between hours and days). They still respond to the mouse. At first > I thought it was hardware, but it happens on a number of different > machines, and only with certain programs, all of them X clients. > One thing that the machines have in common is that they all run x2x I noticed very similar problems on both 5.4-stable and 6.0-RELEASE boxes running xorg. I've never used x2x, but I was running x11vnc, which I ended up assuming was the culprit. It's a really strange behavior-- I would have two rxvts side-by-side, one accepting keyboard input and the other I had to cut/paste text using the mouse. It was even more frustrating when it would happen in gaim & mozilla windows! The same gaim process wouldn't accept keyboard input in the conversation window but the buddy window did responded to commands (e.g. control-A brought up the accounts window). I was baffled.. The behavior was unpredictable but sometimes repeatable. Once a window stopped accepting keyboard events, that same window would continue ignoring the keyboard until I restarted that process. At first I thought it just affected GNOME apps, but when it happened to an rxvt, I gave up and recompiled that system and stopped using x11vnc. Sorry I'm no help, but at least I feel sane knowing it wasn't just me... -- Rick C. Petty