GNOME Bugzilla – Bug 662484
Closs-layer link states aren't consistent.
Last modified: 2014-03-02 13:54:45 UTC
1. Start a new diagram. 2. Add a Layer 2. 3. Enable linking from Layer 2 to the default layer. 4. Add Layer 3. <- All of a sudden, it have active linking to default layer. 5. Disable linking to default layer. 6. Enable linking to Layer 2. 7. Select Layer 2. <- It lost it's "link to default layer" option. 8. Select default layer. <- Suddenly, it have allowed linking to Layer 2. Even if you don't consider it as bug, the behavior is very frustrating. I would expect each layer having it's own state of layers it's allowed to link to.
The whole feature of connections between layers is a bit flawed (see bug #600571.) But here you seem to expect something which I don't think was supposed to be implemented. - The active layer is always connectable (the icon moves with the activation) - Non active layers can be marked for connection from any other active layer Connectability is not managed bi-directonal, but only the target is marked to be connectable. Sorry again you'll have to increase you frustration tolerance or provide a patch. Please also fix bug 600571 and provide an update for the manual. For reference the original patch: http://git.gnome.org/browse/dia/commit/?id=26dd33b95d787c6e41ebc14c21c03972f5c85c7c
> - The active layer is always connectable (the icon moves with the activation) Seems to be the case on my side. (Means, it works as expected. And, like you said, intended to be.) > - Non active layers can be marked for connection from any other active layer This part of your reply is rather ambiguous. To clarify my original message, I just devised a simpler testcase. 1. Start Dia. Have a new, empty workspace. 2. Add two layers. Just click "Add Layer" button twice. 3. Your topmost layer should be selected now. Enable layer linking to both layers below it. 4. Select bottommost layer. Connectability mark will be on two bottom layers, and it seems to be stuck there, whichever layer you select or if you add more layers. It appears that connectability, being enabled manually, is a global layer stance. But knowing the bug you mentioned, and due to some local needs, this behavior is least desirable for me. Having local per-layer connectability maps would help reducing the impact of the cross-layer linking issue. > Please also fix I do not know C or C++ or any of that bird language.
I think this was fixed by my fix for bug 600571: https://git.gnome.org/browse/dia/commit/?id=0d83d34579414084155ab9f62f401606c6695e5d