Skip to content

game.granbluefantasy.jp - There's a unused space on screen #34310

Open

Description

@webcompat-bot

URL: http://game.granbluefantasy.jp/

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

Problem type: Design is broken
Description: There's a unused space on screen
Steps to Reproduce:
The screen doesn't fill in completly, causing problems to use the site
Screenshot Description

Browser Configuration
  • mixed active content blocked: false
  • image.mem.shared: true
  • buildID: 20190628222626
  • 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: nightly

Console Messages:

[u'[JavaScript Warning: "Using //@ to indicate sourceMappingURL pragmas is deprecated. Use //# instead" {file: "http://game-a3.granbluefantasy.jp/assets_en/1561735707/js_mid/lib/common.js" line: 3 column: 21 source: "//@ sourceMappingURL=jquery-2.0.3.min.map"}]', u'[JavaScript Warning: "Loading failed for the <script> with source http://d-cache.microad.jp/js/blade_track_jp.js." {file: "http://game.granbluefantasy.jp/" line: 1}]', u'[JavaScript Error: "Failed to execute postMessage on DOMWindow: The target origin provided (https://connect.mobage.jp) does not match the recipient windows origin (http://game.granbluefantasy.jp)." {file: "http://game.granbluefantasy.jp/" line: 0}]']

From webcompat.com with ❤️

Activity

  1. added this to the needstriage milestone on Jul 2, 2019
  2. added
    engine-gecko
    on Jul 2, 2019
  3. added
    severity-minor
    on Jul 4, 2019
  4. changed the title [-]game.granbluefantasy.jp - design is broken[/-] [+]game.granbluefantasy.jp - There's a unused space on screen[/+] on Jul 4, 2019
  5. softvision-sergiulogigan commented on Jul 4, 2019

    @softvision-sergiulogigan

    Thanks for the report!
    I'm able to reproduce the issue on both Fenix and Fennec.

    Tested with:
    Browser / Version: Firefox Nightly 68.0a1 (2019-07-02), Firefox Fenix (Preview) 1.0.0
    Operating System: OnePlus 6 (Android 9) - 1080 x 2280 pixels, 19:9 ratio (~402 ppi pixel density)

  6. wisniewskit commented on Jul 4, 2019

    @wisniewskit
    Member

    This also reproduces for me in the response design mode. Their #wrapper element has its width set to 320px, while the width of the window is actually 360px. They also do the same for some elements inside of that wrapper, with some of them being set to 302px.

    Ah, it's the same in Chrome. And the reason it works there is because they add this CSS somewhere in JS:

    html { zoom:1.125; }
    

    If I disable that style, it looks the same in Chrome as it does in Firefox. And if I add this, then it seems to work fine in Firefox:

    html { transform:scale(1.125); transform-origin:0 0; }
    

    It looks like this bit of script of their main HTML file is responsible:

    window.fitScreenByZoom = function(deviceRatio) {
      var html = document.getElementsByTagName('html')[0];
      html.style.zoom = 1; 
      window.addEventListener('DOMContentLoaded', function() {
        html = document.getElementById(Game.gameContainer.id);
        html.style.zoom = deviceRatio;
        html.parentNode.style.overflowX = 'hidden';
      });
    };
    

    I would suggest they alter that to use transforms instead, since that's the standard way to do this. They would likely also have to change this function:

    Game.getZoom = function() {
        // PC Web版のみ gameContainer を参照する
        return +$(Game.gameContainer.selector).css('zoom');
      };
    

    Until they do, this is a dupe of the CSS zoom Firefox issue.

  7. self-assigned this
    on Jul 4, 2019
  8. 1 remaining item

  9. softvision-oana-arbuzov commented on Nov 25, 2019

    @softvision-oana-arbuzov
    Member

    The issue is still reproducible on my side.
    image

    Tested with:
    Browser / Version: Firefox Nightly 68.3a1 (2019-11-22), Firefox Preview Nightly 191124 (🦎: 72.0a1-20191119043902)
    Operating System: Huawei P20 Lite (Android 8.0.0) - 1080 x 2280 pixels, 19:9 ratio (~432 ppi density), Samsung Galaxy S7 Edge (Android 8.0.0) - Resolution 1440 x 2560 pixels (~534 ppi pixel density)

  10. softvision-oana-arbuzov commented on Jul 19, 2021

    @softvision-oana-arbuzov
    Member

    The issue is still reproducible.
    image
    image

    Tested with:
    Browser / Version: Firefox Nightly 92.0a1 (🦎 92.0a1-20210715094037)
    Operating System: Google Pixel 5 (Android 11) - 1080 x 2340 pixels, 19.5:9 ratio (~432 ppi density), Samsung Galaxy S8 (Android 9) - 1440 x 2960 pixels, 18.5:9 ratio (~570 ppi density)

  11. karlcow commented on Jul 23, 2021

    @karlcow
    Member

    This is still not solved indeed. Let's create a sitepatch.

  12. added
    action-needssitepatch
    on Jul 23, 2021
  13. karlcow commented on Aug 2, 2021

    @karlcow
    Member

    The proposed transform doesn't work. On the other hand if we send an iOS UA override this is working, but if we send a Chrome UA this is not working.
    https://bugzilla.mozilla.org/show_bug.cgi?id=1722954

  14. added
    sitepatch-applied
    and removed
    action-needssitepatch
    on Aug 4, 2021
  15. naloder commented on Nov 7, 2021

    @naloder

    @karlcow i can't login after this site patch

  16. karlcow commented on Nov 8, 2021

    @karlcow
    Member

    @denschub
    @naloder ah Interesting. Do you have an error message in the console.

  17. rhjdvsgsgks commented on Sep 6, 2023

    @rhjdvsgsgks

    please apply this ua override also for gbf.game.mbga.jp . which is another domain of gbf

  18. sv-calin commented on Nov 1, 2023

    @sv-calin

    The page renders correctly regardless of the ua overrides/interventions status. (Task)

    Environment:
    Operating system: OnePlus 6 A6000 (Android 11)
    Firefox version: 121.0a1-20231031093058

    Based on the above, the interventions can be removed.

    [inv_44/2023]

  19. removed
    sitepatch-applied
    on Nov 17, 2023
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-normalseverity-minortype-css-zoom

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions