delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2022/03/23/07:59:08

X-Recipient: archive-cygwin AT delorie DOT com
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 0FE7C385E457
Authentication-Results: sourceware.org; dmarc=none (p=none dis=none)
header.from=mehconsulting.com
Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=m.gmane-mx.org
X-Injected-Via-Gmane: http://gmane.org/
To: cygwin AT cygwin DOT com
From: Mark Hansen <cygwin AT mehconsulting DOT 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
Message-ID: <0f7bbc5e-8924-8e03-c939-4bfefd2b2fd4@mehconsulting.com>
References: <CAHbrQH6e8VdH3u-4m0DO=t3XvS11BxQy09a9hK6Y1FoJMWzOXA AT mail DOT gmail DOT com>
<CAHbrQH6ihLTvE=iAcF1WbnCJ6pOBxniESMVq14Xxy3PKAHkGjA AT mail DOT gmail DOT com>
Mime-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101
Thunderbird/52.7.0
In-Reply-To: <CAHbrQH6ihLTvE=iAcF1WbnCJ6pOBxniESMVq14Xxy3PKAHkGjA@mail.gmail.com>
X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,
HEADER_FROM_DIFFERENT_DOMAINS, KAM_DMARC_STATUS, NICE_REPLY_A, SPF_HELO_NONE,
SPF_PASS, TXREP,
T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.4
X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT 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 AT gmail DOT 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 AT cygwin DOT 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.
> 
> 
> 
> 



-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019