[Okular-devel] [Bug 290627] New: Okular continuously resizes document when in "Adjust to width" mode and document area set to a size where the largest size is too high thus a vertical scrollbar is applied to it leaving the width too small.

Per Olav Kroka per_olav_kroka at yahoo.no
Wed Jan 4 20:05:57 UTC 2012


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

           Summary: Okular continuously resizes document when in "Adjust
                    to width" mode and document area set to a size where
                    the largest size is too high thus a vertical scrollbar
                    is applied to it leaving the width too small.
           Product: okular
           Version: 0.10.5
          Platform: Ubuntu Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: okular-devel at kde.org
        ReportedBy: per_olav_kroka at yahoo.no


Version:           0.10.5 (using KDE 4.4.5) 
OS:                Linux

Okular continuously resizes document when in "Adjust to width" mode and
document area set to a size where the largest displayed size is too high for
the document area, thus a vertical scrollbar is applied to it leaving the width
too small.  The document is therefore resized back to the small size, removing
the need for the scroll bar.  The disappearing scrollbar makes room for a
larger document and we are back to where we started. 

Document format: landscape.
Printed Size: A4

My suggestion: a larger threshold before resizing is recommended, taking any
scrollbars into account.

The reproducability refers to when all conditions are met.

Workaround: the user may change the size, but it is quite annoying when it
happens.

Reproducible: Always

Steps to Reproduce:
1. Open a document
2. ensure that "Adjust to width" (possibly another string in english -- mine is
norwegian nynorsk "Tilpass til breidda")
3. enshure that document area does not show the complete height.
4. reduce the width until the displayed document size starts to ocillate.

Actual Results:  
The displayed document size starts to ocillate.  
- When the largest size is displayed, there is a vertical scrollbar covering
the right side of the document.
- When the smallest size is displayed, the vertical scrollbar disappears and
the complete height and width is shown. The document area have space enough for
the vertical scrollbar, and there seem to be extra space in addition to the
document height as well.

Expected Results:  
A stabile size should have been chosen.

OS: Linux (x86_64) release 2.6.32-37-generic
Compiler: cc

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Okular-devel mailing list