When you search for something in Okular and press Enter to go to the next result, the animation will not follow, if you go back to the last result during the animation.
STEPS TO REPRODUCE
1. Search for something, where two search results appear on different pages, such that the search results are not both visible at once
2. Once Okular has found the first search result, press Enter to get to the second result
3. During the scroll animation, press Shift+Enter to get to the first result again
Okular finishes the scroll animation to the second result and updates only the highlighting
Okular cancels the initial scroll animation and goes back to the first result
KDE Plasma Version: 5.14.4
KDE Frameworks Version: 5.53.0
Qt Version: 5.12.0
The bug only happens when you switch the search direction during the animation. If you search in the same direction during the animation, it works fine.
Fixed with https://invent.kde.org/graphics/okular/-/commit/e637e2ed519cb2dfe523981b2d6dc34a9855716c in Okular 1.11.2