Bug 514675

Summary: alternate bindings for Forward and Back not respected
Product: [Frameworks and Libraries] frameworks-kxmlgui Reporter: widders <k>
Component: generalAssignee: kdelibs bugs <kdelibs-bugs-null>
Status: REPORTED ---    
Severity: normal CC: christoph
Priority: NOR    
Version First Reported In: 6.17.0   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description widders 2026-01-16 02:35:47 UTC
SUMMARY
In the keyboard shortcuts, Forward and Back (actions which are typically sent from the mouse's navigation buttons) cannot be set when recording a key/combo. This may be because pressing those extra mouse buttons is not detected as a click. Additionally, if the XML in ~/.local/share/kxmlgui5/kate/kateui.rc is edited to move those shortcuts to a different action, the keyboard shortcuts settings page *does* show that the keys are bound to those other actions instead, but this has no effect: the *behavior* of the forward and back buttons is always "> Next Tab" and "< Previous Tab" respectively.

STEPS TO REPRODUCE
1. menu Settings > Configure Keyboard Shortcuts...
2. open the keybind for Go To Next Location and click on the button in Custom to set it
3. note that the forward and back buttons on the mouse don't register to be bound
4. Open the kateui.rc file and insert the following elements into <gui><ActionProperties>:

  <Action name="view_next_tab" shortcut="Ctrl+PgDown"/>
  <Action name="switch_to_tab_1" shortcut="Alt+1; Forward"/>

5. restart kate

OBSERVED RESULT
the "forward" button has the default behavior action of "view next tab"

EXPECTED RESULT
with multiple tabs open, the "forward" button on the mouse should only jump to the first tab instead of cycling through tabs

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: ubuntu 25.10 (wayland)
KDE Plasma Version: n/a
KDE Frameworks Version: 6.17.0
Qt Version: 6.92

ADDITIONAL INFORMATION