X-Recipient: archive-cygwin@delorie.com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 838DA3858D35
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
	s=default; t=1697763083;
	bh=eOxLPNCZlH/VxWHecZ/1QWw1XIzddpAgVOGPszwJCMA=;
	h=Date:To:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post:
	 List-Help:List-Subscribe:From:Reply-To:From;
	b=pLMYK5LN3oSdglplubxITY4kz4no1u6Ps22JKyG3PoL6Ez8Sk8yn6KTX2DUFJBhkr
	 Vfp95rt3UM3lJudY+4+zvK3tYvEUODPn/Lb+52uKd7FJyJDCWcWThNdGeB13u9QVWY
	 PC+bry5rRznyTya2Od4mpeECB+rd/ou43Sjpl298=
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 515833858D1E
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 515833858D1E
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1697763069; cv=none;
 b=NOmc+4tfxDK4RSL7Sy68vMvOagkU5IXxNzC3EMvZMvPMVk1FfeomBD6pZrJ/PMI0+ntjxG6SPDuhDdTxw0d7vGcV2IvQIB5bM4b/5DOho7TWlbzJV9AfLwDLVv6LKsgjqtuFwpYdZXDA2YQ/ulGTsH5BI0RJCS68UKHO92URmSI=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
 t=1697763069; c=relaxed/simple;
 bh=At8MzDbZZFiQRB9xaGC6T2ibLwDK0t+iPNy/gG4l0X0=;
 h=Message-ID:Date:MIME-Version:To:From:Subject;
 b=nko+c9NOtVEzO1X1FaEEddDaWt/8PD7rBz/ky0RcmFvQMqGf8HkPFoCXXJqTA2iL2ij5/Bfu3scW6KTiCAtXis036uMM4xlYhjGUhOolmHKhdxq5HebHtWwzPg4c/zHLOX9RsB1r2o3AUp4/BlERkTlWIJ2byLy+VwYGe/aJIY0=
ARC-Authentication-Results: i=1; server2.sourceware.org
X-Virus-Scanned: Debian amavisd-new at smtp01.aussiebb.com.au
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on
 server2.sourceware.org
X-Spam-Level: 
X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS,
 PDS_BRAND_SUBJ_NAKED_TO, SPF_HELO_NONE, SPF_SOFTFAIL,
 TXREP autolearn=no autolearn_force=no version=3.4.6
Message-ID: <a22bf269-ad22-4bdc-814f-bf5594e845e8@shaddybaddah.name>
Date: Fri, 20 Oct 2023 11:50:55 +1100
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Content-Language: en-GB
To: cygwin@cygwin.com
Subject: Cygwin/X - doorknock like behaviour for new windows
X-BeenThere: cygwin@cygwin.com
X-Mailman-Version: 2.1.30
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
From: Shaddy Baddah via Cygwin <cygwin@cygwin.com>
Reply-To: Shaddy Baddah <lithium-cygwin@shaddybaddah.name>
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"; Format="flowed"
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie.com@cygwin.com>

Hi,

I've now noticed this across two different installations, both Windows
10 and Windows 11. I've refrained from attaching a cygcheck output for
the moment, because I'm confident this is reproducible.

What I am seeing is that for Cygwin/X, in multi-window mode (and it
just occurred to me it would be helpful to check the behaviour in
rooted(? manual page terminology) mode. I'll follow-up on this)...
in multi-window mode (Xwin -multiwindow), when I try to open an X window
for any given app, it is not displayed on the first run.

Either nothing happens, and I must ctrl-c the command line and retry, or
a non-visible Window is created, so that the icon tray displays an icon
with the generic X image, but not the icon of the X app itself.

What I understand to be the base control test is to use xbiff. So just
for completeness, this is how I reproduce for xbiff:

terminal 1
===
$ /usr/bin/XWin :1 -nolisten tcp -ac -multiwindow

terminal 2
===
$ DISPLAY=:1; export DISPLAY
$ xbiff
Warning: Cannot convert string "flagup" to type Pixmap
Warning: Cannot convert string "flagdown" to type Pixmap
^C
$ xbiff
Warning: Cannot convert string "flagup" to type Pixmap
Warning: Cannot convert string "flagdown" to type Pixmap
<xbiff displays>

I'll follow-up with my rooted mode observations.

-- 
Regards,
Shaddy

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