Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spinbox Widgets revert to start value in LayerProperties in Symbology controls #24283

Closed
qgib opened this issue Mar 22, 2017 · 5 comments
Closed
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Forms
Milestone

Comments

@qgib
Copy link
Contributor

qgib commented Mar 22, 2017

Author Name: Mark Johnson (Mark Johnson)
Original Redmine Issue: 16373
Affected QGIS version: master
Redmine category:forms


Changing a value is not possible, will revert to default value by clicking on another Widget.
Seems to effect everything defined as QgsDoubleSpinBox as used in

  • widget_simplemarker.ui, widget_simpleline.ui, widget_simplefill.ui
    (Changing of numeric values for points, linestrings and polygons)
@qgib
Copy link
Contributor Author

qgib commented Mar 22, 2017

Author Name: Nyall Dawson (@nyalldawson)


Cannot reproduce on Linux (Fedora 25) or Windows


  • status_id was changed from Open to Feedback

@qgib
Copy link
Contributor Author

qgib commented Mar 30, 2017

Author Name: Mark Johnson (Mark Johnson)


I just noticed that I did not make myself clear with this report.

  • with change I meant changing the numbers in the edit field of the widget

I just tried the spin-control (up/down arrows) and that changed value remains

  • even after clicking on another control

So this happens only when the number is 'edited', not when using the up/down arrows.

  • after changing the value with the up/down arrows (from 10 to 11) and changing the number in the edit field (from 11 to 12)
  • it will revert back to the value last set by the up/down arrows (11)

@qgib
Copy link
Contributor Author

qgib commented Mar 30, 2017

Author Name: Nyall Dawson (@nyalldawson)


That's not reproducible either. I think you'll need to insert some breakpoints in qgsdoublespinbox.cpp (QgsDoubleSpinBox::changeEvent, QgsDoubleSpinBox::changed, QgsDoubleSpinBox::valueFromText, QgsDoubleSpinBox::validate would be good places to start) and see what's occurring.

@qgib
Copy link
Contributor Author

qgib commented Apr 19, 2017

Author Name: Mark Johnson (Mark Johnson)


This problem seems to have 'disappeared', for it no longer happens now.
So I think it can be closed (not sure if I should do this myself).

@qgib
Copy link
Contributor Author

qgib commented Apr 19, 2017

Author Name: Nyall Dawson (@nyalldawson)


  • resolution was changed from to invalid
  • status_id was changed from Feedback to Closed

@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! Forms labels May 25, 2019
@qgib qgib added this to the Version 3.0 milestone May 25, 2019
@qgib qgib closed this as completed May 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Forms
Projects
None yet
Development

No branches or pull requests

1 participant