xpra icon
Bug tracker and wiki

This bug tracker and wiki are being discontinued
please use https://github.com/Xpra-org/xpra instead.


Opened 2 years ago

Last modified 6 months ago

#2264 assigned defect

win32 control-c does not run cleanups from mingw shell

Reported by: totaamwin32 Owned by: totaamwin32
Priority: minor Milestone: future
Component: platforms Version: 2.5.x
Keywords: Cc:

Description

This causes the keyboard state to get wedged if it was the remote end that triggered the control-c as the control key will not be unpressed by clear_keys_pressed.

Some excellent links:

Attachments (2)

ctrl_c.patch (6.5 KB) - added by totaamwin32 2 years ago.
Patch for winsup/cygwin/…
test.py (1.5 KB) - added by totaamwin32 2 years ago.
simplte test case - updated to be python version agnostic

Download all attachments as: .zip

Change History (7)

comment:1 Changed 2 years ago by totaamwin32

Owner: changed from Antoine Martin to totaamwin32
Status: newassigned

Also affects the "attach" subcommand, the handler never runs.

comment:2 Changed 2 years ago by totaamwin32

Priority: majorminor
Summary: win32 control-c server exits without running cleanupswin32 control-c server exits without running cleanups in mingw shell

Only affects mingw shell (and probably also cygwin).

Found some ancient related issues:

Maybe the patch never got merged?
Not sure where the right place is in msys2, https://github.com/msysgit/msys/blob/master/winsup/cygwin/exceptions.cc?

Last edited 2 years ago by totaamwin32 (previous) (diff)

Changed 2 years ago by totaamwin32

Attachment: ctrl_c.patch added

Patch for winsup/cygwin/...

comment:3 Changed 2 years ago by totaamwin32

Summary: win32 control-c server exits without running cleanups in mingw shellwin32 control-c does not run cleanups from mingw shell

Changed 2 years ago by totaamwin32

Attachment: test.py added

simplte test case - updated to be python version agnostic

comment:4 Changed 2 years ago by Antoine Martin

Milestone: 3.0future

comment:5 Changed 6 months ago by migration script

this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/2264

Note: See TracTickets for help on using tickets.