konsole reports wrong window size (lines=24) to terminal programs
Bug #353483 reported by
Skewray
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
KDE Base |
Fix Released
|
Medium
|
|||
kdebase (Fedora) |
Won't Fix
|
Medium
|
|||
kdebase (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: konsole
9.04 install:
I have /bin/tcsh running as my shell in konsole. If I create a new konsole window larger than 24 lines and start up vim, sometimes vim will think that the window is only 24 lines tall. Resizing the konsole window appears to fix the problem. This bug did not exist in 8.10.
ProblemType: Bug
Architecture: amd64
DistroRelease: Ubuntu 9.04
NonfreeKernelMo
Package: konsole 4:4.2.2-0ubuntu1
ProcEnviron:
LANGUAGE=en_US:en
PATH=(custom, user)
SHELL=/bin/tcsh
SourcePackage: kdebase
Uname: Linux 2.6.28-11-generic x86_64
Changed in kdebase: | |
importance: | Undecided → Unknown |
status: | New → Unknown |
summary: |
- konsole reports wrong window size (columns, rows) to terminal programs + konsole reports wrong window size (rows=24) to terminal programs |
summary: |
- konsole reports wrong window size (rows=24) to terminal programs + konsole reports wrong window size (lines=24) to terminal programs |
Changed in kdebase: | |
status: | Unknown → Confirmed |
Changed in kdebase: | |
importance: | Unknown → Medium |
Changed in kde-baseapps: | |
status: | Confirmed → Fix Released |
Changed in kdebase (Fedora): | |
importance: | Unknown → Medium |
status: | Unknown → Won't Fix |
To post a comment you must log in.
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):
kdebase- 4.1.3-2. fc10.x86_ 64
How reproducible:
Always
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
24
COLUMNS=80;
LINES=40;
export COLUMNS LINES;
40
Expected results:
$ echo $LINES ; resize ; echo $LINES
40
COLUMNS=80;
LINES=40;
export COLUMNS LINES;
40
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.