Re: [QGIS-Developer] [attributetable] #15803 "Sort on Top" regression or feature ?

2017-05-10 Thread Luigi Pirelli
1) is already in the related PR https://github.com/boundlessgeo/QGIS/commit/cae124acea62b3d387586e3c1619144a3c12b150, btw more controls will be added on restrict SortOrder values. 2) hmmm... constructor start with the correct AscendingMode... someone (a plugin or the core code or a bug) do

Re: [QGIS-Developer] [attributetable] #15803 "Sort on Top" regression or feature ?

2017-05-10 Thread Matthias Kuhn
Hi Luigi, Thanks for the detailed report. I think there are two different things to fix 1. XML Loading: the static_cast should be accompanied by a validity check 2. Fix the reason for 158 ever appearing (might just be a default value assigned to mSortOrder in qgsattributetableconfig.h)

[QGIS-Developer] [attributetable] #15803 "Sort on Top" regression or feature ?

2017-05-09 Thread Luigi Pirelli
Hi devs ***In short: The sortOrder value in QgsProject section: can be any value for some reason (e.g. flexibility for the future) or it is a bug? I would ask to especially to Nyall that git blames is the author of this section: