Skip to content

Bug: Breakpoint name and settings empty when reopening edit menu #5597

@zehjotkah

Description

@zehjotkah

When adding a new breakpoint through the breakpoints editor, editing its name and settings, then closing and reopening the menu, the breakpoint appears with empty values instead of showing the saved data. After reloading the application, the breakpoint correctly displays the saved name and settings.

Steps to Reproduce

  1. Click the three dots next to the breakpoint quick selectors
  2. Click "Edit Breakpoints" button
  3. Click the + button next to the "Breakpoints" title
  4. Type in a breakpoint name (e.g., "Dark")
  5. Select settings (e.g., prefers-color-scheme: dark)
  6. Close the popup by clicking anywhere else on the canvas
  7. Click the three dots again and click "Edit Breakpoints"

Expected: The added breakpoint displays with the name "Dark" and the condition prefers-color-scheme: dark

Actual: The added breakpoint shows with empty name and no settings

Workaround: Reload the app - the breakpoint then correctly displays name and settings

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