Bug report #18017
Bookkeeping problem in attribute table
Status: | Closed | ||
---|---|---|---|
Priority: | Normal | ||
Assignee: | Alessandro Pasotti | ||
Category: | Attribute table | ||
Affected QGIS version: | master | Regression?: | No |
Operating System: | Easy fix?: | No | |
Pull Request or Patch supplied: | Yes | Resolution: | fixed/implemented |
Crashes QGIS or corrupts data: | No | Copied to github as #: | 25913 |
Description
Sometimes when you delete features, twice as many disappear from the attribute table.
Steps to reproduce:
1. Add the attached layer to a new project
2. Open the attribute table
3. Enable editing
4. Select the first row (see attached screenshot1.png)
5. Press "delete", now 2 rows have disappeared (see attached screenshot2.png)
For the cause of this, see my comments to this PR:
https://github.com/qgis/QGIS/pull/6185
Possible solution:
https://github.com/qgis/QGIS/pull/6191
Related issues
History
#1 Updated by Alessandro Pasotti almost 7 years ago
- Assignee set to Alessandro Pasotti
#2 Updated by Daan Goedkoop almost 7 years ago
P.S. I used the daily snapshot. I see that today the default widget in some cases has been changed from a range widget to a normal text editor widget. However, even if using the range widget, I think this bug should not occur.
#3 Updated by Alessandro Pasotti almost 7 years ago
- Status changed from Open to In Progress
I think that with today's fixes and your PR the issue can be closed.
Please test it.
#4 Updated by Alessandro Pasotti almost 7 years ago
- Related to Bug report #18016: Layer sometimes appears modified without editing data added
#5 Updated by Daan Goedkoop almost 7 years ago
Looks good, thank you!
#6 Updated by Daan Goedkoop almost 7 years ago
Note: I cannot close these two bug reports myself!
#7 Updated by Harrissou Santanna almost 7 years ago
- Resolution set to fixed/implemented
- Status changed from In Progress to Closed