[okular] [Bug 438827] New: When switching to Auto Fit zoom mode, the scrollbar sometimes disappears and then the viewport is locked at the top.

David Hurka bugzilla_noreply at kde.org
Thu Jun 17 21:37:33 BST 2021


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

            Bug ID: 438827
           Summary: When switching to Auto Fit zoom mode, the scrollbar
                    sometimes disappears and then the viewport is locked
                    at the top.
           Product: okular
           Version: 21.04.2
          Platform: Neon Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: okular-devel at kde.org
          Reporter: david.hurka at mailbox.org
  Target Milestone: ---

Created attachment 139447
  --> https://bugs.kde.org/attachment.cgi?id=139447&action=edit
Screencast: Scrolling impossible after switching to Auto Fit

SUMMARY
This seems a bit like a way to reproduce
https://bugs.kde.org/show_bug.cgi?id=421399, but also seems different. I can
reproduce it often, with different documents, with one or two Okular windows,
with and without Continuous mode. 

The only thing that seems related is the viewport aspect ratio compared to the
page aspect ratio.

Maybe this is related to the fix for Bug 160628 (Constant resizing loop).

I didn’t observe this before, but AFAIR I didn’t explicitely switch to Auto Fit
ever before. I use it only as default zoom mode to open new documents.

STEPS TO REPRODUCE
1. Open a document.
2. Zoom in, so vertical and horizontal scrollbars appear.
3. Switch to Auto Fit

OBSERVED RESULT
Vertical scrollbar gets space reserved, but is not shown. Scrolling is not
possible in any way anymore. The issue disappears immediately when the viewport
size is changed.

EXPECTED RESULT
Vertical scrollbar is shown as necessary.

SOFTWARE/OS VERSIONS
Operating System: KDE neon 5.22
KDE Plasma Version: 5.22.1
KDE Frameworks Version: 5.83.0
Qt Version: 5.15.3

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


More information about the Okular-devel mailing list