Bug report #6705
Arrow indicates attribute table is sorted by default by the first column. It is not!
Status: | Closed | ||
---|---|---|---|
Priority: | Normal | ||
Assignee: | - | ||
Category: | GUI | ||
Affected QGIS version: | master | Regression?: | No |
Operating System: | Easy fix?: | No | |
Pull Request or Patch supplied: | No | Resolution: | |
Crashes QGIS or corrupts data: | No | Copied to github as #: | 15870 |
Description
Open the attribute table for a shapefile layer. The arrow in the header of the first column will indicate that the table is sorted by that column. But it is not. It is sorted (I think) by FID. This is misleading.
Note: I thought there was a ticket with a request to enable displaying FID in the first column in the attribute table. That would fix this problem, but I can't find any such ticket now.
Associated revisions
History
#1 Updated by Alister Hood about 12 years ago
Also affects 1.8 and probably earlier versions.
#2 Updated by Sebastian Dietrich about 9 years ago
This appears to be a bug in Qt. When new data is shown in a table that was sorted before, the new data is not sorted but the sort indicator remains. In QGIS sorting is enabled before the actual data is filled in, so this bug applies.
See PR 2493 for a workaround solution.
#3 Updated by Anonymous almost 9 years ago
- Status changed from Open to Closed
Fixed in changeset 8653bb481253b937dcd3022851499528c0cbf865.