"select-all, kill" leaves qtconsole in unusable state #1134

Closed
bfroehle opened this Issue Dec 9, 2011 · 4 comments

Projects

None yet

4 participants

@bfroehle

Open up qtconsole and use the keyboard to type select-all, kill (C-A C-k). This gives you an empty window where you can type but enter/return do not work.

Clearing the screen (C-l) does fix it.

@Carreau
IPython member

I did have a quick look.

Issues is in console_widget.py around L1050 when killing cursor with the kill ring.

Is there a particular reason to a different implementation for cutting normal (Ctrl+x) versus cutting kill ring (Ctrl+k) except for the rotation part ? Can't the two just call self.cut() (well implemented) and depending on wether kor x is pressed append (or not) to the ring ?

@fperez
IPython member

@Carreau, I don't really think so. We don't implement a full-blown emacs-style kill ring with multiple levels, so I don't think there needs to be a difference. Perhaps @epatters has some insights here?

@epatters epatters closed this in cbfb011 Dec 14, 2011
@epatters

Actually, we do implement a kill ring with multiple recall ala Emacs. Trying killing several things, then doing C-y followed by M-y.

In any case, this is fixed.

@fperez
IPython member
@mattvonrocketstein mattvonrocketstein pushed a commit to mattvonrocketstein/ipython that referenced this issue Nov 3, 2014
@epatters epatters BUG: Ctrl+K and Ctrl+U shortcuts unsafe in Qt console.
Closes gh-1134.
c811a77
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment