xpra icon
Bug tracker and wiki

Opened 3 months ago

Last modified 5 weeks 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 3 months ago.
Patch for winsup/cygwin/…
test.py (1.5 KB) - added by totaamwin32 7 weeks ago.
simplte test case - updated to be python version agnostic

Download all attachments as: .zip

Change History (6)

comment:1 Changed 3 months ago by totaamwin32

Owner: changed from Antoine Martin to totaamwin32
Status: newassigned

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

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

Changed 3 months ago by totaamwin32

Attachment: ctrl_c.patch added

Patch for winsup/cygwin/...

comment:3 Changed 3 months 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 7 weeks ago by totaamwin32

Attachment: test.py added

simplte test case - updated to be python version agnostic

comment:4 Changed 5 weeks ago by Antoine Martin

Milestone: 3.0future
Note: See TracTickets for help on using tickets.