Revision 749874

Go back to digest for 23rd December 2007

Bug Fixes in KDE Base

Robert Knight committed changes in /trunk/KDE/kdebase/apps/konsole/src:

Fix the long standing limitation where multiple views on the same terminal session had to be the same size - the size of the smallest view. This means that it is now possible, for example, to have a large view on a session for browsing and examining output and a smaller view on the same session for input.

The underlying terminal does not support the concept of multiple windows, so the size reported to terminal applications is still that of the smallest view. Full-screen applications such as vim and emacs will therefore be the size of the smallest view on all views.

* Add a method in ScreenWindow to set the size of the window (in lines, the number of columns is still ifxed).
* Call this method in TerminalDisplay to set the window size when the widget is resized or when the screen window of a display is initially set.
* Fix ScreenWindow::getImage() and ScreenWindow::getLineProperties() so that they do not attempt to retrieve information about lines beyond the end of the screen.
* Fix ScreenWindow::getLineProperties() to always return result vector of size windowColumns(), though the number of elements copied from the screen may be less.

File Changes

Modified 3 files
  • /trunk/KDE/kdebase/apps/konsole/src
  •   /ScreenWindow.cpp
  •   /ScreenWindow.h
  •   /TerminalDisplay.cpp
3 files changed in total