The selection view can have several SVGs displayed at the same time (with different scaling),
see attached. This was seen so far only when multiple windows are open.
That one took me a while: This occurs when the context menu overlaps with the selection window,
e.g. when I try to expand a subtree or level. In the overlap area the SVG is redrawn with a different
scale, but the original drawing in the selection view is not deleted.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I think, this issue has nothing to do with the changes made by this bug report. It is caused by the new SVGs of the CDK. The old SVGs had some kind of transparent border, while the new ones do not. In this case the issue can be solved, by adding 3 pixels of margin to the panel. I did not fix this in the depiction branch, yet, to avoid merge issues with the master branch.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The issue should not occur anymore, but you have to reimport the dataset with the current revision of cdk-depiction. The old SVGs were somehow larger than their claimed size, which caused the svg panel to draw them out of bounds.
The new SVGs should now be painted correctly on any current branch.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
That one took me a while: This occurs when the context menu overlaps with the selection window,
e.g. when I try to expand a subtree or level. In the overlap area the SVG is redrawn with a different
scale, but the original drawing in the selection view is not deleted.
Fixed by revision [a38497].
Related
Commit: [a38497]
The fix for this problem causes a different problem for me: The SVG is now painted over the border of the widget, see attached screenshot.
Last edit: Nils Kriege 2016-01-11
I think, this issue has nothing to do with the changes made by this bug report. It is caused by the new SVGs of the CDK. The old SVGs had some kind of transparent border, while the new ones do not. In this case the issue can be solved, by adding 3 pixels of margin to the panel. I did not fix this in the depiction branch, yet, to avoid merge issues with the master branch.
The issue should not occur anymore, but you have to reimport the dataset with the current revision of cdk-depiction. The old SVGs were somehow larger than their claimed size, which caused the svg panel to draw them out of bounds.
The new SVGs should now be painted correctly on any current branch.