Bug report #21254
Layer Properties > Load Style > From database > 'Other styles ...' > Description column contains Name text, should contain Description text (it is a geopackage layer)
|Affected QGIS version:||3.5(master)||Regression?:||No|
|Operating System:||Any||Easy fix?:||No|
|Pull Request or Patch supplied:||Yes||Resolution:||fixed/implemented|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||29072|
Using Layer Properties > Style > Save Style, I save a style for a geopackage layer, and I enter the 'Name' and a slightly longer text for the 'Description'. Then, I go into the Load Style dialog for a layer in the same geopackage.
In the 'Styles related to the layer' table list, the 'Name' text and the 'Description' text are both correctly displaying what I entered.
However, in the 'Other styles on the database' table list, the 'Description' column is showing the same text as in the 'Name' column. It should display the text that I entered for 'Description' when I saved the styles.
(I do not know what category to make this report - maybe 'Forms'?)
#3 Updated by Steve Lowman about 1 year ago
A slightly off-topic suggestion:
Perhaps for the same dialog, it could be worth considering changing the default value in the the drop-down list at the top, when it is a geopackage layer, to be 'From database' (for the Load Style dialog) or 'In database' (for the Save Style dialog), instead of defaulting to the .qml file option.
#5 Updated by Alessandro Pasotti about 1 year ago
- Status changed from Open to In Progress
- Operating System changed from Windows 10 to Any
- Resolution set to fixed/implemented
- Pull Request or Patch supplied changed from No to Yes
- Affected QGIS version changed from 3.4.4 to 3.5(master)