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
chat, you scroll the 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,12 @@
                     // 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 tex
+                    // in the chat.
+                    return QWidget::event(event);
+                 }
             }
         }
         return KTextEdit::event(event);
_______________________________________________
kopete-devel mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kopete-devel

Reply via email to