https://bugs.kde.org/show_bug.cgi?id=525167

            Bug ID: 525167
           Summary: Feature: Keyboard shortcut for focusing Contents tab
                    in sidebar
    Classification: Applications
           Product: okular
      Version First 25.04.2
       Reported In:
          Platform: Debian stable
                OS: Linux
            Status: REPORTED
          Severity: wishlist
          Priority: NOR
         Component: general
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

I would like to have a keyboard shortcut to switch to and focus the _Contents_
tab of the sidebar. The specific use case is to quickly navigate to specific
sections in a longer PDF (like a book) using the keyboard – a workflow could
look like:

1. User presses shortcut (e.g. Alt+C) -> Sidebar opens on Contents tab, search
field is focused
2. User types 'Mem' -> TOC is filtered to only show entries containing the
substring 'Mem' and their parents (this already works)
3a. User presses Tab -> Focus switches to the Contents tree view, first match
is selected
3b. User presses Enter ->  additionally, main view jumps to the position
associated with this TOC entry

Currently, the only way to navigate to and around the sidebar tabs without the
keyboard only seems to involve a lot of Tab/Shift-Tabbing, and I was not quite
able to predict when the focus is on the sidebar after "Show sidebar" and when
not.


SOFTWARE/OS VERSIONS
Okular: 25.04.2
KDE Frameworks: 6.13.0
Qt: Using 6.8.2 and built against 6.8.2
Debian GNU/Linux 13 (trixie) (Xcb)
Build ABI: x86_64-little_endian-lp64
Kernel: linux 6.12.101+deb13-amd64

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to