Bug report #14048
Importing symbols in Style Library doesn't always use the group name entered
Status: | Closed | ||
---|---|---|---|
Priority: | Normal | ||
Assignee: | - | ||
Category: | - | ||
Affected QGIS version: | 2.12.0 | Regression?: | No |
Operating System: | Easy fix?: | No | |
Pull Request or Patch supplied: | No | Resolution: | |
Crashes QGIS or corrupts data: | No | Copied to github as #: | 22059 |
Description
- If you enter an existing group name, symbols will go there.
- If the field is empty, the imported symbols will be grouped in a new group named as the imported file.
- If you enter a name of a group that doesn't exist, imported file name will still be used instead of the name entered.
Given that case 2 shows that it's possible to create a new group from this dialog, I think in the case 3, it should create the group with the name typed.
Associated revisions
[StyleManager] Respect the entered group name when importing symbols
(fixes #14048)
History
#1 Updated by Sebastian Dietrich almost 9 years ago
Harrissou Santanna wrote:
- If the field is empty, the imported symbols will be grouped in a new group named as the imported file.
- If you enter a name of a group that doesn't exist, imported file name will still be used instead of the name entered.
This is not the whole truth. The name used is the name that was in the combo-box before the user edited it. If you select an existing group foo-group and delete its name from the combobox or change it, the symbols will be imported to foo-group.
So while the combobox actually allows editing, this is not taken into account by the import routine.
#2 Updated by Sebastian Dietrich almost 9 years ago
See PR 2649 for a solution that additionally allows importing symbols without adding them to a group.
#3 Updated by Nyall Dawson almost 9 years ago
- Status changed from Open to Closed
Fixed in changeset 8d105ff8f998bdf3426088d648cd75220b0b469c.