------- 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=168022 Summary: Border width slider behaves incorrectly with preserve aspect ratio switched off Product: digikamimageplugins Version: unspecified Platform: unspecified OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: NOR Component: Border AssignedTo: digikam-devel kde org ReportedBy: gandalf.lechner esi ac at Version: 0.10-beta3 (using 4.1.00 (KDE 4.1.0), Kubuntu packages) Compiler: gcc OS: Linux (x86_64) release 2.6.24-17-generic In the add border dialog, with "preserve aspect ratio" switched off, the slider for choosing the width of the border behaves incorrectly; it only allows the user to choose between two values, 1 pixel or 1103 pixel in my case. This problem does not appear in 0.9.4. The percentage slider one can use with "preserve aspect ratio" switched on works fine in both cases. _______________________________________________ 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=168022 ------- Additional Comments From caulier.gilles gmail com 2008-08-01 20:36 ------- Looks like a KDE bug into KDoubleNumInput Look at the code from knuminput.cpp (current trunk): // upcast to base type to get the minimum/maximum in int form: QDoubleSpinBox * spin = d->spin; int slmax = spin->maximum(); <-- What if maximum is 0.4? Slider's maximum is 0. int slmin = spin->minimum(); <-- same for this int slvalue = spin->value(); <-- int slstep = spin->singleStep(); <-- Step 0.01? slstep is 0 ... priv->m_slider = new QSlider(Qt::Horizontal, this); priv->m_slider->setMinimum(slmin); priv->m_slider->setMaximum(slmax); priv->m_slider->setSingleStep(slstep); priv->m_slider->setValue(slvalue); Look at compilation warning: /home/marcel/freshmeat/multimedia/kde4/src/KDE/kdelibs/kdeui/widgets/knuminput.cpp:834: warning: converting to 'int' from 'double' Gilles Caulier _______________________________________________ Digikam-devel mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
In reply to this post by Bugzilla from gandalf.lechner@esi.ac.at
------- 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=168022 caulier.gilles gmail com changed: What |Removed |Added ---------------------------------------------------------------------------- Component|Border |kdeui Product|digikamimageplugins |kdelibs Version|unspecified |SVN _______________________________________________ Digikam-devel mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
In reply to this post by Bugzilla from gandalf.lechner@esi.ac.at
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee. You are on the CC list for the bug, or are watching someone who is. http://bugs.kde.org/show_bug.cgi?id=168022 caulier.gilles gmail com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |digikam-devel kde org AssignedTo|digikam-devel kde org |kdelibs-bugs kde org _______________________________________________ Digikam-devel mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
Free forum by Nabble | Edit this page |