Skip to content

Line connection on Containers and Copy/Paste Styles #5374

@Superpositivo

Description

@Superpositivo

Preflight Checklist

  • I agree to follow the Code of Conduct that this project adheres to.
  • I have searched the issue tracker for a feature request that matches the one I want to file, without success.
  • draw.io version 29.0.3
  • WIN 10

BUGS / ADJUSTMENTS

draw.io_2025-12-02_15-53.mp4

CASE 1) Containers with text. connections problems.
The container resizes following the text field (and it's great), but the text field bounding box overlaps the container bounding box, making it impossible to pick the container points to pull a connection line.
It only allows the ones from the text bounding box.

To Reproduce
Steps to reproduce the behavior:

  1. Make a container
  2. Insert a text field in the empty area
  3. make a new node or duplicate the same
  4. try to connect them using the container connections-pins
  5. Error (it's not an error, but well) (it will uses the text inside the container)

EXPECTED:
CASE 1: we should be able to pick the container connections points (solution: a 2-4 pixel larger bounding box would work like a charm).


CASE 2) Containers Copy/Paste style issue
While working, it's possible you want to change the color or style of a container, for different reasons, but not the content.
If we copy the style from a container to another container, all the content uses the pasted style, instead.

  1. make one container and make a BLUE style (just a random color)
  2. Insert a node inside the container and make it YELLOW
  3. Duplicate the whole container and change the style with a RED color
  4. now, the 2nd container should have the cointainer red and a YELLOW node inside.
  5. copy the style from the BLUE container and paste it to the RED container
  6. ERROR: now you have the container RED and also the node (that before was YELLOW )

EXPECTED:
CASE 2: we should just see AT LEAST only the container style, changing.
Of course, if DRAW:IO would "consider" the different content styles and be able to paste them correctly it would be awesome.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions