X-Recipient: archive-cygwin@delorie.com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 02E803858C50
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
	s=default; t=1699299920;
	bh=91uwe4b2KVxqUtK56RIh1PQCzbXxBMBjsii4UggBYeY=;
	h=To:Subject:Date:References:In-Reply-To:List-Id:List-Unsubscribe:
	 List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
	 From;
	b=NJ57hoPLreLsbqDd4yeTw+jJsVpNFFr2ALqEt4QGTegdRGPRkL2z8e/7t4L+RliZa
	 hd55Eat7dj+PPLAqdVNy9Mc8LMGGTUg4fFEQycfbgqiKOk31bXMFFWLhnZeQyVzzyD
	 lZgS2SllPJuG6ZxBMhy0gwDOcQMGb2sxkSAMMtvw=
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org A0BA43858C50
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org A0BA43858C50
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1699299883; cv=none;
 b=LzRTrFtPVpFzPyq5M8Z8b0sHYPC3CLf956ZtKiQx7OjvzYyqzH1ndGqFEJl9yBERk1T4+rxvhv0qbn+q415fFS13I+wcK97lUGxU4DcFPydPNgtzYXxtKAJ99UW374Pp/9oAI/c9rweW2UYD8Zc3h3lBpN2KYc/yKVQqBsmyrQM=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
 t=1699299883; c=relaxed/simple;
 bh=GJMNJNZRPWmGdJtsPielXyk+KDQ8lgXtli7QUXooB5M=;
 h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version;
 b=MBA0p91ada9SoqAsqM2sHQVriFCp+n9ubO78eOhLKRqESZj3uXqqYkHltqR6SZB17p7/UQljE1LnqQRQhEP+lOjd2gKMxoMFvsQ6G2AtxQwc1UsoLYW7SVQYi4F+8RYHOtKHfm0VNMZV7NgFCrO3UPb1PeCQUenqIx4aLoZmHsg=
ARC-Authentication-Results: i=1; server2.sourceware.org
To: "cygwin@cygwin.com" <cygwin@cygwin.com>
Subject: RE: [EXT] Re: XWin copy/paste succeeds on Windows 7, crashes on
 Windows 11 Enterprise.
Thread-Topic: [EXT] Re: XWin copy/paste succeeds on Windows 7, crashes on
 Windows 11 Enterprise.
Thread-Index: AdoOkZldZkaI/m/oSRiHM2QwVvHrlwAwP1KAAGK0UJAAC8zygAAKLbIA//+0CACAAEugYA==
Date: Mon, 6 Nov 2023 19:44:40 +0000
Message-ID: <963e0be7a77b4e849cfbca73c209abb4@ida.org>
References: <242d35130d84418d934265782064690b@ida.org>
 <18fd5519-180d-4d48-95d1-994f7c5e36f5@dronecode.org.uk>
 <474496f4a2e94e3c8ba06e1a2eaa1d75@ida.org>
 <7166752f-e08e-4595-8915-d8eaec920718@Shaw.ca>
 <af765413f9df4a0790339f7c27d76c31@ida.org>
 <ab909be4-f56a-4bef-9931-e10193162967@Shaw.ca>
In-Reply-To: <ab909be4-f56a-4bef-9931-e10193162967@Shaw.ca>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [10.0.14.18]
MIME-Version: 1.0
X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00, DKIM_SIGNED,
 DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, SPF_HELO_NONE, SPF_PASS, TXREP,
 T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on
 server2.sourceware.org
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: "Stone, Timothy M via Cygwin" <cygwin@cygwin.com>
Reply-To: "Stone, Timothy M" <tstone@ida.org>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie.com@cygwin.com>



>-----Original Message-----
>From: Brian Inglis <Brian.Inglis@Shaw.ca> 
>Sent: Monday, November 6, 2023 2:14 PM
>To: cygwin@cygwin.com
>Cc: Stone, Timothy M <tstone@ida.org>
>Subject: Re: [EXT] Re: XWin copy/paste succeeds on Windows 7, crashes on Windows 11 Enterprise.

>On 2023-11-06 12:04, Stone, Timothy M via Cygwin wrote:
>>> Have you tried the original Motif copy/cut/paste C-Ins/S-Del/S-Ins 
>>> available at Windows system level to see if that can give you some 
>>> hints about what's happening?
>> I don't know how to do this...can you explain?

>Try Ctrl-Insert/Shift-Delete/Shift-Insert instead of ^C/^X/^V and see if anything is the same/different and if that tells you anything more.


Using these system commands gives the exact same results as in my app:

Ctrl-insert or Ctrl-c:  Should "copy", but crashes every time.

Shift-Delete or Ctrl-x:  Should "cut", but crashes every time.

Shift-insert or Ctrl-v:  Should "paste", but does nothing if I have the cursor positioned.
Actually, if I have some characters highlighted, they go away, as if I pasted "nothing".  At least it doesn't crash!
Perhaps because the cygwin clipboard is empty and it isn't for some reason using the system clipboard, it special cases to just remove the characters and not crash?

PS I have obviously started xwin with "-clipboard" (since it works on Windows 7).  It should see the system clipboard and paste that value.



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