Menu

#201 Selection view containing multiple SVGs

2.6.0
closed
None
5
2016-02-11
2015-10-20
No

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.

2 Attachments

Discussion

  • Karsten Klein

    Karsten Klein - 2015-10-20

    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.

     
  • Sven Schrinner

    Sven Schrinner - 2015-12-16

    Fixed by revision [a38497].

     

    Related

    Commit: [a38497]

  • Sven Schrinner

    Sven Schrinner - 2015-12-16
    • status: open --> closed
    • Related To: -->
    • Group: any future version --> cdk update release
     
  • Nils Kriege

    Nils Kriege - 2016-01-11

    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
  • Nils Kriege

    Nils Kriege - 2016-01-11
     
  • Sven Schrinner

    Sven Schrinner - 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.

     
  • Sven Schrinner

    Sven Schrinner - 2016-01-22

    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.

     
  • Sven Schrinner

    Sven Schrinner - 2016-01-22
    • status: open --> needs-review
     
  • Sven Schrinner

    Sven Schrinner - 2016-01-29
    • status: needs-review --> closed
     

Log in to post a comment.

MongoDB Logo MongoDB