Commit da548034 authored by Robert Knight's avatar Robert Knight

Scroll view to newest output on keystroke. Disallow letter shortcuts. Update TODO.

svn path=/trunk/KDE/kdebase/apps/konsole/; revision=669235
parent 24b1e02a
......@@ -78,6 +78,17 @@ The KDE 4.0 TODO List:
== BUGS ==
- Allow the user to over-ride the "no Ctrl+[Key] shortcuts" limitation with shortcuts
set in the configuration dialog, but warn the user if they try to do so. This is the
behaviour in KDE 3.
== NON-ESSENTIAL TWEAKS ==
- Currently splitting the view creates a new terminal widget for each session
in the new view. This will have a perceptible performance impact for
users who have ten, twenty or more tabs open. Add facilities to
delay creating the views until they are needed.
== NON-ESSENTIAL FEATURES ==
......
......@@ -246,7 +246,8 @@ void MainWindow::newWindow()
void MainWindow::showShortcutsDialog()
{
KShortcutsDialog::configure( actionCollection() );
KShortcutsDialog::configure( actionCollection() ,
KShortcutsEditor::LetterShortcutsDisallowed );
}
void MainWindow::newFromProfile(const QString& key)
......
......@@ -100,6 +100,10 @@ SessionController::SessionController(Session* session , TerminalDisplay* view, Q
connect( _view , SIGNAL(configureRequest(TerminalDisplay*,int,int,int)) , this,
SLOT(showDisplayContextMenu(TerminalDisplay*,int,int,int)) );
// move view to newest output when keystrokes occur
connect( _view , SIGNAL(keyPressedSignal(QKeyEvent*)) , this ,
SLOT(trackOutput()) );
// listen to activity / silence notifications from session
connect( _session , SIGNAL(stateChanged(int)) , this ,
SLOT(sessionStateChanged(int) ));
......@@ -124,6 +128,12 @@ SessionController::~SessionController()
if ( _view )
_view->setScreenWindow(0);
}
void SessionController::trackOutput()
{
Q_ASSERT( _view->screenWindow() );
_view->screenWindow()->setTrackOutput(true);
}
void SessionController::requireUrlFilterUpdate()
{
// this method is called every time the screen window's output changes, so do not
......
......@@ -186,6 +186,8 @@ private slots:
void sessionResizeRequest(const QSize& size);
void trackOutput(); // move view to end of current output
// debugging slots
void debugProcess();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment