Version: (using KDE KDE 3.5.4) Installed from: Ubuntu Packages Compiler: gcc OS: Linux If you press enter in keyboard and very quickly move the cursor using the arrows some boxes are left depressed. I've attached (or will attach) a possible fix, though I'm not sure it's the best way.
Created attachment 17565 [details] Patch that fixes the bug, but may not be the best solution
SVN commit 596638 by mattr: Apply patch from bug #133257 to fix that bug for the reporter. No response from the assignee (who appears to be inactive for quite awhile). Thanks for the patch! BUG: 133257 M +4 -3 field.cpp M +1 -1 field.h --- branches/KDE/3.5/kdegames/kmines/field.cpp #596637:596638 @@ -231,14 +231,15 @@ void Field::keyboardAutoReveal() { - pressClearFunction(_cursor, true); + _cursor_back = _cursor; + pressClearFunction(_cursor_back, true); QTimer::singleShot(50, this, SLOT(keyboardAutoRevealSlot())); } void Field::keyboardAutoRevealSlot() { - pressClearFunction(_cursor, false); - doAutoReveal(_cursor); + pressClearFunction(_cursor_back, false); + doAutoReveal(_cursor_back); } void Field::doAutoReveal(const Coord &c) --- branches/KDE/3.5/kdegames/kmines/field.h #596637:596638 @@ -86,7 +86,7 @@ GameState _state; bool _reveal; SolvingState _solvingState; - KGrid2D::Coord _cursor, _advisedCoord; + KGrid2D::Coord _cursor, _cursor_back, _advisedCoord; double _advisedProba; int _currentAction; Level _level;