Bug report #16520
regression: trying to select a feature by clicking on an attribute table row's header selects all rows from first to the clicked one
Status: | Closed | ||
---|---|---|---|
Priority: | High | ||
Assignee: | - | ||
Category: | Attribute table | ||
Affected QGIS version: | master | Regression?: | Yes |
Operating System: | Easy fix?: | No | |
Pull Request or Patch supplied: | No | Resolution: | fixed/implemented |
Crashes QGIS or corrupts data: | No | Copied to github as #: | 24426 |
Description
On QGIS master, clicking on an attribute table's row header to select a given feature is broken. Instead of selecting one feature, it'll select all features from the first row all the way to the row you've clicked on. The issue is visible with datasets opened through the ogr as well as spatialite providers (possibly more providers affected, I just haven't tested others)
Steps to reproduce- Create a new project
- Add an existing shapefile (or spatialite) vector layer, insure the dataset has a large-ish number of features
- Open the attribute table
- Click on the row header of the fourth row
- While the feature associated to the fourth row should be selected, you'll notice row 1, 2, 3, and 4 have been selected
Associated revisions
Fix attribute table header feature selection (fixes #16520)
History
#1 Updated by Giovanni Manghi over 7 years ago
- Status changed from Open to Feedback
Only master, correct?
#2 Updated by Mathieu Pellerin - nIRV over 7 years ago
- Status changed from Feedback to Open
Giovanni, I haven't tried on 2.18, but I believe it's a master-only regression.
That GIF is probably worth a thousand words:
#3 Updated by Arnaud Poncet-Montanges over 7 years ago
I tried it on 2.18.7 it is definitely on master.
#4 Updated by Mathieu Pellerin - nIRV over 7 years ago
- % Done changed from 0 to 100
- Status changed from Open to Closed
Applied in changeset qgis|51d3fac19c6aaad39f94a0807812c7b935b2652d.
#5 Updated by Giovanni Manghi over 7 years ago
- Resolution set to fixed/implemented