Skip to content

Unintended color change in "Add Category" dialog #1019

@XYIheng

Description

@XYIheng

Description:

When adding a new category, a default color is initially assigned and displayed. However, if the user opens the color picker, navigates between the "CUSTOM" and "PRESETS" tabs, and clicks "DONE" without actually selecting a new color, the initial default color is lost and changes to a different, unexpected color.

Reproduce steps:

  1. Click category button in the note
  2. Click "ADD CATEGORY"
  3. Remenber current color appears on the screen
  4. Click the color
  5. Click "CUSTOM"
  6. Click "PRESETS"
  7. Click "DONE"
  8. Issue: The category color on the screen has now changed to a completely different color instead of retaining the original one.

Expected behavior:

Navigating the tabs inside the color picker should not alter the selected color. If the user clicks "DONE" without explicitly picking a new color, the category should retain its initially assigned default color.

Bug video

20260223_185113.mp4

Environment:

Omninotes Version: 6.3.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions