[issue40452] IDLE: preserve clipboard on closure on Windows

2020-05-18 Thread Tal Einat
Tal Einat added the comment: I closed the PR but IMO this issue should remain open. I am changing the title, though, since this is not actually Windows-specific. -- ___ Python tracker

[issue40452] IDLE: preserve clipboard on closure on Windows

2020-05-18 Thread E. Paine
Change by E. Paine : -- stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing

[issue40452] IDLE: preserve clipboard on closure on Windows

2020-05-18 Thread Tal Einat
Tal Einat added the comment: I can reproduce this behavior on macOS as well, so this doesn't seem to be Windows-specific. This does not happen with other apps in general, so it is not normal behavior for apps. Testing with a minimal tkinter app (see code below) gives similar behavior, so

[issue40452] IDLE: preserve clipboard on closure on Windows

2020-05-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: eryksun, Piping to clip.exe is not working well. On the patch, I asked if you know what Windows system call it uses, but I cannot request your review there. -- nosy: +eryksun ___ Python tracker

[issue40452] IDLE: preserve clipboard on closure on Windows

2020-05-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: Now that I think about it, I have run into enough problems with ^V not pasting something copied with ^C that I always leave source windows open until successful. I had not noticed that there is only a problem between windows (but this may be true) or after

[issue40452] IDLE: preserve clipboard on closure on Windows

2020-05-17 Thread E. Paine
E. Paine added the comment: Test example: 1) Open IDLE (shell or editor) 2) Copy some text in the IDLE window 3) Close the IDLE window (instance should end) 4) Paste into application of choice Without the patch, the clipboard is cleared when the instance ends so nothing is pasted. With the

[issue40452] IDLE: preserve clipboard on closure on Windows

2020-05-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: Please write out a manual test example (steps 1, 2, ..., N) that fails now and passes with the patch. -- title: IDLE preserve clipboard on closure (Windows) -> IDLE: preserve clipboard on closure on Windows versions: +Python 3.7, Python 3.8