The previously enabled theme is not restored if the “Undo” button is clicked
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 35/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- javascript
- 领域
- frontend
调研方向
在 Firefox Color 中选择一个预设或更改 Custom colors,然后点击 Undo,以重现该问题;将其与 Revert All 进行比较,后者已经能够恢复之前的主题。追踪 Preset themes 和 Custom colors 标签页背后的主题状态处理逻辑,并在两种情况下 Undo 都能恢复之前启用的主题时,视为问题已解决。
由索引模型根据 Issue 内容生成。
描述
[Affected versions]:
- Firefox Release 94.0.1 - Build ID: 20211103134640
- Firefox Beta 95.0b10 - Build ID: 20211121185651
- Firefox Nightly 96.0a1 - Build ID: 20211123094249
[Affected Platforms]:
- Windows 10 x64
- macOS 11.6
- Linux MX-21
[Prerequisites]:
- Have a Firefox profile with the latest version of the “Firefox Color” addon installed from here (version 2.1.7).
[Steps to reproduce]:
Open the browser with the profile from the prerequisites.
Click the “Firefox Color” toolbar button.
Click the “Preset themes” tab and select any theme.
Click the “Undo” button from the top-right part of the page.
Observe the behavior.
[Expected result]:
- The previous theme is applied.
[Actual result]:
- The theme is reverted to the colors set in the “Custom colors” tab.
[Notes]:
- The issue is also reproducible if, in step 3, the change was made from the “Custom colors” tab instead of the “Preset themes” one.
- The issue is not reproducible if the “Revert All” button is clicked instead. In this case, the previous theme is restored.
- Attached is a screen recording of the issue.

- 主要语言
- JavaScript
- 星标
- 506
- 派生
- 100
- PR 合并指标
- 30 天内没有已合并 PR
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
mozilla/FirefoxColor 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 68/100
mozilla/FirefoxColor#1081 · 1 条评论 ·
-
难度 3/5 1-2 天 新手友好度 35/100
mozilla/FirefoxColor#1087 · 1 条评论 ·
-
难度 5/5 一周以上 新手友好度 35/100
mozilla/FirefoxColor#1085 · 1 条评论 ·
-
难度 3/5 1-2 天 新手友好度 68/100
mozilla/FirefoxColor#1084 · 1 条评论 ·
-
难度 5/5 一周以上 新手友好度 35/100
mozilla/FirefoxColor#1083 · 1 个 reaction ·
查看 mozilla/FirefoxColor 的全部 Issue
相似的 Issue
-
难度 1/5 1-3 小时 新手友好度 78/100
Mintplex-Labs/anything-llm#6490 ·
-
难度 2/5 1-3 小时 新手友好度 86/100
-
[quality] workflow-scripts guard reads test:unit:coverage as skipping the unit suite, blocking #632 未关闭agent/quality hive/hosted-available-lke648397-260827-5n31 quality testing
难度 2/5 1-3 小时 新手友好度 86/100
-
难度 2/5 1-3 小时 新手友好度 72/100
-
area-clientside-dartpad
难度 2/5 1-3 小时 新手友好度 62/100