Bug 424670 - mousewheel scroll at end of document jumps incorrectly
Summary: mousewheel scroll at end of document jumps incorrectly
Status: CONFIRMED
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 1.9.3
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-26 00:45 UTC by kdebugs
Modified: 2020-08-06 21:17 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
demonstration video (2.00 MB, video/x-matroska)
2020-07-26 00:45 UTC, kdebugs
Details
okularrc (727 bytes, application/x-desktop)
2020-08-06 16:01 UTC, kdebugs
Details
okularparttc (197 bytes, text/plain)
2020-08-06 16:01 UTC, kdebugs
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kdebugs 2020-07-26 00:45:48 UTC
Created attachment 130402 [details]
demonstration video

When viewing a >1 page document which does not fit vertically on the screen, but does fit horizontally on the screen, in view mode "facing pages", okular can not scroll properly to the end of the document: when the mousewheel scrolls down, it jumps back to the top of the second-to-last page (repeating this jerky movement as long as the wheel is scrolling).

Demonstration video: http://caseyconnor.org/pub/bugs/okular_scrollwheel.mkv

Linux/KDE Plasma:
x86_64 GNU/Linux
KDE Plasma Version:  5.18.5
KDE Frameworks Version: 5.68.0
Qt Version: 5.12.8
Linux 5.4.0-42-generic #46-Ubuntu SMP Fri Jul 10 00:24:02 UTC 2020 x86_64 x86_64 
Kubuntu 20.04.1 LTS
Comment 1 Albert Astals Cid 2020-07-30 22:33:04 UTC
Can't reproduce, does it also happen if zoom is say 60% instead of 100% ?

Do you have view -> trim view -> trim margins selected?

Is it specific to that PDF or you can reproduce it with any?
Comment 2 kdebugs 2020-07-30 22:50:52 UTC
Thanks -- yes, it happens at any arbitrary zoom and with any PDF. "Trim margins" was not selected, but it makes no difference.

Did you ensure that the document was clipping at the top/bottom but not left/right?

I could post okularrc and okularpartrc if handy (but which -- .config/. or .kde/share/. ?)
Comment 3 Albert Astals Cid 2020-08-05 22:33:41 UTC
.kde/share is junk from kde4 era

Yes, i made sure of that.

I guess you can try posting those to see if it helps, cleanup the recently open files if you don't want to leak that info.
Comment 4 kdebugs 2020-08-06 16:01:12 UTC
Created attachment 130681 [details]
okularrc
Comment 5 kdebugs 2020-08-06 16:01:31 UTC
Created attachment 130682 [details]
okularparttc
Comment 6 kdebugs 2020-08-06 16:02:44 UTC
Here are the configs. Let me know if there's anything else I can do or provide.
Comment 7 Albert Astals Cid 2020-08-06 21:17:35 UTC
Ah, you're using non continuous scrolling. Yes i can reproduce now.