Discussion:
[okular] [Bug 398443] New: okular sometimes goes into a state where "space" is recognized for navigation, but not "delete" or "pageup/pagedown"
Frederick Eaton
2018-09-10 00:38:10 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=398443

Bug ID: 398443
Summary: okular sometimes goes into a state where "space" is
recognized for navigation, but not "delete" or
"pageup/pagedown"
Product: okular
Version: 1.5.1
Platform: Archlinux Packages
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: general
Assignee: okular-***@kde.org
Reporter: ***@ofb.net
Target Milestone: ---

I've experienced this problem for a while now. Randomly, I'll open a PDF
document, say via a text-based web browser, in Okular. I'll use "space" or the
mouse wheel to navigate down the document. However, when I hit "delete" the
keypress is ignored. Same with "pageup" and "pagedown" - ignored. But if I use
the mouse and click on the document, then it fixes things and I can navigate
with these keys again.

Unfortunately I haven't found a way to reproduce this. It happens every day,
but it may be dependent on a race condition or something because I can't make
it happen on demand. Maybe I am doing a particular thing without realizing it,
e.g. starting to type before the document comes up. Or maybe it only happens on
new documents that Okular hasn't seen before. Usually when I open a document,
all keys work for navigation at startup.

I use the i3 window manager and the w3m web browser. I'm not sure if the bug is
dependent on opening a document with w3m.

I know this isn't much to go on but I wanted to submit here because I'm not
making any progress on getting more information, and I thought maybe somebody
familiar with the code of Okular could say what is happening. It seems that
something is going on related to focus. Is there a focus state where Okular
responds to "space" but not "delete" for navigation?
--
You are receiving this mail because:
You are the assignee for the bug.
Frederick Eaton
2018-09-11 19:43:36 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=398443

Frederick Eaton <***@ofb.net> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@ofb.net

--- Comment #1 from Frederick Eaton <***@ofb.net> ---
I realized on further observation that this seems related to Okular's on-demand
loading of PDF data. Sometimes when Okular is open in a tab, I can cause it to
enter a bad-focus state just by scrolling down in a recently-opened document.
In other words, it'll be in a state where "space" and "delete" both work; then
I press "space" several times and Okular pauses a second while loading the next
page, and then I find that it no longer recognizes "delete" to scroll up... and
I have to use the mouse button to restore focus.

So you can probably ignore the information about my window manager, and
certainly my web browser, in the initial report; the bug can be triggered
entirely within Okular.

By the way how do I get a list of bugs I've submitted? The "My Requests" link
in the header doesn't show anything...
--
You are receiving this mail because:
You are the assignee for the bug.
Nate Graham
2018-09-13 17:15:53 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=398443

Nate Graham <***@kde.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@kde.org
--
You are receiving this mail because:
You are the assignee for the bug.
Albert Astals Cid
2018-11-21 22:27:07 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=398443

Albert Astals Cid <***@kde.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
By the way how do I get a list of bugs I've submitted? The "My Requests" link in the header doesn't show anything...
Do you have a "My bugs" on the footer?
--
You are receiving this mail because:
You are the assignee for the bug.
Frederick Eaton
2018-11-22 01:29:19 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=398443

--- Comment #3 from Frederick Eaton <***@ofb.net> ---
Yes indeed, that does the trick. Thank you. I must have missed it before.
--
You are receiving this mail because:
You are the assignee for the bug.
Loading...