[okular] [Bug 418531] New: Esc to deselect annotation tool ignored after closing an annotation popup with Esc
Simone Gaiarin
bugzilla_noreply at kde.org
Fri Mar 6 10:00:10 GMT 2020
https://bugs.kde.org/show_bug.cgi?id=418531
Bug ID: 418531
Summary: Esc to deselect annotation tool ignored after closing
an annotation popup with Esc
Product: okular
Version: 1.9.3
Platform: Manjaro
OS: Linux
Status: REPORTED
Severity: minor
Priority: NOR
Component: general
Assignee: okular-devel at kde.org
Reporter: simgunz at gmail.com
Target Milestone: ---
SUMMARY
After closing an annotation popup with Esc the focus is not set to PageView and
pressing Esc again does not disable the currently selected annotation.
STEPS TO REPRODUCE
1. Double click the highlighter (continuous mode enabled)
2. Highlight some text
3. Double click the highlighted text (the annotation popup opens)
3. Click Esc (the annotation popup closes)
4. Click Esc
OBSERVED RESULT
The highlighter annotation tool remains active
EXPECTED RESULT
The highlighter annotation tool is deselected and we go back to browse mode
SOFTWARE/OS VERSIONS
Operating System: Manjaro Linux
KDE Plasma Version: 5.17.5
KDE Frameworks Version: 5.66.0
Qt Version: 5.14.1
Kernel Version: 4.19.107-1-MANJARO
OS Type: 64-bit
ADDITIONAL INFORMATION:
After AnnotWindow::eventFilter calls close() the focus is set to a CloseButton
but it is not clear to me which one and why.
Here you can find a test to try this:
https://invent.kde.org/gaiarin/okular/-/tree/testPopupWindowFocusProblem
Run PartTest::testPopup
This test is performed on the new annotation toolbar branch, but the problem
applies also to Okular master.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Okular-devel
mailing list