Bug report #12625
Difficult to set value in drop down list in table column
|Affected QGIS version:||2.8.1||Regression?:||No|
|Operating System:||Windows||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:||end of life|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||20741|
When I select a feature on the map and then I open the attribute table for the layer and change the view to Show Selected Features.
I have a column called Type. I try to change the value of Type which is a Value Map so it shows a drop down list.
And then I press Save button.
Then the value in Type column I just changed will change itself back to the previous value
And then I have to change Type again and save again.
And then I change the selection to work with another feature.
Then I select the feature I was working with before.
And in Type column it still shows the original value before I changed it even though the map style reflects the changed value. (The maps use rule based styles with the Type column being the column that is used in the style rules)
And this is very annoying.
#1 Updated by Giovanni Manghi almost 5 years ago
- Category set to Edit widget
- Status changed from Open to Feedback
I cannot confirm on QGIS master (please test it). This bug sounds similar to one that now I cannot find and that was about the value map widget not writing the right value after having reordered one of the columns. But this issue was already fixed.
#7 Updated by Patrick Dunford about 4 years ago
- Status changed from Closed to Reopened
- File Untitled_1.avi added
Here is a screen capture showng the problem
On the screen we have the two tables opened as attributes, the source table on the left and the destnation table on the right.
00:00:05 select a record of the source table
00:00:26 A Cut of the selected record was performed
00:00:36 a Paste to the new table was performed and we scroll to the bottom to see the new table. Note that even though the tables have identical attributes the record was pasted with all fields values cleared.
00:00:39 The value in the Type column was changed from null into one of the values in the drop down list using the mouse.
00:00:44 The Save button was used to save the new record to the table.
00:00:45 We scroll to the bottom to find the new record with the type field value we just entered, has been cleared.
After settng the type again and saving again it gets remembered this time.
QGIS code revision
Compiled against Qt
Running against Qt
Compiled against GDAL/OGR
Running against GDAL/OGR
Compiled against GEOS
Running against GEOS
PostgreSQL Client Version
Windows 10 x64
#9 Updated by Giovanni Manghi 11 months ago
- Resolution changed from not reproducable to end of life
- Status changed from Reopened to Closed
End of life notice: QGIS 2.18 LTR