Skip to content

rectangle and line style conflict #5538

@GreatDit2025

Description

@GreatDit2025

Preflight Checklist

  • [ x] I agree to follow the Code of Conduct that this project adheres to.
  • [ x] I have searched the issue tracker for a feature request that matches the one I want to file, without success.

You must search the issue tracker and agree to the code of conduct. You must fill in this entire template. If you delete part/all or miss parts out your issue will be closed.

If you are technical, you should report bugs along the lines of https://marker.io/blog/how-to-write-bug-report. If you are not technical, we will make allowances, please try to make an effort to understand the process.

Describe the bug
When drawing a rectangle, the text within it should have no background. This is so I can change the fill of the entire rectangle without changing the text background. I draw a filled rectangle and set the text background to transparent. I save this in the default style.
Then I need to draw lines and label them. The text on the lines should have a background so the line doesn't interfere with the letters. I draw a line and set the text background to opaque. I save this in the default style. This messes up the default style for the rectangle.
This was done well in older versions, but now it's a pain: constantly redoing the background for the labels.

  • draw.io version v29.6.10

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions