xpra icon
Bug tracker and wiki

Opened 2 weeks ago

Last modified 2 weeks ago

#2264 assigned defect

win32 control-c does not run cleanups from mingw shell

Reported by: totaamwin32 Owned by: totaamwin32
Priority: minor Milestone: 3.0
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 weeks ago.
Patch for winsup/cygwin/…
test.py (1.3 KB) - added by totaamwin32 2 weeks ago.
simple test class

Download all attachments as: .zip

Change History (5)

comment:1 Changed 2 weeks 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 weeks 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 weeks ago by totaamwin32 (previous) (diff)

Changed 2 weeks ago by totaamwin32

Attachment: ctrl_c.patch added

Patch for winsup/cygwin/...

Changed 2 weeks ago by totaamwin32

Attachment: test.py added

simple test class

comment:3 Changed 2 weeks ago by totaamwin32

Summary: win32 control-c server exits without running cleanups in mingw shellwin32 control-c does not run cleanups from mingw shell
Note: See TracTickets for help on using tickets.