Skip to content
This repository has been archived by the owner on Jan 17, 2023. It is now read-only.

[Annotations] Edit button does not have its badge when you first use Firefox Screenshots #4344

Closed
Softvision-CristinaBadescu opened this issue Apr 18, 2018 · 5 comments
Assignees
Labels
[QA]:Major issue Label for QA to mark major issues logged [QA]:Verified fixed Label for QA to mark verified fixed issues

Comments

@Softvision-CristinaBadescu

It seems that this is a Nightly regression. I have also logged this issue in Bugzilla: #1454914.

[Affected versions]:

  • Nightly 61.0a1, Build ID: 20180417225505

[Affected Platforms]:

  • All Windows
  • All Mac
  • All Linux

[Steps to reproduce]:

  1. Open the Firefox browser and navigate to any website.
  2. Click the "Page actions" menu and select "Take a Screenshot" option.
  3. Skip the onboarding tour.
  4. Click the "Save visible" button and select the "Save" button.
  5. Observe the "Edit" (Pencil) button.

[Expected result]:

  • The button has a blue circle that has a star in it.

[Actual result]:

  • The button has no badge.

[Regression]:

  • It seems that this is a Nightly regression. Using mozregression tools I have found a regression window. Here are the results:
    Last good revision: ae45e56c3c71ae23084e9ef549c3d58880add8a1
    First bad revision: 87b552f9c09b68a255eeb84c5c554384b0c1231a
    Pushlog: https://goo.gl/pYTBYX

From the pushlog it seems that bug 1452496 has caused this issue.

[Notes]:

  • This issue is also reproducible on an older Nightly 61.0a1 build ID 20180108220132 with latest Firefox Screenshots v32.0.0dev installed from here and on the latest Beta 60.0b13 with latest Firefox Screenshots v30.1.0.
  • This issue is not reproducible on the latest Firefox Beta 60.0b12 with Firefox Screenshots 30.1.0.
  • This issue is not reproducible on the latest Firefox Release 59.0.2 with Firefox Screenshots 25.0.0.
  • Here is a screen recording with this issue:
    screenshots - edit button
@chenba
Copy link
Collaborator

chenba commented Apr 18, 2018

This is a duplicate of #4337.

@Softvision-CristinaBadescu
Copy link
Author

The behavior on latest Nightly 61.0a1 (Build ID: 20180417225505) with Firefox Screenshots 30.1.0 seems to be caused by bug 1452496, because if I change the "network.cookie.same-site.enabled" pref to "false" I can no longer reproduce it.

However, the behavior on the latest Firefox Screenshots dev version 32.0.0 could very well be a duplicate of the mentioned issue.

@chenba
Copy link
Collaborator

chenba commented Apr 18, 2018

@Softvision-CristinaBadescu Thanks for finding that bug!

@chenba
Copy link
Collaborator

chenba commented Apr 20, 2018

Looks like it's how React 16 handles server side rendering. (See facebook/react#10591.) We need to do a state change in componentDidMount to update the page on the client side.

@Softvision-CristinaBadescu
Copy link
Author

Thanks for fixing this. This issue is no longer reproducible using the latest Firefox Screenshots v32.1.1dev, on latest Nightly build 61.0a1 (2018-04-25), on Windows 10 x64, Mac 10.13.4 Ubuntu 14.04 x64.

@Softvision-CristinaBadescu Softvision-CristinaBadescu added the [QA]:Verified fixed Label for QA to mark verified fixed issues label Apr 26, 2018
@SoftVision-CosminMuntean SoftVision-CosminMuntean added the [QA]:Major issue Label for QA to mark major issues logged label May 7, 2018
testeaxeax pushed a commit to testeaxeax/screenshots that referenced this issue Jun 7, 2018
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
[QA]:Major issue Label for QA to mark major issues logged [QA]:Verified fixed Label for QA to mark verified fixed issues
Projects
None yet
Development

No branches or pull requests

3 participants