Skip to content

www.google.com - The prompt for downloading the image is not triggered after a long tap #39060

Open

Description

@webcompat-bot

URL: https://www.google.com/search?q=google&safe=active&client=firefox-b-m&source=lnms&tbm=isch&sa=X&ved=0ahUKEwjswvuJzqzkAhXITX0KHZWFA0YQ_AUICSgE&biw=360&bih=560

Browser / Version: Firefox Mobile 68.0
Operating System: Android 6.0.1
Tested Another Browser: Yes

Problem type: Site is not usable
Description: no download option
Steps to Reproduce:
I can't to do download picture
Screenshot Description

Browser Configuration
  • mixed active content blocked: false
  • image.mem.shared: true
  • buildID: 20190826132627
  • tracking content blocked: false
  • gfx.webrender.blob-images: true
  • hasTouchScreen: true
  • mixed passive content blocked: false
  • gfx.webrender.enabled: false
  • gfx.webrender.all: false
  • channel: beta

From webcompat.com with ❤️

Activity

  1. added this to the needstriage milestone on Aug 31, 2019
  2. 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
  3. added
    severity-critical
    on Sep 3, 2019
  4. cipriansv commented on Sep 3, 2019

    @cipriansv

    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:

    image

    And this is the web page displayed in Chrome:

    image

    The issue is also reproducible on Firefox Preview 1.3.1 (Build #12341950).

  5. ksy36 commented on Sep 3, 2019

    @ksy36
    Contributor

    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:

                nf += '<div class="' + _.Q("qdnLaf") + ' isv-id" jsname="' + _.Q("OrqX8") + '" ' + _.RT(Hb) + ' data-ved=""' + _.W("Dnz1jb", [], "data-ved") + _.V(new _.Y(new _.X(8187),null), !1) + ">" + _.Qw("wa", !0)(null, Hb) + '<div class="' + _.Q("v4dQwb") + '">';
                var pw = '<img jsname="' + _.Q("HiaYvf") + '" jsaction=" load:' + _.Q("XAeZkd") + ";" + _.Q(_.Qw("xa", !0)(null, Hb)) + '" class="' + _.Q("n3VNCb") + '" alt="'
                  , sH = "Image result for " + _.Q(mf);
    

    so the template looks like this:

    <img jsname="HiaYvf" jsaction=" load:XAeZkd;" class="n3VNCb" alt="Image result for google" src="https://yt3.ggpht.com/a/AGF-l7-BBIcC888A2qYc3rB44rST01IEYDG3uzbU_A=s900-c-k-c0xffffffff-no-rj-mo" style="width: 360px; height: 360px; margin: 0px;">
    

    While in Firefox it's:

    <img class="isv-i" alt="" style="" src="https://yt3.ggpht.com/a/AGF-l7-BBIcC888A2qYc3rB44rST01IEYDG3uzbU_A=s900-c-k-c0xffffffff-no-rj-mo">
    

    If I spoof as Chrome, the prompt opens up. I'll move this to contact ready.

  6. ksy36 commented on Sep 20, 2019

    @ksy36
    Contributor

    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:

      .Hxr4yc {
        height: 100%;
        position: absolute;
        top: 0;
        width: 100%
      }
    

    This overlay is responsible for showing Visit/Share div by running the function in the onclick listener:

    Screen Shot 2019-09-20 at 4 03 50 PM

    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.

  7. modified the milestones: contactready, sitewait on Sep 23, 2019
  8. adamopenweb commented on Oct 7, 2019

    @adamopenweb
    Collaborator

    This issue still reproduces with the new images version.

  9. cipriansv commented on Jun 12, 2020

    @cipriansv

    I retested the issue and it is still reproducible.

    image

    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)

  10. sv-calin commented on Dec 7, 2022

    @sv-calin

    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]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    browser-firefox-mobileengine-geckopriority-criticalseverity-criticalstatus-first-contact

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions