-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
[Attribute table] Range widget arrow value is set to -2 147 483 645 #29019
Comments
Author Name: Giovanni Manghi (@gioman)
|
Author Name: Hugo Mercier (@mhugo)
Yes it returns the minimum value ... the 'null' value must be an actual value. If you expect 0, you expect null to be -1 ? Is it better than -2 147 483 648
I can't reproduce on master ... |
Author Name: Alexander Bruy (@alexbruy)
|
Author Name: Harrissou Santanna (@DelazJ)
Good point. actually I haven't thought so far. But I'm pretty sure that nobody will be in need for -2 147 483 648 when hitting the arrow. People will most of the times go from 0 up or down.
Me neither. Actually I can reproduce none of the two issues I describe, using either 0d178aa or dabd649. Hitting the up arrow brings me to 0 and I can't get -1 (so no luck for -2 147 483 648 :D) when hitting the down arrow: values are set positive by default. I am still using the same PG layers as in the initial report with no changes made to fields meanwhile. Were your changes reverted? |
Author Name: Giovanni Manghi (@gioman)
|
trying the latest master and the above is still true. |
This is still the case on QGIS 3.22.3. (Windows 10) |
This was fixed by #57911 |
Author Name: Harrissou Santanna (@DelazJ)
Original Redmine Issue: 21201
Affected QGIS version: 3.5(master)
Redmine category:attribute_table
Trying to change value of a postgres integer field in attribute table, I clicked on the up arrow, expecting to get 0 (from null) and it returns -2 147 483 645
Clicking the up or down arrow to change the value has no effect.
The only workaround is to manually type in a value (let's say 0) and then you can change the value using the arrows.
Hugo, just pinging you as I notice you made some recent changes to this widget
The text was updated successfully, but these errors were encountered: