Version: (using KDE Devel) Installed from: Compiled sources OS: Linux When a long file is displayed using --textbox, the dialog should show the first line of the file, rather than the last line. [Alternative explaination - the vertical scroll bar should be at the top, rather than at the bottom.
Created attachment 2277 [details] patch to set scroll to top OK, so its not much of a patch...
Subject: KDE_3_1_BRANCH: kdebase/kdialog CVS commit by faure: "kdialog --textbox should display first line, not last line" Fine with me. CCMAIL: 62958-done@bugs.kde.org M +2 -0 widgets.cpp 1.1.1.1.2.1 --- kdebase/kdialog/widgets.cpp #1.1.1.1:1.1.1.1.2.1 @@ -73,4 +73,6 @@ int Widgets::textBox(QWidget *parent, in edit->append(s.readLine()); + edit->moveCursor(QTextEdit::MoveHome, false); + f.close();