[Digikam-devel] [Bug 178540] New: zoom in previewwidget has poor behaviour

brandon brandon at sharpideas.ca
Tue Dec 23 03:45:20 GMT 2008


http://bugs.kde.org/show_bug.cgi?id=178540

           Summary: zoom in previewwidget has poor behaviour
           Product: digikam
           Version: unspecified
          Platform: Compiled Sources
        OS/Version: MS Windows
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: digikam-devel at kde.org
        ReportedBy: brandon at sharpideas.ca


Version:            (using KDE 4.1.3)
Compiler:          N/A N/A
OS:                MS Windows
Installed from:    Compiled From Sources

source file: graphics/digikam/libs/widgets/common/previewwidget.cpp

previewwidget is used in a few places, imagepreviewview.cpp being one.

The zoom in out functionality has a few undesired behaviours.

Some to do with the use of:

QFrame::contentsRect().width()/.height()
instead of
QScrollView::visibleHeight()/visibleWidth()

or

conflicts between centering the image in extra vertical/horz. space and
centering the contents scrolling within the viewport

also accounting for the appearance/disappearance of the scroll bars changing
the visible area.

(Note: I have a patch that fixes all of these things, I just have to learn how
to get it approved.)


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



More information about the Digikam-devel mailing list