Bug report #6705

Arrow indicates attribute table is sorted by default by the first column. It is not!

Added by Alister Hood over 11 years ago. Updated over 8 years ago.

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


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

Revision 8653bb48
Added by Matthias Kuhn over 8 years ago

Merge pull request #2493 from SebDieBln/AttrTableHideSortIndicator

Hide the sort indicator in the attribute table until first sort (fixes #6705)


#1 Updated by Alister Hood over 11 years ago

Also affects 1.8 and probably earlier versions.

#2 Updated by Sebastian Dietrich over 8 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 over 8 years ago

  • Status changed from Open to Closed

Also available in: Atom PDF