------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee. http://bugs.kde.org/show_bug.cgi?id=132113 Summary: Resize dialog limits image width/height to 4 digits Product: showfoto Version: unspecified Platform: unspecified OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: NOR Component: general AssignedTo: digikam-devel kde org ReportedBy: kde rubli info Version: 0.3.1 (using KDE 3.5.3, Debian Package 4:3.5.3-1 (testing/unstable)) Compiler: Target: i486-linux-gnu OS: Linux (i686) release 2.6.16.20 How to reproduce: 1. Load a large image (a panorama in my case) that is more than 10,000 pixels wide. 2. Choose 'Tools, Resize ...' from the menu. 3. Notice how the width is reduced to 9999. (The resize operation itself works perfectly fine as long as the destination width is smaller than 10,000 pixels.) Expected behavior: The 'Width' field should display the correct size and allow for values larger than 9999. _______________________________________________ Digikam-devel mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee. http://bugs.kde.org/show_bug.cgi?id=132113 marcel.wiesweg gmx de changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED ------- Additional Comments From marcel.wiesweg gmx de 2006-08-11 23:59 ------- SVN commit 572217 by mwiesweg: Adapt absolute maximum in ResizeDlg to current image dimension BUG: 132113 M +2 -2 imageresizedlg.cpp --- trunk/extragear/graphics/digikam/utilities/imageeditor/tools/imageresizedlg.cpp #572216:572217 @ -89,13 +89,13 @ // ------------------------------------------------------------- label = new QLabel(i18n("Width:"), plainPage(), "w"); - d->wInput = new KIntSpinBox(1, 9999, 1, *d->width, 10, plainPage()); + d->wInput = new KIntSpinBox(1, QMAX(*d->width * 10, 9999), 1, *d->width, 10, plainPage()); d->wInput->setName("w"); topLayout->addWidget(label, 0, 0); topLayout->addWidget(d->wInput, 0, 1); label = new QLabel(i18n("Height:"), plainPage()); - d->hInput = new KIntSpinBox(1, 9999, 1, *d->height, 10, plainPage()); + d->hInput = new KIntSpinBox(1, QMAX(*d->height * 10, 9999), 1, *d->height, 10, plainPage()); d->hInput->setName("h"); topLayout->addWidget(label, 0, 2); topLayout->addWidget(d->hInput, 0, 3); _______________________________________________ Digikam-devel mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
Free forum by Nabble | Edit this page |