Bug report #6705

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

Added by Alister Hood almost 12 years ago. Updated almost 9 years ago.

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

Revision 8653bb48
Added by Matthias Kuhn almost 9 years ago

Merge pull request #2493 from SebDieBln/AttrTableHideSortIndicator

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

History

#1 Updated by Alister Hood almost 12 years ago

Also affects 1.8 and probably earlier versions.

#2 Updated by Sebastian Dietrich almost 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

Also available in: Atom PDF