From owner-freebsd-x11@FreeBSD.ORG Wed Nov 28 02:25:33 2012 Return-Path: Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3EED126B for ; Wed, 28 Nov 2012 02:25:33 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from shell0.rawbw.com (shell0.rawbw.com [198.144.192.45]) by mx1.freebsd.org (Postfix) with ESMTP id 2628C8FC08 for ; Wed, 28 Nov 2012 02:25:32 +0000 (UTC) Received: from eagle.yuri.org (stunnel@localhost [127.0.0.1]) (authenticated bits=0) by shell0.rawbw.com (8.14.4/8.14.4) with ESMTP id qAS2PURd069712 for ; Tue, 27 Nov 2012 18:25:31 -0800 (PST) (envelope-from yuri@rawbw.com) Message-ID: <50B57617.4010404@rawbw.com> Date: Tue, 27 Nov 2012 18:25:27 -0800 From: Yuri User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: freebsd-x11@freebsd.org Subject: Why single click sometimes generates double click event? Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Nov 2012 02:25:33 -0000 On my system single click sometimes acts like double click when it shouldn't. There are some apps in which I keep noticing this. For example, thunderbird often (but not always) opens the message when I click on it once. Or, which is especially annoying, it opens the range of messages for deletion when I click on the first one, and then on the last one with the Shift. Intention is just a selection, and it opens them like it was a double click. And then there is the vnc window, which is very likely to go into the maximized state from just one click (kde4 wm). And in qbittorrent torrents sometimes open on single click. As I understand, there is no such x11 event as "double clock", apps detect double click based on ButtonPress/ButtonRelease x11 events. And qt apps detect double clicks in qt framework. kde settings (400ms in my case) should be used for this. There is also the line *multiClickTime: 400 in ~/.Xdefaults which I am not sure affects anything or not. It looks like the second click follows the first one very promptly when such click has never really been made. However 'xev' never shows such fenomenon. It also isn't capable to "spy" after another app's mouse events for some reason. Did anybody have such problem? Yuri