>-----Original Message-----
>From: Brian Inglis <brian.ing...@shaw.ca> 
>Sent: Monday, November 6, 2023 2:14 PM
>To: cygwin@cygwin.com
>Cc: Stone, Timothy M <tst...@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

Reply via email to