Bug 477359 - konsole creates new tab with LINES=24
Summary: konsole creates new tab with LINES=24
Alias: None
Product: Fedora
Classification: Fedora
Component: kdebase
Version: 10
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Than Ngo
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2008-12-20 23:26 UTC by Jonathan Wakely
Modified: 2010-07-25 12:47 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2009-02-19 11:42:50 UTC

Attachments (Terms of Use)

System ID Priority Status Summary Last Updated
KDE Software Compilation 176902 None None None Never

Description Jonathan Wakely 2008-12-20 23:26:10 UTC
Description of problem:

When opening a new tab in a konsole window with dimensions 80x40, the new tab has LINES=24 set in the environment.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:

1. Close all konsole windows
2. Open new konsole window, resize to 80x40, close window.
3. Open konsole window then open a new tab
4. In the new tab run 'echo $LINES ; resize ; echo $LINES'
Actual results:

$ echo $LINES ; resize ; echo $LINES

Expected results:

$ echo $LINES ; resize ; echo $LINES

Additional info:

Note that after running resize, the environment changes to the correct value.
This only seems to happen if the window is 80x40, any other size, e.g. 81x40 or 80x39 the value of $LINES is correct in the new tab.

Comment 1 Rex Dieter 2008-12-21 22:16:38 UTC
I'm currently testing kde-4.2(beta2), and can't reproduce this there, so hopefully that means

Comment 2 Jaroslav Reznik 2009-01-05 09:18:11 UTC
I can reproduce it in KDE 4.1 (kdebase-4.1.3-2.fc10.x86_64).

Comment 3 Jaroslav Reznik 2009-01-06 12:09:50 UTC
And it is still reproducible in latest SVN trunk (clean, no Fedora patches). Looks like this bug: https://bugs.kde.org/show_bug.cgi?id=176902 (Vim in tabbed shell truncated to 24 lines).

Comment 4 Steven M. Parrish 2009-01-10 15:21:03 UTC
Thank you for the bug report.  This issue needs to be addressed by the upstream developers.  Please submit a report at http://bugs.kde.org. You are requested to add the bugzilla link here for tracking purposes. Please make sure the bug isn't already in the upstream bug tracker before filing it.

Comment 5 Jonathan Wakely 2009-01-10 16:34:04 UTC
the external bug is already linked, see comment #3

Comment 6 Kevin Kofler 2009-01-10 18:47:14 UTC
Thanks, we will continue monitoring this upstream.

Comment 7 Kevin Kofler 2009-02-09 18:19:56 UTC
Reopening to track KDE 4.2 push (reference added to the KDE 4.2 update, so Bodhi should autoclose it).

Comment 8 Jonathan Wakely 2009-02-20 18:29:24 UTC
Thanks for continuing to monitor this upstream, although everybody failed to notice that it's not fixed upstream, and certainly isn't fixed in the current release.  Changing to CLOSED - UPSTREAM since that's a bit more accurate.

Comment 9 Kevin Kofler 2009-02-20 18:53:22 UTC
It got included in my mass close because it got added to the kde42 tracker as fixed in 4.2. Apparently somebody incorrectly claimed it was fixed in 4.2. I've taken it off that tracker. Sorry for the mess.

Comment 10 Gabriel Ramirez 2010-02-14 04:33:31 UTC
this bug happen with kde SC 4.4 kdebase-4.4.0-3.fc12.i686 but not with previous KDE SC RC ( 4.3.98, 4.3.5)

sometimes new created tabs are fine ( with LINES=40) and sometimes are not.(LINES=24)


Comment 11 Alain Baeckeroot 2010-07-25 12:47:39 UTC
from ubuntu , Konsole swaps COLUMNS and LINES , when a resize is done from inside a program (eg vi)

The following command line totally messes-up konsole until it is resized with mouse !

$ resize; vi /tmp/a +"set co=$(($COLUMNS + 3))" +:q; resize

Note You need to log in before you can comment on or make changes to this bug.