Bug report #11015
Style manager crashes when renaming symbol to existing name
|Affected QGIS version:||2.6.0||Regression?:||No|
|Operating System:||Windows x64||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:|
|Crashes QGIS or corrupts data:||Yes||Copied to github as #:||19355|
When trying to rename a symbol in the QGIS symbol manager to a name which already exists, QGIS crashes.
This can easily happen when working in a symbol group and the existing symbol with the same name is in another group or when the symbols are of a different type.
If a new symbol is created in the symbol manager and the name which is entered already exists, a meaningful error message (name already exits, replace?) is correctly shown.
Minidump is attached.
#2 Updated by Jochen Huber almost 7 years ago
- Status changed from Closed to Reopened
- File qgis-20141120-110643-5788-6444-exported.zip added
Hi, thanks for working on this!
Just tried opening the style manager in 2.6.0-1 stable (OSGeo4W, 64bit, Win7 SP1). When trying to rename a style to a name which already exists, no error is shown and the previous style seems to be replaced by the new one (here an overwrite warning would be helpful). After closing the style manager, I tried to reopen the style manager, which led to a crash (minidump).
When saving a style in the layer properties dialog and using an existing name, a warning message is shown. After accepting to overwrite the existing style, QGIS crashes when opening the style manager. So something still seems to become corrupt when overwriting styles.