Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

A blank custom background item is wrongly displayed after pressing the “Undo” button if an image was previously deleted and another theme applied

Đang mở
#880 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
42/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
javascript
Lĩnh vực
frontend

Hướng nghiên cứu

Tái hiện chuỗi thao tác trên trang web Firefox Color stage: thêm và xóa một nền tùy chỉnh, áp dụng một chủ đề đặt sẵn, sau đó nhấn Undo hai lần trước khi quay lại Custom backgrounds. Theo dõi việc xử lý trạng thái của các nền tùy chỉnh, chủ đề đặt sẵn và Undo. Hoàn tất khi hình ảnh đã xóa trước đó được hiển thị lại thay vì một mục nền trống.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

[QA]:Minor issue

[Affected versions]:

  • Firefox Release 72.0.1 - Build ID: 20200107212822
  • Firefox Beta 73.0b2 - Build ID: 20200107212705
  • Firefox Nightly 73.0a1 - Build ID: 20200108215606

[Affected Platforms]:

  • Windows 10 x64
  • Mac 10.15.2
  • Ubuntu 18.04 x64

[Prerequisites]:

  • Have a Firefox Color add-on zip modified in order to link to the stage website.
  • Have the previous Firefox Color add-on installed through "about:debugging".

[Steps to reproduce]:

  1. Open the browser with the profile from prerequisites.
  2. Navigate to the https://color.stage.mozaws.net/ website.
  3. Click the “Custom backgrounds” section and add a valid image.
  4. Click the “Delete” button from the image.
  5. Go to the "Preset themes" section and apply any theme.
  6. Click the “Undo” button twice and go back to the “Custom backgrounds” section.
  7. Observe the behavior.

[Expected result]:

  • The preset theme is changed and the previously deleted image is redisplayed in the “Custom backgrounds” section.

[Actual result]:

  • The preset theme is changed and the image background section is displayed but it does not contain an image.

[Notes]:

  • This issue is not reproducible if the "Custom backgrounds" section is opened before the "Undo" button is clicked.
  • Attached a screen recording of the issue.
    rec of the issue
Ngôn ngữ chính
JavaScript
Star
506
Fork
100
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của mozilla/FirefoxColor

Tất cả issue của mozilla/FirefoxColor

Issue tương tự

Thêm issue về JavaScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.