[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#913794: qpdfview document "focus"



Package: qpdfview
Version: 0.4.17~beta1+git20180709-2

When you Alt-Tab into qpdfview, the displayed PDF document doesn't always have
focus, and the PgUp and PgDn keys do nothing (the Home & End keys work as
normal).  You have to move your hand off the keyboard and on to the mouse and
click in the document before the PgUp and PgDn keys work.

This is internal to qpdfview, not the window manager - i.e. qpdfview itself
does get focus as far as the window manager is concerned, but within qpdfview
it seems as if the Menu or Icon or Tab bar or something has focus.

This seems to happen when the PDF file is auto-refreshed after being rebuilt.
It may happen other times too, but I can't recall if I've seen that.

It is particularly noticable (and annoying) when using LaTeX or pandoc to
generate a pdf as that involves a lot of Alt-Tabbing between a terminal (for
running, e.g., vi & git & make), and qpdfview.



On a few occasions, I've even Alt-Tabbed into qpdfview and had the window's
Maximise/Minimise/Move/Resize/etc window pop up (I don't remember which
keystrokes I typed to achieve this so I can't reproduce this right now but it
has happened often enough for me to notice and remember).


NOTE: this bug is not new to this version, it's been around for some time.
I've been working with LaTeX work today, and that reminded me to submit this
bug report.

Regards,

craig

PS: I just looked at Edit->Settings in qpdfview and turned off the Synchronize
Split Views checkbox.  I haven't seen this weird focus behaviour since then,
but that may just be a co-incidence.

Synced split views behave a bit weirdly anyway, depending on which of the
documents was clicked on ("selected"? "focused?") most recently, so it may be
related.

Maybe it would be better to get rid of the Synchronize option and use
PgUp/PgDn/etc to move the current document, and Shift-PgUp/Shift-PgDn/etc to
move both. or vice-versa.

--
craig sanders <cas@taz.net.au>


Reply to: