Bug 272176 - Document viewport height changes can cause disproportionally large jumps in scroll position
Summary: Document viewport height changes can cause disproportionally large jumps in s...
Status: RESOLVED WORKSFORME
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 0.12.2
Platform: Fedora RPMs Linux
: NOR minor
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-01 19:34 UTC by Eike Hein
Modified: 2020-12-20 04:34 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eike Hein 2011-05-01 19:34:44 UTC
Under certain circumstances, changing the height of the document viewport can cause the scroll position to change by a significant amount, e.g. about half a page or so, for no intuitive reason.

Example steps to reproduce:
1. Load a large PDF document with a TOC.
2. Use the TOC sidebar to jump to a specific page.
3. Press Ctrl+M to toggle the menu bar. The scroll position will jump by about half a page, a much larger amount than the height of the menu bar.

As an alternative to toggling the menu bar, toggling the sidebar pane works too (probably because it usually causes a horizontal scrollbar to be toggled as well, causing another viewport height change). This is actually the more common and annoying scenario for me: I frequently have Okular and a Konsole window open side-by-side on a small screen because I'm reading a programming-related text and what to try out in Konsole what I read about. Because my laptop screen is rather small, I usually collapse the sidebar to maximize the available space for the document. But occassionally I have to uncollapse it to check something in the TOC or so - and then the scroll position jumps.

Interestingly step 2 seems to be a necessary condition to reproduce the problem, although there might be other ways to set this up (it happens frequently enough for me that there are propably more triggers, but this is the reliable one I know of). If the document was manually dragged to a position using the Browse tool the jump doesn't occur (the scroll position will still change, but only to account for the (dis)appearing menu bar or horizontal scroll bar).
Comment 1 Christopher Reichert 2011-07-13 18:11:02 UTC
I remember looking at an issue that was similar (or it was this issue) and I could recreate the problem but now I cannot in 0.12.8. Can anyone else recreate this issue in 0.12.8?
Comment 2 Eike Hein 2011-07-14 03:00:59 UTC
I can still reproduce this in 0.12.80 from 4.7rc2.
Comment 3 Justin Zobel 2020-11-20 01:14:07 UTC
I've just tested using 1.11.3 and I can't reproduce this issue.

Can you please test and confirm if this issue is still occurring or if this bug report can be marked as resolved. I'm setting status to "needsinfo" pending your response, please change back to "reported" or "resolved" when you respond, thanks.
Comment 4 Bug Janitor Service 2020-12-05 04:33:57 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Bug Janitor Service 2020-12-20 04:34:31 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!