I tried to make a patch for this:
http://techbase.kde.org/Projects/Kopete/JuniorJobs#Page_Up_.22Just_Works.22
I like the patched behvaour: if you didn't entered some text in the
KRichTextEdit, you scroll the chat history,
otherwise you get the same behaviour as before.
As i already written to some one, i would be very intersted to support
KDE with some free time.
If you think there is something to do, i would really like help!
All the best,
Andrea
Index: krichtexteditpart.cpp
===================================================================
--- krichtexteditpart.cpp (revisione 899404)
+++ krichtexteditpart.cpp (copia locale)
@@ -75,6 +75,13 @@
// see bug: #163535
return QWidget::event(event);
}
+ if ( (keyEvent->key() == Qt::Key_PageUp ||
+ keyEvent->key() == Qt::Key_PageDown )
+ && textCursor().atBlockStart())
+ { // Allow to scroll the chat if the user has not entered
+ // some text in the KRichTextEditPart.
+ return QWidget::event(event);
+ }
}
}
return KTextEdit::event(event);
_______________________________________________
kopete-devel mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kopete-devel