Bug 432025

Summary: Find box is capturing keyboard shortcuts
Product: [Applications] okular Reporter: Wouter M. Koolen <onkekabonke>
Component: generalAssignee: Okular developers <okular-devel>
Status: RESOLVED DUPLICATE    
Severity: normal CC: aacid
Priority: NOR    
Version: 20.12.1   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Wouter M. Koolen 2021-01-24 09:54:20 UTC
SUMMARY

The okular "find" box is capturing shortcut keys and interpreting them as text.


STEPS TO REPRODUCE
1. Open a PDF in okular. Hit Ctrl-F to open search box at the bottom.
2. Type a search term.
3. Hit a keyboard shortcut. Ctrl-F, Alt-n, Alt-p, Escape.

OBSERVED RESULT
The keyboard shortcut is not passed on to the application by the search box. In the case of 'Alt-n or Alt-p' the letter 'n' or 'p' are input in the find textbox. In case of 'Ctrl-F' the find box is not reactiated (it used to do a select-all in the find textbox). In case of 'Esc' nothing happens. These keyboard shortcuts do work when first clicking on the PDF body.


EXPECTED RESULT

Keyboard shortcuts should not be captured by the search box, but passed on to the encompassing application so they can be interpreted correctly.


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION


-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'stable-updates'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.10.10 (SMP w/8 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages okular depends on:
ii  kinit                 5.78.0-2
ii  kio                   5.78.0-2
ii  libc6                 2.31-9
ii  libfreetype6          2.10.4+dfsg-1
ii  libjpeg62-turbo       1:2.0.5-2
ii  libkf5activities5     5.78.0-2
ii  libkf5archive5        5.78.0-2
ii  libkf5bookmarks5      5.78.0-2
ii  libkf5codecs5         5.78.0-2
ii  libkf5completion5     5.78.0-2
ii  libkf5configcore5     5.78.0-3
ii  libkf5configgui5      5.78.0-3
ii  libkf5configwidgets5  5.78.0-2
ii  libkf5coreaddons5     5.78.0-2
ii  libkf5crash5          5.78.0-3
ii  libkf5i18n5           5.78.0-2
ii  libkf5iconthemes5     5.78.0-2
ii  libkf5itemviews5      5.78.0-2
ii  libkf5jobwidgets5     5.78.0-2
ii  libkf5kexiv2-15.0.0   20.12.0-1
ii  libkf5kiocore5        5.78.0-2
ii  libkf5kiowidgets5     5.78.0-2
ii  libkf5parts5          5.78.0-2
ii  libkf5pty5            5.78.0-2
ii  libkf5purpose-bin     5.78.0-2
ii  libkf5purpose5        5.78.0-2
ii  libkf5service-bin     5.78.0-2
ii  libkf5service5        5.78.0-2
ii  libkf5textwidgets5    5.78.0-2
ii  libkf5wallet-bin      5.78.0-2
ii  libkf5wallet5         5.78.0-2
ii  libkf5widgetsaddons5  5.78.0-2
ii  libkf5windowsystem5   5.78.0-2
ii  libkf5xmlgui5         5.78.0-2
ii  libokular5core9       4:20.12.1-1
ii  libphonon4qt5-4       4:4.11.1-3
ii  libpoppler-qt5-1      20.09.0-3.1
ii  libqmobipocket2       4:20.12.0-1
ii  libqt5core5a          5.15.2+dfsg-2
ii  libqt5dbus5           5.15.2+dfsg-2
ii  libqt5gui5            5.15.2+dfsg-2
ii  libqt5printsupport5   5.15.2+dfsg-2
ii  libqt5svg5            5.15.2-2
ii  libqt5texttospeech5   5.15.2-2
ii  libqt5widgets5        5.15.2+dfsg-2
ii  libqt5xml5            5.15.2+dfsg-2
ii  libspectre1           0.2.9-1
ii  libstdc++6            10.2.1-6
ii  phonon4qt5            4:4.11.1-3
ii  zlib1g                1:1.2.11.dfsg-2
Comment 1 Albert Astals Cid 2021-01-24 18:15:58 UTC

*** This bug has been marked as a duplicate of bug 431493 ***