Bug report #11051
Forbide identical names for print composers
Status: | Closed | ||
---|---|---|---|
Priority: | Normal | ||
Assignee: | - | ||
Category: | Map Composer/Printing | ||
Affected QGIS version: | 2.4.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 #: | 19387 |
Description
I don't know whether it is should be a bug report or a feature request. I let you decide.
When adding a new print composer, QGIS doesn't allow to use a name that is already used for another print composer in the project.
However, u can further rename this print composer with the "forbidden" name, having then in your project more than one print composers with same name.
Is there a reason why using same name is not allowed during creation?
IMHO, I think that there should be one name <==> one print composer.
Associated revisions
[composer] Prevent renaming to duplicate name in manager (fix #11051)
History
#1 Updated by Nyall Dawson about 10 years ago
- Status changed from Open to Feedback
How are you renaming the composer to a duplicate name? This should not be possible, so if you can posts the steps you do then I can track this down.
#2 Updated by Harrissou Santanna about 10 years ago
Hi Nyall
In the Composer Manager, when you click on the Rename button, you can't give it an existing name. But that is allowed when you double click the name of the composer.
#3 Updated by Nyall Dawson about 10 years ago
- Affected QGIS version set to 2.4.0
- Tracker changed from Feature request to Bug report
- Status changed from Feedback to In Progress
- Crashes QGIS or corrupts data set to No
#4 Updated by Nyall Dawson about 10 years ago
- Status changed from In Progress to Closed
Fixed in changeset a7d708f95ea7c55f11b3c2f2dacf335b2747bc9e.