public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Mark Hansen <cygwin@mehconsulting.com>
To: cygwin@cygwin.com
Subject: Re: Fwd: Cygwin-X AWT windows snap back after drag in multi-window mode (w/example): long-standing issue
Date: Wed, 23 Mar 2022 04:57:36 -0700	[thread overview]
Message-ID: <0f7bbc5e-8924-8e03-c939-4bfefd2b2fd4@mehconsulting.com> (raw)
In-Reply-To: <CAHbrQH6ihLTvE=iAcF1WbnCJ6pOBxniESMVq14Xxy3PKAHkGjA@mail.gmail.com>

On 3/23/2022 4:38 AM, John Harris wrote:
> I'm trying one more posting of this from a month ago hopefully to get
> more eyes on it (got no replies last time). I apologize for the
> repeat, and will stop if no one has any leads on how to fix this. It's
> such a frustrating bug that's easily reproducible and only happens
> with Cygwin-X multi window mode.

I see what I think is the same thing, but only when I'm running a Java Swing (GUI) application
on a Linux host (CentOS) and displaying to my Windows PC running Cygwin X Server.

If I run other X applications on the Linux host (displayed to my X Server) they do
not see this.


> 
> ---------- Forwarded message ---------
> From: John Harris <tamboril@gmail.com>
> Date: Sun, Feb 13, 2022 at 10:14 AM
> Subject: Cygwin-X AWT windows snap back after drag in multi-window
> mode (w/example): long-standing issue
> To: <cygwin@cygwin.com>
> 
> 
> For well over ten years, I (and other developers with the same
> configuration) have been experiencing this issue with Cygwin-X in
> multi-window mode with Java AWT apps.
> 
> The issue is simply that the first time (and only the first time)
> certain AWT dialogs are dragged to move them, they snap back to their
> original position.
> 
> The problem exists across JDK's, computers, cygwin versions, fresh
> installs, and everything I've tried.
> 
> This can easily be reproduced by compiling (javac) and running (java)
> the attached trivial AWT code. If you get this error at runtime:
> 
>    Exception in thread "main" java.awt.AWTError: Assistive Technology
> not found: org.GNOME.Accessibility.AtkWrapper
> 
> ...then you need to do these steps:
> 
> edit /etc/java-<ver>-openjdk/accessibility.properties, commenting out
> the line that reads,
>     assistive_technologies=org.GNOME.Accessibility.AtkWrapper
> 
> The attached program will demonstrate the issue. Also attached are
> (shortened) cygcheck output and the XWin log.
> 
> 
> 
> 


  reply	other threads:[~2022-03-23 11:57 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-13 16:14 John Harris
2022-03-23 11:38 ` Fwd: " John Harris
2022-03-23 11:57   ` Mark Hansen [this message]
2022-08-14 11:11 ` 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=0f7bbc5e-8924-8e03-c939-4bfefd2b2fd4@mehconsulting.com \
    --to=cygwin@mehconsulting.com \
    --cc=cygwin@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).