sublayers can not have same names as layers or sublayers of other layers
I find this quite restricting. Please think about changing this.
Dennis
Dennis Heuer wrote:
I find this quite restricting. Please think about changing this.
You may want to also file these feature requests in the appropriate tracker on SourceForge: http://sourceforge.net/tracker/?group_id=93438&atid=604309 If you only mail them to the mailing list there is a high chance of them being forgotten.
Of course you should check if there already are any requests for the functionality you want (or something very similar). If there are any existing requests that cover your needs you should add any information on why you want the feature and how you envision it to those request(s).
(Also, Inkscape is an open-source project, so if you are able to code you may want to try implementing some of these features yourself.)
On Sun, 11 Feb 2007 23:45:21 +0100 Jasper van de Gronde <th.v.d.gronde@...226...> wrote:
Dennis Heuer wrote:
I find this quite restricting. Please think about changing this.
BTW, in this specific case, the layer name seems to be stored as an id attribute, whose value HAS to be unique, so as it is this can't be changed.
Depends on how it must be usable. One could prepend the name of the parent dialog. This should make the hash value unique again. If the binding symbol may not be used in the name, there should be no problem for dialogs and other routines to find out the correct subname.
Dennis
On Sun, 11 Feb 2007, Jasper van de Gronde wrote:
Date: Sun, 11 Feb 2007 23:45:21 +0100 From: Jasper van de Gronde <th.v.d.gronde@...226...> Reply-To: Inkscape User Community inkscape-user@lists.sourceforge.net To: Inkscape User Community inkscape-user@lists.sourceforge.net Subject: Re: [Inkscape-user] sublayers can not have same names as layers or sublayers of other layers
Dennis Heuer wrote:
I find this quite restricting. Please think about changing this.
BTW, in this specific case, the layer name seems to be stored as an id attribute, whose value HAS to be unique, so as it is this can't be changed.
Strictly speaking that isn't true, it just happens to be easier to do things that way, to just avoid collisions and having a human readable value in the id field. There certainly needs to be a unique id tag but there can also be another non unique label (but off the top of my head I cannot remember precisely if there the tag was name or something else).
On 2/11/07, Jasper van de Gronde <th.v.d.gronde@...226...> wrote:
Dennis Heuer wrote:
I find this quite restricting. Please think about changing this.
BTW, in this specific case, the layer name seems to be stored as an id attribute, whose value HAS to be unique, so as it is this can't be changed.
No, the layer name is stored in inkscape:label, so it need not be unique. The appending of #number was added deliberately to make it possible to distinguish between same-name layers in the stack, so it makes sense. However, I agree that when layers are sublayers of two different layers, we don't need to add the number. So the "add #number" code must be made smarter to only search for same-name layers among siblings, not among all layers in document.
I'm ccing Mental who coded that. Mental, if you agree that it should be done and can't it done right now, please ask Dennis to submit a RFE.
bulia byak wrote:
On 2/11/07, Jasper van de Gronde <th.v.d.gronde@...226...> wrote:
Dennis Heuer wrote:
I find this quite restricting. Please think about changing this.
BTW, in this specific case, the layer name seems to be stored as an id attribute, whose value HAS to be unique, so as it is this can't be changed.
No, the layer name is stored in inkscape:label, so it need not be unique.
You're absolutely right, I didn't look closely enough.
The appending of #number was added deliberately to make it possible to distinguish between same-name layers in the stack, so it makes sense. However, I agree that when layers are sublayers of two different layers, we don't need to add the number. So the "add #number" code must be made smarter to only search for same-name layers among siblings, not among all layers in document.
I'm ccing Mental who coded that. Mental, if you agree that it should be done and can't it done right now, please ask Dennis to submit a RFE.
On Mon, 2007-02-12 at 12:44 -0400, bulia byak wrote:
I'm ccing Mental who coded that. Mental, if you agree that it should be done and can't it done right now, please ask Dennis to submit a RFE.
The request seems sensible, but at the moment I'm elbow-deep in the bbox stuff. So yes, please file an RFE.
-mental
participants (5)
-
Alan Horkan
-
bulia byak
-
Dennis Heuer
-
Jasper van de Gronde
-
MenTaLguY