public inbox for cygwin-xfree@sourceware.org
help / color / mirror / Atom feed
From: Jon TURNEY <jon.turney@dronecode.org.uk>
To: cygwin-xfree@cygwin.com
Cc: kbrown@cornell.edu, gp1865@att.com
Subject: Re: FW: xorg-server 1.13.1-1: problems with xterm
Date: Sun, 10 Feb 2013 18:37:00 -0000	[thread overview]
Message-ID: <5117E8E1.6050806@dronecode.org.uk> (raw)
In-Reply-To: <5117966D.5050006@cornell.edu>

On 10/02/2013 12:45, Ken Brown wrote:
> On 2/8/2013 1:15 PM, Jon TURNEY wrote:
>> On 06/02/2013 17:18, PRIKHODKO, GEORGE wrote:
>>> After upgrading xorg-server and xorg-server-common packages from 1.13.0-1
>>> to 1.13.1-1 version, xterm stopped responding to mouse events. I can select
>>> a text in a xterm window, but I cannot paste in it using middle button;
>>> holding Ctrl button and pressing one of mouse buttons doesn't bring 'Main
>>> Options' or 'VT Fonts' menus. After rolling back to 1.13.0-1 version
>>> everything works as I expect.
>>>
>>> I have four computers WIndows XP, Vista, 7 and 8, and run XWin in
>>> multi-window mode:
>>>
>>> XWin -ac -clipboard -emulate3buttons -lesspointer -multiwindow
>>>
>>> All four computers show the same symptoms.
>>
>> It's really not necessary write 3 emails about this, and certainly doesn't get
>> you a reply any faster.
>>
>> I can't reproduce this problem.
>>
>> Are you using a 3-button mouse? Does removing -emulate3buttons help?
> 
> I'm also seeing a mouse problem.  It involves the combination
> shift-leftbutton-rightbutton (intended to emulate shift-middlebutton) after
> I've started XWin with -emulate3buttons.  I use a 2-button mouse with a scroll
> wheel that can be pressed to serve as a third button.  But I find it hard to
> press the scroll wheel without turning it, so I prefer to use -emulate3buttons.
> 
> The shift-left-right combination used to be seen by emacs as shift-middle, but
> now emacs doesn't seem to see it at all.  Moreover, after I press it once,
> either in emacs or elsewhere, both emacs and xterm stop responding to some
> other mouse events.
> 
> To reproduce (without emacs):
> 
> 1. Start the X server with
> 
>   startxwin -- -emulate3buttons
> 
> 2. Press shift-left-right in an xterm window, using a mouse of the type I
> described.
> 
> 3. Move the mouse over the titlebar of the xterm window.  The menu items don't
> get highlighted, and left-clicking on them has no effect.
> 
> The problem disappears if I remove the -emulate3buttons option; but that's not
> a good solution for me since I actually want to emulate 3 buttons.

Thanks for the reproduction steps.

It seems I introduced a bug in the -emulate3buttons code with some changes in
1.13.1-1, which could cause the emulated middle mouse button click to not be
released.

I've applied fix to address this, so hopefully this works better now.  I've
uploaded a snapshot at [1].  Perhaps you could try that and see if it
fixes the issue for you?

[1] ftp://cygwin.com/pub/cygwinx/XWin.20130210-git-02d68fce528227a5.exe.bz2


--
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:[~2013-02-10 18:37 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20130204180522.L8CD2.196982.root@hrndva-web22-z01>
2013-02-06 17:19 ` PRIKHODKO, GEORGE
2013-02-08 18:15   ` Jon TURNEY
2013-02-10 12:45     ` Ken Brown
2013-02-10 18:37       ` Jon TURNEY [this message]
2013-02-10 19:51         ` Ken Brown
2013-02-11 17:01     ` PRIKHODKO, GEORGE

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=5117E8E1.6050806@dronecode.org.uk \
    --to=jon.turney@dronecode.org.uk \
    --cc=cygwin-xfree@cygwin.com \
    --cc=gp1865@att.com \
    --cc=kbrown@cornell.edu \
    /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).