public inbox for cygwin-xfree@sourceware.org
help / color / mirror / Atom feed
From: Jon TURNEY <jon.turney@dronecode.org.uk>
To: 'cygwin-xfree' <cygwin-xfree@cygwin.com>
Cc: Paul Maier <svn-user@web.de>
Subject: Re: AW: Levovo trackpoint events come delayed (reproducable with xev)
Date: Wed, 15 Aug 2012 17:52:00 -0000	[thread overview]
Message-ID: <502BE1E2.4050701@dronecode.org.uk> (raw)
In-Reply-To: <000001cd7a5c$88a929e0$99fb7da0$@de>

>>> 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/


  parent reply	other threads:[~2012-08-15 17:52 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-22 23:11 Levovo trackpoint " Paul Maier
2012-01-23 13:18 ` Jon TURNEY
2012-01-23 21:57   ` AW: " Paul Maier
2012-01-24 13:17     ` Jon TURNEY
2012-01-24 13:52       ` Ryan Johnson
     [not found]       ` <000001ccde8a$f0fc2010$d2f46030$@de>
     [not found]         ` <4F2A7C93.6080705@dronecode.org.uk>
2012-02-02 19:47           ` AW: QAW: " Paul Maier
2012-02-03 15:49             ` Jon TURNEY
2012-02-03 22:39               ` AW: " Paul Maier
2012-07-22  0:42               ` Levovo trackpoint events " Paul Maier
2012-08-06 13:31                 ` Jon TURNEY
     [not found]                   ` <000001cd7a5c$88a929e0$99fb7da0$@de>
2012-08-15 17:52                     ` Jon TURNEY [this message]
2012-02-02 20:33           ` AW: QAW: AW: Levovo trackpoint " Paul Maier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=502BE1E2.4050701@dronecode.org.uk \
    --to=jon.turney@dronecode.org.uk \
    --cc=cygwin-xfree@cygwin.com \
    --cc=svn-user@web.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).