Bug 317885 - keyboard focus issues
Summary: keyboard focus issues
Status: RESOLVED FIXED
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Debian unstable Linux
: NOR minor
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords: junior-jobs
Depends on:
Blocks:
 
Reported: 2013-04-05 14:55 UTC by miklos
Modified: 2021-03-12 00:14 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description miklos 2013-04-05 14:55:02 UTC
The up-down keys have effect on the 'active' element, which is initially the main document view, but doing something in the thumbnail sidebar transfers focus to that scrollable. It is indicated by a 1px blue outline around the scrolled area, if the action was a scroll with mouse wheel, but not in case of a click. In this state up-down keys switch pages. However, scrolling the main view with the mouse doesn't set focus back to the main view. Pressing the tab button or clicking on the document view transfers the focus back to it.

This behavior is also inconsistent with the zoom combobox. That one always transfers keyboard focus to the main document view after any mouse action on it, and only gets the blue outline, when trying to scroll in a direction where no more options are available.

Okular 0.14.3 in Debian Unstable, widget style is Plastique.

Reproducible: Always
Comment 1 Albert Astals Cid 2013-04-05 18:02:57 UTC
Do you have any suggestion for the behaviour you'd like?
Comment 2 miklos 2013-04-05 23:11:22 UTC
I think scrolling the main document view with the mouse wheel should give it the keyboard focus. Perhaps an even better solution would be to make it consistent that the up-down keys scroll the document, and pgup-pgdown keys jump pages in all cases, but this policy might interfere with the usage of the table of contents sidebar. Hard to judge without a usability survey.

Now that I've been playing with it a little more, I found that mousewheel over the thumbnail bar also steals the keyboard focus from the find popup (ctrl+f), which should be fixed similarly IMHO.
Comment 3 Christoph Feck 2013-04-14 17:00:12 UTC
Albert, does comment #2 provide the requested information?
Comment 4 Albert Astals Cid 2013-04-14 20:38:23 UTC
Kind of yes
Comment 5 Justin Zobel 2021-03-09 23:59:27 UTC
Thank you for the bug report.

As this report hasn't seen any changes in 5 years or more, we ask if you can please confirm that the issue still persists.

If this bug is no longer persisting or relevant please change the status to resolved.
Comment 6 miklos 2021-03-12 00:14:54 UTC
The current behavior (version 20.12.2) is much better than before, as the mouse wheel doesn't transfer keyboard focus between the main document and the sidebar.

When the keyboard focus is on the thumbnails, the cursor and page keys work differently than when the focus is on the main document, but it's kind of expected, so it's not an issue.

I think it's okay to close this bug now.