#879713 konsole: Konsole freezes for a minute when I press backspace in empty command line

Package:
konsole
Source:
konsole
Description:
X terminal emulator
Submitter:
Wojciech Zabołotny
Date:
2017-11-07 09:57:03 UTC
Severity:
important
#879713#5
Date:
2017-10-24 21:57:46 UTC
From:
To:
Dear Maintainer,

Since a few days (or weeks?) I experience a strange behavior in konsole.
When editing a command line, if I press backspace too many times finally
trying to delete a character from an empty line, konsole freezes for ca.
one minute. The CPU load is almost 0%, other programs in the X windows
session work corectly. Even other konsole windows work correctly.

The interesting thing is that the problem occurs exactly ones in each
konsole window. It doesn't matter how many tabs I open. If I press backspace
in the empty command line for the first time in one of open tabs, the whole
window freezes. After it recovers, I can safely press backspace in all tabs
without any problems.
In fact it looks like konsole gets blocked trying to connect to certain not
running network service.

I don't know it it matters, but I use konsole in the MATE session.

Regards,
Wojtek

#879713#10
Date:
2017-10-24 23:12:36 UTC
From:
To:
Hi,
I have checked, that other terminals available in MATE like

  * xterm
  * mate-terminal
  * xfce4-terminal

are not affected by the above problem. Only konsole windows freeze when
I press backspace in the empty commandline.

Regards,

Wojtek

#879713#15
Date:
2017-11-07 09:45:17 UTC
From:
To:
Hi,

Try to use [Tab] key from keyboard to complete the command or path when you
are typing something. You will get exactly the same freeze.

Yes, this is important. When program is launched directly in KDE session this
bug is not reproducible.

But this bug could but easily reproduced even in KDE session. If there are two
users in your system (user1 and user2) and you have logged in as user1 then
launch:

$ ssh -C -X -p 22 user2@localhost konsole

and you will be able to see a number of issues in launched KDE application.
One of these issues is a bug described above.

Best regards,
Boris