[okular] [Bug 421822] 'Scroll Page Up'/'Scroll Page Down' actions scroll by scrollbar height instead of viewport height, which is incorrect when scrollbars are disabled

David Hurka bugzilla_noreply at kde.org
Wed Mar 31 12:50:00 BST 2021


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

David Hurka <david.hurka at mailbox.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|'Scroll Page Up'/'Scroll    |'Scroll Page Up'/'Scroll
                   |Page Down' actions do not   |Page Down' actions scroll
                   |scroll by pages if          |by scrollbar height instead
                   |scrollbars are disabled     |of viewport height, which
                   |                            |is incorrect when
                   |                            |scrollbars are disabled

--- Comment #28 from David Hurka <david.hurka at mailbox.org> ---
Page Up/Down probably ask for the height property of the vertical scrollbar.
Until the scrollbar is shown for the first time, it has a default height, and
Page Up/Down scroll by the wrong distance.

To check that, open a long document with scrollbars shown, then disable
scrollbars, resize the window, and do Page Up/Down.

The fix for this bug is probably a +1-1 patch.

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


More information about the Okular-devel mailing list