Bug 319529

Summary: sometimes, konsole does not properly pass/set window size with new tabs
Product: [Applications] konsole Reporter: Jon Nelson <jnelson-kde>
Component: generalAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED WAITINGFORINFO    
Severity: normal CC: a.samirh78, alexandernst, cpigat242, quantumphazor
Priority: NOR    
Version: 2.10.2   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:

Description Jon Nelson 2013-05-08 15:33:39 UTC
Sometimes I notice that with new tabs that the line wraps long before it should.
Bash believes that the window size is much smaller than it is -- echo $COLUMNS confirms this. Either enlarging the font (and then shrinking it, if I wanted to) or resizing the window usually does the trick. 

It may be correlated to high machine load, I can't tell, but it happens a few times a day for me.

openSUSE 12.3, x86_64, KDE 4.10.x

When it /does/ happen, it's easy to confirm: echo $COLUMNS shows 80 or 81 or thereabouts. A resize brings that value to the 210-range (which is what it should be in my case).



Reproducible: Sometimes
Comment 1 Alexander Nestorov 2013-11-21 23:05:57 UTC
I can confirm this. It just started happening to me after I updated to 4.11.3.
No matter how many times I resize Konsole, "echo $COLUMNS" keeps returning 80.

I'm on Arch x64, KDE 4.11.3, Qt 4.8.5, Konsole 2.11.3
Comment 2 Andrew M 2013-11-28 03:03:19 UTC
(In reply to comment #1)
> I can confirm this. It just started happening to me after I updated to
> 4.11.3.
> No matter how many times I resize Konsole, "echo $COLUMNS" keeps returning
> 80.
> 
> I'm on Arch x64, KDE 4.11.3, Qt 4.8.5, Konsole 2.11.3

Your problem may not be related.
This is a regresstion since $COLUMNS works with 2.11.2 on my Kubuntu machine. I made bug 328161 for this 2.11.3 resize problem. Someone who knows insides of Konsole can mark them dupes if they are related
Comment 3 Ahmad Samir 2018-03-01 19:37:53 UTC
If this is still an issue please reopen the report.