Andre Poenitz wrote: > On Wed, May 16, 2007 at 11:57:51PM +0200, Peter Kümmel wrote: > >> void GuiWorkArea::keyPressEvent(QKeyEvent * e) >> { >> + // do nothing if there are other events >> + // (the auto repeated events come too fast) >> + if(QCoreApplication::hasPendingEvents()) { >> + LYXERR(Debug::KEY) << BOOST_CURRENT_FUNCTION >> + << endl << "key ignored" << endl; >> + e->ignore(); >> + return; >> + } >> > Have you tried typing _really_ fast? > > Do all keys still come through? If so, the idea looks good, although > I'd restrict it to PageUp/Down events. > As I said in a different message, the original bug report did not concern PgUp/Down but the scrollbar, and you see identical behavior with the up and down arrow keys as well as with other keys.
Richard -- ================================================================== Richard G Heck, Jr Professor of Philosophy Brown University http://frege.brown.edu/heck/ ================================================================== Get my public key from http://sks.keyserver.penguin.de Hash: 0x1DE91F1E66FFBDEC Learn how to sign your email using Thunderbird and GnuPG at: http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto