[okular] [Bug 443819] Ctrl+Scroll to zoom is incompatible with inertia touchpads

Roberto bugzilla_noreply at kde.org
Wed Oct 20 07:15:38 BST 2021


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

--- Comment #6 from Roberto <r087r70 at yahoo.it> ---
(In reply to David Hurka from comment #5)
> Okular does not have inertia for scroll input, because of the problem I have
> outlined. It only has inertia for swipe (flick) gesture input. If you
> observe inertia after scrolling with the touchpad, that is because your
> touchpad driver implements it.
> 
> Okular just does what your hardware tells it to do.

I see. Then I agree that solution (1) is not possible.


> In case you can compile Okular from source, you can search for
> Qt::ControlModifier in PageView::wheelEvent(). It’s located in
> part/pageview.cpp around line 3200, and the source code is available at
> https://invent.kde.org/graphics/okular.
> 
> If you remove the if branch with this Qt::ControlModifier, your Okular will
> not zoom with Ctrl+scroll. :)

yes, thanks, but that implies that I would need to recompile at each update.
Not a long term solution. Why not putting a flag in okularpartrc? Many other
users have this problem, and it's a general kde bug which is around since
almost 10 years

https://bugs.freedesktop.org/show_bug.cgi?id=76094

and still not fixed. Some dev please put an option to disable it.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Okular-devel mailing list