public inbox for
help / color / mirror / Atom feed
From: Jon TURNEY <>
Subject: Re: Long delay when using undo/redo in eclipse with Cygwin/X
Date: Thu, 27 Jun 2013 14:20:00 -0000	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <>

On 12/06/2013 23:33, Matt D. wrote:
> I'm not sure if this is the appropriate place to direct this question.
> Although the only case where I experience this is in eclipse, it only occurs
> when connecting to a remote X server.
> When using ctrl-z (undo) and ctrl-shift-z (redo) in eclipse there is a
> significant delay in the X session where it appears to 'hang' for several
> seconds. Holding down ctrl-z causes the hangs to queue and can be seen by the
> carrot only being updated when the text area is clicked in between each hang.
> The delay does NOT occur when eclipse is run locally on the machine; it only
> occurs with a remote X session. The X session is done over LAN so there is
> plenty of bandwidth available.
> A delay does NOT occur when doing large amounts of drawing in the text area,
> such as ctrl-a (select-all), very large cuts (ctrl-x), or pasts (ctrl-v).
> The delay does not appear to have any correlation to the size of the task
> being undone/redone. Undo on a single character has the same long delay as
> using undo after deleting everything in a source file.
> The delay still occurs when using undo from the edit menu or after having been
> rebound to another key (ctrl-r for example).
> Any suggestions?

There are a couple of things you might try to isolate the problem:

- try running the X server with -noclipboard to rule out any interaction with
the Windows clipboard integration.
- try a remote X server running on Linux, not Windows

If it behaves the same in both those cases, it looks like something Eclipse is
doing (perhaps requiring excessive round-trips to the server) and a wireshark
capture might be informative.

Volunteer Cygwin/X X Server maintainer

Unsubscribe info:
Problem reports:

      reply	other threads:[~2013-06-27 14:20 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-12 22:34 Matt D.
2013-06-27 14:20 ` Jon TURNEY [this message]

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:

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

  git send-email \ \ \ \ \

* 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).