Bug 503448 - PageUp behavior
Summary: PageUp behavior
Status: REOPENED
Alias: None
Product: okular
Classification: Applications
Component: general (other bugs)
Version First Reported In: 24.05.2
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-04-27 21:53 UTC by mohsen.lesani
Modified: 2025-09-07 08:51 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
PDF to check page down and page up (60.01 KB, application/pdf)
2025-04-29 07:34 UTC, mohsen.lesani
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mohsen.lesani 2025-04-27 21:53:52 UTC
***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports

Please remove this comment after reading and before submitting - thanks!
***

SUMMARY


STEPS TO REPRODUCE
1. Open a pdf in single page and fit width view. The full height of a page cannot be shown.
2. Go to the last page
3. Press page up multiple times

OBSERVED RESULT
From the top of page n, it goes to the top of page n-1

EXPECTED RESULT
From the top of page n, it is supposed to go to the bottom of page n-1. This is in contrast to PageDown that goes from the bottom of page n to top of page n+1.

SOFTWARE/OS VERSIONS
KDE Plasma Version: 6.1.5
KDE Frameworks Version: 6.6.0
Qt Version: 6.6.2

ADDITIONAL INFORMATION
This is a basic usability issue. Just navigating documents. It was working correctly in previous versions. Please fix it. Thank you.
Comment 1 John Kizer 2025-04-28 19:06:25 UTC
Hi - following those steps, I can't reproduce this issue with Okular 25.04.0 on my Fedora KDE 42 device.

Just to check, what Linux distribution/version are you using, and what method have you used to install Okular (distribution package, Flatpak, Snap Store, etc.)?

Thanks!
Comment 2 mohsen.lesani 2025-04-28 19:22:04 UTC
Hi,

It came with the kubuntu desktop.
Actually when I tested with other pdfs, it works correctly. I am not sure why it does not with some pdfs.
Comment 3 John Kizer 2025-04-28 23:25:15 UTC
Thanks - could you please double-check the Help menu > About Okular option to see what version number is shown there? I'm only asking as I'm not aware of Kubuntu versions that would provide Plasma 6.1.5 but Okular 25.04.0 out of the box, and wanted to make sure we were looking at the right version numbers :-)

Would you possibly be able to either attach a PDF that shows the issue to this report, or link to it if it's on a public site?

Thanks!
Comment 4 mohsen.lesani 2025-04-29 07:34:04 UTC
Created attachment 180758 [details]
PDF to check page down and page up
Comment 5 mohsen.lesani 2025-04-29 07:36:51 UTC
Hi,
Okular menu says: "Version 24.05.2"
KDE Plasma Version: 6.1.5

I attached the pdf above. 
This is the view setting: Single Page, Fit Width, Trim Margins.
Comment 6 John Kizer 2025-04-29 17:33:00 UTC
Thanks for the sample document! I can't reproduce on my device following those steps, but I also realize that I think the version numbers got transposed a bit there. Your device has version 24.05.2 (from 2024) - would you be able to try the current version of Okular, 25.04.0, probably using Flatpak (likely the easiest way to install that on Kubuntu)?

Thanks!
Comment 7 Bug Janitor Service 2025-05-14 03:46:47 UTC
๐Ÿ›๐Ÿงน โš ๏ธ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 8 Bug Janitor Service 2025-05-29 03:59:56 UTC
๐Ÿ›๐Ÿงน This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.
Comment 9 mohsen.lesani 2025-09-07 08:51:12 UTC
I eventually installed Okular Version 25.08.0 by flatpak. The problem still exists.

In the following view setting, Scroll Page Up that is triggered by Shift + Space goes a full page up, not just a scroll. This is in contrast to Scroll Page Down that is triggered by Space; it does the right action: it goes a scroll down.
View Setting: Single Page, Fit Width, Trim Margins, not Continuous.