Bug 359257 - Image size spinbox doesn't allow values larger than 99
Summary: Image size spinbox doesn't allow values larger than 99
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Geolocation-KMLExport (show other bugs)
Version: 5.0.0
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-02-11 05:49 UTC by Sergey Salnikov
Modified: 2018-01-31 19:39 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In: 5.0.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey Salnikov 2016-02-11 05:49:18 UTC
By the commit https://quickgit.kde.org/?p=kipi-plugins.git&a=blobdiff&h=a84953bd0ddbd1eafa1bb78869952c6e75f7d5cf&hp=7c65904f7e19d5e2f92b60de694ddc66b385a27f&f=kmlexport%2Fkmlwindow.cpp&hb=3f7e6ddd7f2b451a3519c62ddc0cddc4e749536c
RIntNumInput was replaced by QSpinBox, but QspinBox allows values between 0 and 99 by default. This doesn't allow one to export to KML images larger than 99 pixels. I suppose that maximum value for ImageSizeInput_ should be set explicitly. As far as I see the maximum value for RIntNumInput was +INT_MAX.

Probably, such fixes have to be done to other files as well.
Comment 1 Maik Qualmann 2016-02-11 11:24:31 UTC
Git commit 042396344e2ea62a70e505cd5c4edb3b0ad64df0 by Maik Qualmann.
Committed on 11/02/2016 at 11:22.
Pushed by mqualmann into branch 'master'.

fix range for icon and image size in KML export
FIXED-IN: 5.0.0

M  +2    -1    NEWS
M  +3    -1    kmlexport/kmlwindow.cpp

http://commits.kde.org/kipi-plugins/042396344e2ea62a70e505cd5c4edb3b0ad64df0