public inbox for cygwin-xfree@sourceware.org
help / color / mirror / Atom feed
From: "Paul Maier" <svn-user@web.de>
To: <cygwin-xfree@cygwin.com>
Subject: Can't paste text or type blind keys when mouse is out of the window
Date: Sun, 07 Aug 2011 09:06:00 -0000	[thread overview]
Message-ID: <000901cc54e1$1dca8c50$595fa4f0$@de> (raw)

[-- Attachment #1: Type: text/plain, Size: 1303 bytes --]

Hi,

when xterm has keyboard focus, but mouse pointer is outside of the window (or
even on Window's blue title bar):


- all blind keys are ignored:

  o  instead of 'à' (key '`' then 'a') you get just a normal 'a'

  o  can't type '^' character (on a German keyboard done with blind '^' key then space)
     -> you will just get the space instead

  o  same with '`' or '´': all blind keys are affected

- can't paste text with the mouse

- all other keys work as expected


Effect:

- While working and not noticing that the mouse pointer slowly left the window,
  in vi you want to jump to mark a (typing `a).
  '`' is ignored and the 'a' brings vi into append mode!

- typing something like ":%s/^xxx/yyy/" is annoying, because you can't type ^,
  until you reposition the mouse pointer inside the window


100 % reproducable.

When the mouse pointer is inside the xterm, everything works fine:
you get à or ^ and can paste text.

It makes no difference whether I use XWin.20110803-git-a493c0465e56ce0b or
XWin.exe from the release.


Logs of xev and XWin.log (with -logverbose 3) are in the attachment.

The XWin.logs are the same regardless if mouse is inside or outside,
but I notice a small difference in xev's output.


Thanks & regards,
  Paul


[-- Attachment #2: mouseOutside-xev.txt --]
[-- Type: text/plain, Size: 1114 bytes --]

KeyPress event, serial 23, synthetic NO, window 0xa00001,
    root 0x101, subw 0x0, time 6034149, (-65,-31), root:(1064,196),
    state 0x0, keycode 49 (keysym 0xfe52, dead_circumflex), same_screen YES,
    XLookupString gives 1 bytes: (5e) "^"
    XFilterEvent returns: False

KeyRelease event, serial 23, synthetic NO, window 0xa00001,
    root 0x101, subw 0x0, time 6034243, (-65,-31), root:(1064,196),
    state 0x0, keycode 49 (keysym 0xfe52, dead_circumflex), same_screen YES,
    XLookupString gives 1 bytes: (5e) "^"
    XFilterEvent returns: False

KeyPress event, serial 23, synthetic NO, window 0xa00001,
    root 0x101, subw 0x0, time 6035631, (-65,-31), root:(1064,196),
    state 0x0, keycode 65 (keysym 0x20, space), same_screen YES,
    XLookupString gives 1 bytes: (20) " "
    XFilterEvent returns: False

KeyRelease event, serial 23, synthetic NO, window 0xa00001,
    root 0x101, subw 0x0, time 6035741, (-65,-31), root:(1064,196),
    state 0x0, keycode 65 (keysym 0x20, space), same_screen YES,
    XLookupString gives 1 bytes: (20) " "
    XFilterEvent returns: False

[-- Attachment #3: mouseOutside-XWin.log.txt --]
[-- Type: text/plain, Size: 500 bytes --]

[  5642.306] winTranslateKey: wParam 000000dc lParam 00290001
[  5642.306] winSendKeyEvent: dwKey: 41, fDown: 1, nEvents 2
[  5642.353] winTranslateKey: wParam 000000dc lParam c0290001
[  5642.353] winSendKeyEvent: dwKey: 41, fDown: 0, nEvents 2
[  5643.944] winTranslateKey: wParam 00000020 lParam 00390001
[  5643.944] winSendKeyEvent: dwKey: 57, fDown: 1, nEvents 2
[  5644.053] winTranslateKey: wParam 00000020 lParam c0390001
[  5644.053] winSendKeyEvent: dwKey: 57, fDown: 0, nEvents 2

[-- Attachment #4: mouseInside-xev.txt --]
[-- Type: text/plain, Size: 1128 bytes --]


KeyPress event, serial 20, synthetic NO, window 0xa00001,
    root 0x101, subw 0xa00002, time 6030249, (49,37), root:(1178,264),
    state 0x0, keycode 49 (keysym 0xfe52, dead_circumflex), same_screen YES,
    XLookupString gives 1 bytes: (5e) "^"
    XFilterEvent returns: False

KeyRelease event, serial 23, synthetic NO, window 0xa00001,
    root 0x101, subw 0xa00002, time 6030359, (49,37), root:(1178,264),
    state 0x0, keycode 49 (keysym 0xfe52, dead_circumflex), same_screen YES,
    XLookupString gives 1 bytes: (5e) "^"
    XFilterEvent returns: False

KeyPress event, serial 23, synthetic NO, window 0xa00001,
    root 0x101, subw 0xa00002, time 6031638, (49,37), root:(1178,264),
    state 0x0, keycode 65 (keysym 0x20, space), same_screen YES,
    XLookupString gives 1 bytes: (20) " "
    XFilterEvent returns: False

KeyRelease event, serial 23, synthetic NO, window 0xa00001,
    root 0x101, subw 0xa00002, time 6031747, (49,37), root:(1178,264),
    state 0x0, keycode 65 (keysym 0x20, space), same_screen YES,
    XLookupString gives 1 bytes: (20) " "
    XFilterEvent returns: False

[-- Attachment #5: mouseInside-XWin.log.txt --]
[-- Type: text/plain, Size: 502 bytes --]

[  5627.268] winTranslateKey: wParam 000000dc lParam 00290001
[  5627.268] winSendKeyEvent: dwKey: 41, fDown: 1, nEvents 2
[  5627.346] winTranslateKey: wParam 000000dc lParam c0290001
[  5627.346] winSendKeyEvent: dwKey: 41, fDown: 0, nEvents 2
[  5628.968] winTranslateKey: wParam 00000020 lParam 00390001
[  5628.984] winSendKeyEvent: dwKey: 57, fDown: 1, nEvents 2
[  5629.093] winTranslateKey: wParam 00000020 lParam c0390001
[  5629.093] winSendKeyEvent: dwKey: 57, fDown: 0, nEvents 2


[-- Attachment #6: Type: text/plain, Size: 223 bytes --]

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

             reply	other threads:[~2011-08-07  9:06 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-07  9:06 Paul Maier [this message]
2011-09-07 12:25 ` Jon TURNEY
2011-09-08 20:53   ` AW: " Paul Maier
2011-09-09 11:42     ` Jon TURNEY
2011-10-03 10:37       ` AW: " Paul Maier
2011-10-04  0:35         ` Thomas Dickey
2011-10-05  0:54           ` AW: " Paul Maier
2011-10-05  1:00             ` Thomas Dickey
2011-10-30 23:04               ` AW: " Paul Maier
2011-10-31  3:33                 ` Thomas Dickey
2012-07-22  0:28                   ` AW: AW: AW: AW: AW: Can't paste text or type dead " Paul Maier
2012-07-23  9:01                     ` Thomas Dickey
2011-10-05 13:03             ` AW: AW: AW: Can't paste text or type blind " Jon TURNEY

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='000901cc54e1$1dca8c50$595fa4f0$@de' \
    --to=svn-user@web.de \
    --cc=cygwin-xfree@cygwin.com \
    /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).