[Konsole-devel] [Bug 107470] New: logical screen width wrong when restoring konsole window with multiple sessions

patrick at dreker.de patrick at dreker.de
Wed Jun 15 14:51:42 UTC 2005


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=107470         
           Summary: logical screen width wrong when restoring konsole window
                    with multiple sessions
           Product: konsole
           Version: unspecified
          Platform: Debian testing
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: konsole-devel kde org
        ReportedBy: patrick dreker de


Version:           1.5.1 (KDE 3.4.1) (using KDE KDE 3.4.1)
Installed from:    Debian testing/unstable Packages
OS:                Linux

Background: I have a Konsole Window open on one of my desktops at all times, usually with 4 or 5 sessions open inside the window. When logging in, Konsole is restored from the last KDE session with the according number of shell sessions. The Konsole window is maximized, and this setting is saved as the default in Konsole's settings.

It seems like the sessions, which are not visible do have the wrong logical screen width when the shell within them is started. I can see, this, because I run the fortune program from my .bashrc/.profile and in all sessions except for the one currently visible the fortunes are word wrapped to what seems a logical line width of 37 characters (no idea where that number comes from...).

Example fortune from the visible shell session (correctly displayed, I hope the wordwrapping carries over in the BTS):
------------------------------------------
"We'll look into it":
        By the time the wheels make a full turn, we
        assume you will have forgotten about it, too.
------------------------------------------

Fortune from a shell session which is not visible when restoring Konsole:
------------------------------------------
(1)     A sheet of paper is an ink-l
ined plane.
(2)     An inclined plane is a slope
up.
(3)     A slow pup is a lazy dog.

QED: A sheet of paper is a lazy dog.
                -- Willard Espy, "An
 Almanac of Words at Play"
------------------------------------------

As you can see the latter fortune is word wrapped, even though the corresponding session is capable of displaying 152 characters, before the line is filled.

Calling "fortune" after the sessions have been restored yields the correct (non word wrapped) results.

Patrick



More information about the konsole-devel mailing list