Skip to content

Text background color cannot be selected for multiple lines of text #5250

@R4ygen

Description

@R4ygen

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.

Describe the bug
The issue #2238 has reappeared. But only for selections of multiple lines of text.

To Reproduce
Steps to reproduce the behavior:

  1. Write at least two or more lines of text inside a shape (by using the Enter key to make a new line)
  2. Select all the lines of text
  3. Check the "background color" checkbox

Expected behavior
The "background color" checkbox is checked and the color selector is displayed.

Actual behavior
The "background color" checkbox is checked for only a fraction of a second.
The "background color" checkbox immediately unchecks itself and the color selector disappears.

Screenshots
Image

draw.io version:

  • draw.io version 28.1.2

Desktop (please complete the following information):

  • OS: Windows
  • App: Latest version of the standalone desktop app "draw.io"
  • Browser: Vivaldi
  • Browser Version: Latest version
  • Tested both in the app and in the browser.

Additional context
Curios detail: If after the bug, you select any random single line of text, the text will result with the "background color" checkbox enabled with "white" or "black" as the color (depending on the theme in use). But as soon as you select more than one line, the "bacground color" checkbox will uncheck itself, even if, the text is clearly still background colored with white or black.

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