You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
www.google.com - The prompt for downloading the image is not triggered after a long tap #39060
changed the title [-]www.google.com - site is not usable[/-][+]www.google.com - The prompt for downloading the image is not triggered after a long tap[/+]on Sep 3, 2019
Thanks for the report,
I was indeed able to reproduce the issue. The prompt that offers the option to download the image is not triggered after long-tapping on an image.
Tested with:
Browser / Version: Firefox Nightly Mobile 68.2a1 (2019-09-02), Chrome Mobile 76.0.3809.132
Operating System: Huawei P10 (Android 8.0) - 1080 x 1920 pixels (~432 ppi pixel density)
This is the web page displayed in Firefox Nightly:
And this is the web page displayed in Chrome:
The issue is also reproducible on Firefox Preview 1.3.1 (Build #12341950).
This overlay is responsible for showing Visit/Share div by running the function in the onclick listener:
But it is also preventing the image from being saved. Perhaps a fix would be to add the onclick listener to the parent of the image instead.
Since there is also UA agent detection involved I'll contact Google to see if we can get this fixed.
Activity
[-]www.google.com - site is not usable[/-][+]www.google.com - The prompt for downloading the image is not triggered after a long tap[/+]cipriansv commentedon Sep 3, 2019
Thanks for the report,
I was indeed able to reproduce the issue. The prompt that offers the option to download the image is not triggered after long-tapping on an image.
Tested with:
Browser / Version: Firefox Nightly Mobile 68.2a1 (2019-09-02), Chrome Mobile 76.0.3809.132
Operating System: Huawei P10 (Android 8.0) - 1080 x 1920 pixels (~432 ppi pixel density)
This is the web page displayed in Firefox Nightly:
And this is the web page displayed in Chrome:
The issue is also reproducible on Firefox Preview 1.3.1 (Build #12341950).
ksy36 commentedon Sep 3, 2019
There is a server side UA detection that returns different template and js scripts for Firefox for Android.
In Chrome this this file is included, which has:
so the template looks like this:
While in Firefox it's:
If I spoof as Chrome, the prompt opens up. I'll move this to contact ready.
ksy36 commentedon Sep 20, 2019
So in case of Firefox the image has an overlay on top of it:
<div class="Hxr4yc HxgyTd" onclick="google.isv&&google.isv.t();"></div>with the following style:
This overlay is responsible for showing Visit/Share div by running the function in the onclick listener:
But it is also preventing the image from being saved. Perhaps a fix would be to add the onclick listener to the parent of the image instead.
Since there is also UA agent detection involved I'll contact Google to see if we can get this fixed.
adamopenweb commentedon Oct 7, 2019
This issue still reproduces with the new images version.
cipriansv commentedon Jun 12, 2020
I retested the issue and it is still reproducible.
Tested with:
Browser / Version: Browser / Version: Firefox Preview Nightly 200611 (🦎 79.0a1-20200609092134),
Operating System: Huawei P10 (Android 9.0) - 1080 x 1920 pixels (~432 ppi pixel density)
sv-calin commentedon Dec 7, 2022
The issue is still reproducible:
Firefox.G.search.mp4
Tested on:
• Browser / Version: Firefox Nightly 109.0a1-20221206034609 / Firefox Focus 107.0.1-20221128144904 / Firefox Focus Nightly 109.0a1-20221206143258 / Chrome 108.0.5359.61 / Edge 107.0.1418.62
• Operating System: OnePlus 6 A6000 (Android 11) - 1080 x 2280 pixels, 19:9 ratio (~402 ppi pixel density)
[inv_49/2022]