-
Notifications
You must be signed in to change notification settings - Fork 128
Long-delayed shot creation on Imgur and Giphy #3182
Comments
@IuliaCristescu4 Is this reproducing constantly or totally random? I am unable to reproduce this on latest Nightly build (20170723030206). Maybe I'm doing something wrong. I have tried loading lots of content and then used either full page or visible area and in each case it took less than 10-15 seconds (first time was longer). Also, couldn't this be related to how the website is built? Giphy website is slowly loading for me. I imagine we cannot make Screenshots work for every website on internet, especially for those that are struggling to work. |
@IuliaCristescu4 I am also unable to reproduce this with screenshots 10.8 on osX and windows 10. |
@IuliaCristescu4 i am also unable to reproduce this with 10.5 |
I'm seeing this take a long time, not sure which version of screenshots but I'm using the June 23 Nightly and MacOS 10.12.5. I tried doing a full page screenshot on imgur.com and got a message the first time that Screenshots had "gone haywire". The second try worked after a few minutes. The 3rd try gave me a grey screen with "Creating Imgur" in the title bar, for a minute or two (definitely over one minute) and then a pop up notification that says Out of Order! Sorry, we couldn't save your shot. |
Hi @johngruen ! Somehow I managed to reproduce the issue (reported by Iulia) on Firefox 55.0b12 (Firefox Screenshots v 10.8.0) on Windows 10 64bit. [Please Note] -In order to reproduce this issue I followed the steps provided in the description. -I think that this issue occurs because the tab is not loading when the screenshot is processing. I think that there is a workaround in solving this issue by accessing the "My shots" page (After accessing my shots page, it seems that the screenshot successfully loads). Here is a screencast of this issue: https://drive.google.com/open?id=0B94iuIVMr-TEWGNjSnY1QXJqWDg |
A couple things going on:
If you hit the 25mb limit, then everything is run, but after the upload completes it is rejected by the server with a 500 response. So we fail very late. For download (instead of upload) we still have the toDataURL overhead, and the communication overhead, but then the download completes fine. If I invoke infinite scroll on imgur (getting us to the 5000px limit) some of the timings change:
|
Is the number of people using Screenshots on imgur and giphy so big, that we want to remove the functionality for the release? If yes, can't we figure out a solution? We're talking about 1-2 websites not the entire web. I think that "Save Full Page" is one of the key features of Screenshots over other screen capturing applications (could be the only advantage). What else could make a user prefer Screenshots instead of the app he is used to already? Maybe the fact that you don't need a second app installed, but that doesn't seem to be such a problem for normal users that usually have tons installed... By removing this for launch, we could end up with a dull feature that will not be embraced by the Firefox users. First impression matters for a lot of users. |
I totally agree with @SoftVision-PaulOiegas that we shouldn't remove the functionality for the release. I wanted to add that the "Save full Page" option isn't available only on Firefox Screenshots. I saw that "Nimbus Screen Capture" (Add-on) has the same option (and they have the same issues as per #2007 regarding "save full page" on popular websites). I believe that we need to focus on fixing the bugs that could become annoying for the users. I don't believe that we should necessarily focus on bringing something new above bringing something better (especially if it is about something that will be enabled by default). |
I think the 5000px limit is too surprising and not documented anywhere. I think it is a safer approach to ship without "full page" and then add it back in later, perhaps without the 5000px limit, a better implementation that perhaps leverages the code path the dev tools uses to make full page screenshots, and a progress bar to help with the long wait times. |
It kinda sucks that we wound up with a screenshot API that produces a data URL instead of a Blob because we implemented Chrome's API. I wonder if we'd be better off making a new API, or extending this API to provide a Blob instead? |
I have retested this issue on latest Nightly 57.0a1 build with Screenshots 18.0.0 on stage server and I think the behavior is a little bit changed. After using the "Save Full page" option on Imgur, you are redirected to the "Saving your shot..." page and takes ~15-30 s until the shot is saved. Afterwards, you are redirected to the save shot preview page, but the image is not displayed until the page is refreshed. |
@SoftVision-CosminMuntean Would you mind trying again on latest dev? #3513 should significantly reduce the lag when uploading full page images. |
I have tried to retest this issue on dev server with the following methods: 2. Custom build created from Github repository After I installed the add-on, I get an error every time when I try to save a shot. |
Hmm. The server version does seem a little behind, but the deployed version (at https://screenshots.dev.mozaws.net/__version__) does include the jpeg commit. I'm able to install the addon from the dev server on Nightly and create full-page jpegs: https://screenshots.dev.mozaws.net/hJeW7lpA9cGHPSl3/imgur.com @SoftVision-CosminMuntean Mind trying again? |
I have retested this issue using the Screenshots on dev server and the behavior has clearly improved. The large shots are correctly saved as ".jpeg" and the lag is significantly reduced when uploading a large shot. 💯 But, sometimes when a large selection is saved, you are correctly redirected to the saved shot page, but the image is not displayed until the page is refreshed. This is very intermittend and probably is a different issue. However, no errors are displayed in browser console. |
Thanks Cosmin. Closing this then. This is a big win, thanks everyone! |
[Affected versions]:
[Affected platforms]:
[Steps to reproduce]:
[Expected result]:
The time until the shot is created is unnoticeable (reasonable).
[Actual result]:
There are encountered very big delays until the shot creation (from 2 to 40 minutes).
[Note]:
This isn't an e10s issue.
The text was updated successfully, but these errors were encountered: