zen-browser / desktop

🌀 Experience tranquillity while browsing the web without people tracking you!
https://zen-browser.app
Mozilla Public License 2.0
17.09k stars 403 forks source link

New color picker duplicates custom colors after Zen is closed and reopened #2351

Open RaduBratan opened 1 week ago

RaduBratan commented 1 week ago

Captchas

What happened?

In the newly added theme color changer, after setting a color in the "Custom Color" field, the values appear duplicated after closing and reopening Zen.

Steps to reproduce:

  1. Open Zen browser on Windows 11
  2. Select a workspace
  3. Right click the sidebar
  4. Select "Change Theme Colors"
  5. In the "Custom Color" field, type any color (e.g. #FF00FF)
  6. Click the "+" button to add it
  7. Close the theme changer dialog
  8. Close Zen
  9. Reopen Zen
  10. Make sure the same workspace is selected
  11. Repeat steps 3 and 4

Observed result: Notice how the same custom color appears twice. Removing any entry (by hovering over a color and clicking "X") deletes both entries. If the process is repeated multiple times (without deleting any colors in the process), all colors will appear duplicated.

Relevant media: https://github.com/user-attachments/assets/a9e4ed9b-72cc-42c3-871b-91d43fa86dec

Reproducible?

Versions

1.0.1-a.13 1.0.1-a.14

What platform are you seeing the problem on?

Windows

Relevant log output

No response

dosubot[bot] commented 1 week ago

Hey @RaduBratan! I'm here to help you with any bugs, questions, or contributions. Let's work together to resolve the issue you're encountering.

It seems like there is an issue with the color picker in version 1.0.1-a.13 of the Zen browser, where custom colors are duplicated after the browser is closed and reopened. This duplication occurs even after removing all custom colors before closing the browser. Unfortunately, I couldn't find specific information about this issue in the repository. It might be helpful to check if there are any updates or patches available that address this problem.

To continue talking to Dosu, mention @dosu.