STEPS TO REPRODUCE 1. In split view, have a PDF open on one side, and a text editor open on the other. 2. While the text editor has focus, press the spacebar. OBSERVED RESULT The un-focused PDF scrolls down, and no space character is typed in the editor. EXPECTED RESULT A space character is typed, and the PDF is not scrolled down. SOFTWARE/OS VERSIONS Linux: Fedora 32 KDE Plasma Version: 5.18.5 KDE Frameworks Version: 5.68.0 Qt Version: 5.13.2
I have been hit by this bug too. It is also reproducible with an almost up-to-date KDevelop git master version.
*** This bug has been marked as a duplicate of bug 407869 ***
This bug is not actually a duplicate of bug 407869, since here there is some interaction between "regular" KParts views which can be fixed within KDevelop. The other bug is caused by something else.
Git commit 4fadf2c99c8a8826f0ca82e25e0718d8323c7ad8 by Christoph Roick. Committed on 07/10/2021 at 19:43. Pushed by croick into branch 'master'. Restrict KParts keyboard shortcuts to their own view Fix keyboard shortcuts being applied across multiple split views. Without limiting the shortcuts owned by the respective KPart (such as an Okular view), actions are called even if the Part is not currently active (like scrolling the Okular document when pressing space in another view). FIXED-IN: 5.7.0 M +14 -6 kdevplatform/shell/partcontroller.cpp https://invent.kde.org/kdevelop/kdevelop/commit/4fadf2c99c8a8826f0ca82e25e0718d8323c7ad8