You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
woah, nice find. What OS are you on? We actually don't have Ctrl+C anywhere for close, but we do use CLOSE = QKeySequence.Close in cola/hotkeys.py. Usually what we really want is Esc for closing, regardless of platform.
It's possible that Qt may be following the OS convention and mapping Ctrl+C to Close, unfortunately.
Are you on Windows? If you can verify that you're on Windows then we can add an OS-specific tweak to use Qt.Key_Esc instead of QKeySequence.Close. IIRC, both Linux and macOS use Esc, but maybe it's not worth using QKeySequence anymore on all platforms, so we should just use our own definition instead of relying on QKeySequence. Thanks for the heads-up.
Nope, that doesn't seem to be related, actually. We're using a built-in Qt widget for the prompt, so this is definitely an OS or Qt-specific issue. What version of Qt are you using?
To reproduce:
Expected: Text is copied
Actual: Text is not copied, dialog is closed
The text was updated successfully, but these errors were encountered: