From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11024 invoked by alias); 15 Aug 2012 17:52:16 -0000 Received: (qmail 10883 invoked by uid 22791); 15 Aug 2012 17:52:14 -0000 X-SWARE-Spam-Status: No, hits=-3.0 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org Received: from smtpout.karoo.kcom.com (HELO smtpout.karoo.kcom.com) (212.50.160.34) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 15 Aug 2012 17:52:00 +0000 Received: from 213-152-38-55.dsl.eclipse.net.uk (HELO [192.168.1.103]) ([213.152.38.55]) by smtpout.karoo.kcom.com with ESMTP; 15 Aug 2012 18:51:58 +0100 Message-ID: <502BE1E2.4050701@dronecode.org.uk> Date: Wed, 15 Aug 2012 17:52:00 -0000 From: Jon TURNEY Reply-To: 'cygwin-xfree' User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:14.0) Gecko/20120713 Thunderbird/14.0 MIME-Version: 1.0 To: 'cygwin-xfree' CC: Paul Maier Subject: Re: AW: Levovo trackpoint events come delayed (reproducable with xev) References: <000301ccd95b$09e07ca0$1da175e0$@de> <4F1D5E08.5020803@dronecode.org.uk> <000701ccda19$ddd393d0$997abb70$@de> <4F1EAF7D.5030602@dronecode.org.uk> <000001ccde8a$f0fc2010$d2f46030$@de> <4F2A7C93.6080705@dronecode.org.uk> <000001cce1e3$6456d5e0$2d0481a0$@de> <4F2C0226.8050706@dronecode.org.uk> <004d01cd67a2$7c0d6d30$74284790$@de> <501FC729.9090504@dronecode.org.uk> <000001cd7a5c$88a929e0$99fb7da0$@de> In-Reply-To: <000001cd7a5c$88a929e0$99fb7da0$@de> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-xfree-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-xfree-owner@cygwin.com Reply-To: cygwin-xfree@cygwin.com Mail-Followup-To: cygwin-xfree@cygwin.com X-SW-Source: 2012-08/txt/msg00028.txt.bz2 >>> You should then be able to see WM_MOUSEWHEEL messages being delivered in the >>> debug output from XWin when you use the trackpoint scrolling. Are they being >>> delivered on time? > Description of my testing that produced that log: > > 1. with xterm > - second 304: I press center button and try to scroll with Lenovo trackpoint. > I don't release the center button for some seconds. > xterm shows no scrolling > - second 310: I release the center button. > xterm jump scrolls a far distance all at once. > > 2. same with xev > - second 360: I press center button and try to scroll with Lenovo trackpoint (ok, there is nothing to scroll in a xev, but I > think you understand what I did). > I don't release the center button for some seconds. > - second 364: I release the center button. > > The rest is XWin startup or my "kill -9 [XWin]" or opening xterms or other irrelevant stuff. > > Regarding "'WIN_DEBUG_MESSAGES=1": Because I start XWin from a tcsh shell, I added a > "setenv WIN_DEBUG_MESSAGES 1" before the XWin call. Did that work out, i. e. was that setting active? Yes, these logs contain the required detail. Unfortunately, they don't seem to show that XWin is doing anything wrong. WM_MOUSEWHEEL [1] messages are only being sent to XWin at the point in time you mention the center button being released, but are then correctly converted into X events. e.g. [ 309.303] winWindowProc - WM_MOUSEWHEEL - 0x07800000 0x0152030f is converted into a sequence of press/release events for the zaxis up button [ 309.303] winMouseButtonsSendEvent: iEventType: 4, iButton: 4 [ 309.303] winMouseButtonsSendEvent: iEventType: 5, iButton: 4 I have to say this really looks like some kind of issue with the trackpoint software or it's configuration. I also note that the 'configuration' of the trackpoint driver as described in [2] matches on the executable name, so that won't be doing anything useful in this case, as the executable is called 'XWin.20120806-git-25dd890818f3e308 .exe' and not 'XWin.exe' It would be interesting to compare with a similar log when 'ico' is also running, since apparently that makes things behave correctly. [1] http://msdn.microsoft.com/en-us/library/windows/desktop/ms645617%28v=vs.85%29.aspx [2] http://x.cygwin.com/docs/faq/cygwin-x-faq.html#q-trackpoint -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/