Bug 75982

Summary: navigating kghostview using keyboard is terrible
Product: [Applications] okular Reporter: Rudo Thomas <rudo>
Component: generalAssignee: Okular developers <okular-devel>
Status: RESOLVED WORKSFORME    
Severity: normal CC: adrian
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Rudo Thomas 2004-02-24 02:46:11 UTC
Version:            (using KDE Devel)
Installed from:    Compiled sources
Compiler:          gcc (GCC) 3.3.2 20031218 (Gentoo Linux 3.3.2-r5, propolice-3.3-7) 
OS:          Linux

Using kghostview without a mouse is a pain.

I don't seem to be able to focus the widget with the rendered page. When I try to use the Tab key, sooner or later the focus will be "trapped" in the page list.

First, I created a little patch that fixes this behaviour, but later I found that there is more to do.

Try marking the pages in the page list using spacebar. The checkbox toggles, but the document moves on!

With all respect to the developer(s), I think this should be fixed ASAP, as it clearly does not follow KDE guidelines regarding easy navigation. (I have read them a long time ago, maybe there is no such a clause; it need to be fixed anyway.)

Have a nice day :-)

Rudo.
Comment 1 Jack Pham 2004-06-09 00:49:35 UTC
(Wasn't sure if I should open a new bug, but I felt my "bug" is probably apropos to this "complaint")

When starting KGhostview, the default focus is not on the document. I usually like to scroll with the keyboard's arrow keys, and find that I cannot do that initially when opening the document. The only way I am able to switch focus is to click on either the previewer (with the red outline box) in the upper left, or less intuitively, any gray area in the document window that's not part of the document itself. Then the arrow keys and space bar work as they should.

I feel that the focus should be set to the document frame by default on startup. This would make it especially more seamless when KGhostview is used as a part in Konqueror, being able to still use up/down/pageup/pagedown to scroll documents.
Comment 2 Rudo Thomas 2004-06-11 01:55:51 UTC
I can confirm the additional comment.

Maybe it would be useful to have the focus set to the document frame also when clicking on the document itself. As Jack pointed out, currently (as of KDE 3.2.2) one has to click *outside* the rendered page (on the gray area) to accomplish this.

Rudo.
Comment 3 Adrián Chaves (Gallaecio) 2012-10-15 05:07:20 UTC
This is no longer the case in Okular.