Abdelrazak Younes wrote:
Helge Hafting wrote:
We agree then. Scrolling is certainly hard to use/useless, although
the performance is fine. I rol through the guide at great speed,
but can't stop.
As nobody is seeing this except you (at least nobody has replied to my
request). I think it is probably related to your Qt and/or KDE settings
for "auto repeat" keypress. I guess too many keyPressEvent() are
generated on your system.
Please try to verify that (and try my patch too if it makes any
difference).
Could you also apply this patch and tell me if the number in the console
keep increasing after you've released the PageDown key?
Thanks in advance,
Abdel.
Index: GuiWorkArea.C
===================================================================
--- GuiWorkArea.C (revision 17291)
+++ GuiWorkArea.C (working copy)
@@ -415,6 +415,14 @@
<< " key=" << e->key()
<< endl;
+ static int i = 0;
+ if (e->isAutoRepeat())
+ lyxerr << ++i << " ";
+ else {
+ i = 0;
+ lyxerr << endl;
+ }
+
boost::shared_ptr<QLyXKeySym> sym(new QLyXKeySym);
sym->set(e);
processKeySym(sym, q_key_state(e->modifiers()));