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

Bug#605930: okular: Focus should be consistent with user's WM choice



Package: okular
Version: 4:4.4.5-2
Severity: wishlist


In Unix, all window managers allow you to choose something like "focus
under mouse" vs. "click to focus".  Okular (and any number of other
programs) seems always to use "click to focus" to select between
e.g. the navigation frame and the document frame.  This leads to
surprises when a habituated user clicks in the TOC to go to a section
within a document, then moves the mouse to the document and starts
pressing PgDown to scroll.

I suppose the "right" way to do this would probably be to ask the
window manager for the user's preference, but AFAIK there's no window
manager standard for exporting this feature.

Would it be possible to add to Okular one of the following?

1) Ask whether a couple of the most popular window managers are
   running, and if it's one you recognise, use its focus preference,
   and if it's not, go on to (2)?

2) Add the option in Settings?

Omega) Develop a standard that would let window managers export this
   information.


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages okular depends on:
ii  kdebase-runtime     4:4.4.5-1            runtime components from the offici
ii  libc6               2.11.2-7             Embedded GNU C Library: Shared lib
ii  libfreetype6        2.4.2-2.1            FreeType 2 font engine, shared lib
ii  libgcc1             1:4.4.5-9            GCC support library
ii  libjpeg62           6b1-1                The Independent JPEG Group's JPEG 
ii  libkdecore5         4:4.4.5-2            the KDE Platform Core Library
ii  libkdeui5           4:4.4.5-2            the KDE Platform User Interface Li
ii  libkio5             4:4.4.5-2            the Network-enabled File Managemen
ii  libkparts4          4:4.4.5-2            the Framework for the KDE Platform
ii  libkpty4            4:4.4.5-2            the Pseudo Terminal Library for th
ii  libkutils4          4:4.4.5-2            various utility classes for the KD
ii  libokularcore1      4:4.4.5-2            libraries for the Okular document 
ii  libphonon4          4:4.6.0really4.4.2-1 the core library of the Phonon mul
ii  libpoppler-qt4-3    0.12.4-1.2           PDF rendering library (Qt 4 based 
ii  libqca2             2.0.2-1              libraries for the Qt Cryptographic
ii  libqimageblitz4     1:0.0.6-2            QImageBlitz image effects library
ii  libqt4-dbus         4:4.6.3-4            Qt 4 D-Bus module
ii  libqt4-svg          4:4.6.3-4            Qt 4 SVG module
ii  libqt4-xml          4:4.6.3-4            Qt 4 XML module
ii  libqtcore4          4:4.6.3-4            Qt 4 core module
ii  libqtgui4           4:4.6.3-4            Qt 4 GUI module
ii  libspectre1         0.2.6-1              Library for rendering PostScript d
ii  libstdc++6          4.4.5-9              The GNU Standard C++ Library v3
ii  phonon              4:4.6.0really4.4.2-1 metapackage for the Phonon multime
ii  zlib1g              1:1.2.3.4.dfsg-3     compression library - runtime

okular recommends no packages.

Versions of packages okular suggests:
ii  ghostscript                 8.71~dfsg2-6 The GPL Ghostscript PostScript/PDF
pn  kttsd                       <none>       (no description available)
pn  okular-extra-backends       <none>       (no description available)
ii  poppler-data                0.4.4-1      Encoding data for the poppler PDF 
ii  texlive-binaries            2009-8       Binaries for TeX Live
ii  unrar                       1:3.9.10-1   Unarchiver for .rar files (non-fre

-- no debconf information



Reply to: