Bug 435638 - Killing nslookup in Konsole breaks font
Summary: Killing nslookup in Konsole breaks font
Status: RESOLVED UPSTREAM
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: 20.12.3
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-04-12 04:51 UTC by Juho
Modified: 2021-04-14 15:26 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
problem after closing nslookup with ctrl+c (21.75 KB, image/png)
2021-04-12 08:56 UTC, Juho
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Juho 2021-04-12 04:51:40 UTC
SUMMARY
Killing nslookup with CTRL+C in Konsole breaks the font.
you don't see anymore what is typed until Konsole is restarted.

STEPS TO REPRODUCE
1. Open nslookup 
2. Kill it with CTRL+C
3. Font breaks down

OBSERVED RESULT
-> CTRL+C breaks the font/text and Konsole needs to be restarted. 
You don't see anymore what is typed to Konsole.

EXPECTED RESULT
Typed text should stay normal as it was before starting nslookup.

SOFTWARE/OS VERSIONS
OS: KDE Neon 5.21
KDE Plasma Version: 5.21.4
KDE Frameworks Version: 5.80.0
Qt Version: 5.15.2
Comment 1 Ahmad Samir 2021-04-12 08:42:08 UTC
I've just tested this and everything seemed to work.

Does it happen with one specific font or all monospace fonts?
Comment 2 Juho 2021-04-12 08:56:52 UTC
Created attachment 137521 [details]
problem after closing nslookup with ctrl+c

Now typing anything just keeps the white box there and hitting enter executes the command which is not showing up on the screen...
Comment 3 Juho 2021-04-12 08:58:09 UTC
(In reply to Ahmad Samir from comment #1)
> I've just tested this and everything seemed to work.
> 
> Does it happen with one specific font or all monospace fonts?

I added a screenshot, I'm not sure is it just a font issue. The white box just stays there and doesn't show text which is typed.

I tried to change my Breeze Dark to Breeze but it didn't solve it.
Comment 4 Juho 2021-04-13 10:38:39 UTC
I can reproduce this with KDE Neon live USB environment with default settings.

Package versions:
Konsole 20.12.3
nslookup 9.16.1-Ubuntu
Comment 5 Ahmad Samir 2021-04-13 17:58:54 UTC
I tested and I don't get that behaviour. How do you end/exit nslookup?

I did:
$ nslookup
$ yahoo.com
it displays some info, I press Ctrl+C Ctrl+C or Ctrl+D (once) to exit.
Comment 6 Juho 2021-04-14 06:36:47 UTC
(In reply to Ahmad Samir from comment #5)
> I tested and I don't get that behaviour. How do you end/exit nslookup?
> 
> I did:
> $ nslookup
> $ yahoo.com
> it displays some info, I press Ctrl+C Ctrl+C or Ctrl+D (once) to exit.

I just hit CTRL+C once inside nslookup, and after that Konsole doesn't show anymore any input and the only way to get get it back to the working state is to restart Konsole.
Comment 7 Juho 2021-04-14 08:34:28 UTC
Hmm-m, I think this is more like nslookup issue than KDE.
I tried nslookup in CLI without X or KDE and I have the same issue.
Comment 8 Juho 2021-04-14 15:02:02 UTC
Exiting the program by typing exit makes Konsole work like expected. 
So it's only ctrl+c (violent kill) which breaks it.
Comment 9 Ahmad Samir 2021-04-14 15:26:39 UTC
Actually I have to press Ctrl+C twice to exit, or Ctrl+D (once).

It's not a Konsole bug.