Bug report #20515
Attribute Table issue: the changes to the column settings are not persistent
|Affected QGIS version:||3.5(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 #:||28335|
The column settings are reset each time the Attribute Table is closed.
Steps to replicate the issue:
- create a new project
- load any vector layer with at least one feature and some attributes
- open the Attribute Table
- change the columns settings (right-click on the headers and change columns order, visibility and widths)
- close and reopen the Attribute Table: the changes are lost
The changes aren't set to the QgsAttributeTableConfig object (verified using python code).
The issue also occurs in QGIS 3.4.1 (new LTR) and it's OS independent.
It's a regression since in QGIS 2.18.25 and QGIS 3.2.3 the changes to the column settings are persistent as expected.