Bug report #12421
QGIS form : range with decimal > rounding by saving project ?
Status: | Closed | ||
---|---|---|---|
Priority: | Normal | ||
Assignee: | - | ||
Category: | Forms | ||
Affected QGIS version: | 2.8.1 | Regression?: | No |
Operating System: | Windows | Easy fix?: | No |
Pull Request or Patch supplied: | No | Resolution: | |
Crashes QGIS or corrupts data: | No | Copied to github as #: | 20593 |
Description
Hey,
Decimal on range field (form customizing) is not save with project.
There is rounding.
Example :
0,2 become 0
On *.qpj : <widgetv2config AllowNull="1" fieldEditable="0" Step="0" Style="SpinBox" labelOnTop="0" Min="0" Max="5"/>
(fieldEditable is always integer)
No alternative ?
Thanks
Associated revisions
edit widgets: don't truncate double ranges and also support them in sliders and
dials (fixes #12421)
edit widget: fix ranges (followup 91e44eaf; fixes #12421)
edit widget: fix ranges (followup 91e44eaf; fixes #12421)
edit widgets: don't truncate double ranges and also support them in sliders and
dials (fixes #12421)
(cherry picked from commit 91e44ea and c6996ac)
History
#1 Updated by Giovanni Manghi over 9 years ago
- Target version changed from Version 2.8.1 to Version 2.8.2
#2 Updated by Giovanni Manghi over 9 years ago
- Target version changed from Version 2.8.2 to Version 2.10
#3 Updated by Jürgen Fischer over 9 years ago
- Status changed from Open to Closed
Fixed in changeset 91e44eafea2729bda02db8ac55d50fc54b8e0e56.
#4 Updated by Stefan Blumentrath over 9 years ago
- Status changed from Closed to Reopened
Hi, I just tried the stable release and the problem does not seem to be fully fixed.
Now it is no longer possible to specify a decimal in the step parameter (also for double or real or similar numeric fields)...
I can only enter numbers in the "step" parameter, no points or commas...
#5 Updated by Jürgen Fischer over 9 years ago
- Status changed from Reopened to Closed
Fixed in changeset 2bd5b89319118d19692e16f93bd3942c99d827a9.