Bug 294606

Summary: Line breaks after 81 characters on startup
Product: [Applications] yakuake Reporter: Rishab Arora <ra.rishab>
Component: generalAssignee: Eike Hein <hein>
Status: CONFIRMED ---    
Severity: normal CC: adaptee, aspotashev, boladinhact, claudius.ellsel, nicholas.ohs, notuxius
Priority: NOR    
Version First Reported In: 2.9.8   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Startup shell. Appears as intended in subsequent shells.
What it looks like in shell no 2

Description Rishab Arora 2012-02-22 12:31:01 UTC
Created attachment 69001 [details]
Startup shell. Appears as intended in subsequent shells.

Version:           2.9.8 (using KDE 4.7.4) 
OS:                Linux

I have a simple command in /.bashrc to display custom ASCII art every time a terminal is opened. Works fine except on all terminals except the start up terminal (that appears when yakuake starts) which introduces automatic line breaks.

Reproducible: Always

Steps to Reproduce:
1) in ~/.bashrc put "echo 'any string > 81 characters'" at the end.
2) start yakuake

Actual Results:  
auto line breaks in startup shell

Expected Results:  
no unintentional line breaks.

OS: Linux (x86_64) release 3.0.0-16-generic
Compiler: gcc
Comment 1 Rishab Arora 2012-02-22 12:32:38 UTC
Created attachment 69002 [details]
What it looks like in shell no 2
Comment 2 Jekyll Wu 2012-05-30 21:12:27 UTC
This sound like another example of bug 176902. Try installing konsole 2.8.x (the one shipped by KDE SC 4.8.x). That should solve this problem.
Comment 3 Rishab Arora 2012-06-01 18:30:40 UTC
(In reply to comment #2)
> This sound like another example of bug 176902. Try installing konsole 2.8.x
> (the one shipped by KDE SC 4.8.x). That should solve this problem.

Updated to Konsole 2.8.2, Yakuake 2.9.8 on KDE 2.8.2
The problem persists. If there are any tests you can suggest, I'll be happy to do them.
Comment 4 Jekyll Wu 2012-06-02 02:33:10 UTC
Ah, I see the problem. I guess your yakuake is configured to not show up on startup, right? 

This is basically a problem of konsolepart, where the current code expects host application to show the embedded widget right after creating it so that konsolepart can calculate the proper terminal size before starting the appliaation.
Comment 5 Rishab Arora 2012-06-02 11:55:08 UTC
(In reply to comment #4)
> Ah, I see the problem. I guess your yakuake is configured to not show up on
> startup, right? 
> 
> This is basically a problem of konsolepart, where the current code expects
> host application to show the embedded widget right after creating it so that
> konsolepart can calculate the proper terminal size before starting the
> appliaation.

Yes, It is invisible on startup. By startup I mean when I launch it manually.

However, if I have it launch automatically when I log in, the output on the terminal is normal. (I also notice that after login, yakuake is visible for a split second but not on manual startup. Maybe this is related).
Comment 6 nicholas.ohs 2016-11-17 22:34:07 UTC
This buggy behaviour still exists. Are there any plans to have this fixed? Maybe delay konsole until yakuake is visible the first time?
Comment 7 Alexander Mentyu 2017-08-16 15:21:36 UTC
Confirming this bug in Yakuake 3.0.4+

Qt Version: 5.9.1
Frameworks Version: 5.36.0
Operating System: Linux 4.9.40-1-MANJARO x86_64
Distribution: "Netrunner Rolling"