[Okular-devel] [Bug 282930] Make middle mouse button activate the inverse search feature

Christian Seiler christian at iwakd.de
Tue Sep 27 21:26:22 UTC 2011


https://bugs.kde.org/show_bug.cgi?id=282930





--- Comment #2 from Christian Seiler <christian iwakd de>  2011-09-27 21:26:22 ---
To perhaps make you understand where I'm coming from: Personally, I've only
used the middle-mouse-drag-zoom feature when playing around, never when
actually using okular. Whereas I regularily use the inverse search for LaTeX
documents.

That said, I get that this is probably a huge matter of personal preference and
how people use the software. So, if you don't like the idea, are you open to
having some sort of compromise?

I'd suggest making the the way okular reacts to the mouse* configurable. My
idea would be to categorize mouse events in "clicks", "drags" and "scrolls",
(and distinguishing between different keyboard modifiers and mouse buttons) and
then be able to associate these events with different actions ("scroll
document", "zoom", "activate link", "inverse search", ...) in the configuration
dialog. The default would then obviously be the current behaviour (principle of
least suprise for people who then upgrade), but if somebody wants to configure
it differently, they are able to.

* Except for the association right mouse button <-> context menu. That should
always be the case IMO.

I'll implement this myself and provide you with a patch if you signal that you
are in principle amenable to this feature.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Okular-devel mailing list