[okular] [Bug 444990] New: Shortcut conflicts when filename contains number

Aetf bugzilla_noreply at kde.org
Fri Nov 5 01:58:15 GMT 2021


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

            Bug ID: 444990
           Summary: Shortcut conflicts when filename contains number
           Product: okular
           Version: unspecified
          Platform: Archlinux Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: okular-devel at kde.org
          Reporter: 7437103 at gmail.com
  Target Milestone: ---

Created attachment 143223
  --> https://bugs.kde.org/attachment.cgi?id=143223&action=edit
The tab bar while pressing the alt key

SUMMARY
In Okular by default, you can use Alt+1, Alt+2, etc. to activate annotation
tools. However, when you have multiple files open, and there are numbers in the
filenames, Alt+1, etc. may be assigned as the tabview keyboard accelerator to
switch tabs.

In the attached screenshot, it can be seen that the last document
"Statement-2021-10.pdf" has "1" underlined, suggesting it is used as the
accelerator key.

STEPS TO REPRODUCE
1. Open several documents in Okular
2. Make sure one of them gets assigned an accelerator key by pressing alt and
see which char is underlined in the tab bar
3. Press Alt+1

OBSERVED RESULT
If the current tab is not the one with filename containing "1", Okular will
switch to that tab.
If already on that tab, an "ambiguous shortcut detected" warning shows up and
nothing happens.

EXPECTED RESULT
Alt+1, Alt+2, etc. always activates the corresponding annotation tool,
regardless of filenames of currently opened documents.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.23.2
KDE Frameworks Version: 5.87.0
Qt Version: 5.15.2
Kernel Version: 5.14.16-arch1-1 (64-bit)
Graphics Platform: X11
Processors: 12 × Intel® Core™ i7-10750H CPU @ 2.60GHz
Memory: 31.1 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Okular-devel mailing list