Skip to content

lichess.org - Chess board design is broken #71883

Open

Description

@galuel

URL: https://lichess.org

Browser / Version: Firefox 87.0
Operating System: Ubuntu
Tested Another Browser: Yes Chrome

Problem type: Design is broken
Description: Images not loaded
Steps to Reproduce:
When playing a tournament https://lichess.org/swiss/RFzaBYrj Firefox did not show svg chess pieces nor chessbaord (randomly, not easy to reproduce) and the ChessBoard was black , but when going to Chromium all was ok. See image capture : https://ibb.co/3h24X0g

View the screenshot Screenshot
Browser Configuration
  • None

From webcompat.com with ❤️

Activity

  1. added this to the needstriage milestone on Apr 25, 2021
  2. added
    engine-gecko
    on Apr 25, 2021
  3. added
    os-linux
    on Apr 26, 2021
  4. softvision-oana-arbuzov commented on Apr 26, 2021

    @softvision-oana-arbuzov
    Member

    Thanks for the report, I was able to reproduce the issue. For me the chess board design is not loaded.
    image

    Note: The issue is not reproducible on Chrome.

    Tested with:
    Browser / Version: Firefox Nightly 90.0a1 (2021-04-25)
    Operating System: Ubuntu 20.04.2

    Moving to Needsdiagnosis for further investigation.

  5. changed the title [-]lichess.org - design is broken[/-] [+]lichess.org - Chess board design is broken[/+] on Apr 26, 2021
  6. added
    severity-important
    on Apr 26, 2021
  7. karlcow commented on Apr 27, 2021

    @karlcow
    Member

    So I played a bit and I was not able to reproduce. I wonder what are the steps to reproduce.
    Let's see if @ksy36 has more chances than me.

  8. ksy36 commented on Apr 27, 2021

    @ksy36
    Contributor

    I can't reproduce in Firefox 87 or 90 on Linux either :(

    Screen Shot 2021-04-27 at 7 22 55 PM

    @wisniewskit any luck?

  9. wisniewskit commented on Apr 27, 2021

    @wisniewskit
    Member

    No, I'm not able to see the problem. I don't really see any reason for the images for the board or pieces to not appear, either. Unless maybe there is a race condition happening, and the script is not use CSS transformations on them properly, and so they're not placed in a visible spot? I do see them placing them that way:

    <piece class="black pawn" style="transform: translate(44.25px, 265.5px);"></piece> <!-- with an SVG background-image using a data URL -->
    
  10. karlcow commented on Apr 28, 2021

    @karlcow
    Member

    @softvision-oana-arbuzov @galuel if you could come up with ways to reproduce it. That would be great.

  11. galuel commented on Apr 28, 2021

    @galuel
    Author

    It's a random bug, it appears very few time (something like 1 time over 1000 games), only on Firefox, never on Chromium... But when it appears it leads to a loss for the player who doesn't know he can change the browser to continue...

  12. 9 remaining items

  13. ornicar commented on May 6, 2021

    @ornicar

    Unfortunately this bug happens randomly and is very hard to reproduce, but it does affect a lot of Firefox user.

    I would tend to think that the problem lies with SVG rendering. Also I'm quite positive that Lichess is positioning the pieces correctly, as was confirmed by someone who inspected the elements when it happened.

    It seems to happen more often to swiss tournament players. The only particularity I can think about is that the tournament lobby page shows no less than 7 boards. With all pieces having a SVG background, that's a lot of SVGs. When they switch from the tournament lobby to a game page, that's when some SVGs (either the board or some random pieces) fail to load. When they do, it's by pair (like the 2 white rooks or 2 black knights).

    the swiss tournament page with 7 boards

  14. karlcow commented on May 6, 2021

    @karlcow
    Member

    if only we could have a performance profile when it is happening. Is there any specific console message when this is happening. But if it's a rendering issue, then we are back to square 1.

  15. galuel commented on May 30, 2021

    @galuel
    Author

    I've reproduced the bug today. In the same conditions that last time : Swiss Tournament (1°) create a team in Lichess https://lichess.org/team/new 2°) In the team create a SWISS tournament (not Arena), it was a tournament with password (pretty sure it doesn't matter...), and the bug happened when 1st game start... I made 11 screen captures with console message, hope this can help... Ubuntu 18.04 / Firefox 88.0.1

    Bug-Lichess1
    Bug-Lichess2
    Bug-Lichess3
    Bug-Lichess4
    Bug-Lichess5
    Bug-Lichess6
    Bug-Lichess7
    Bug-Lichess8
    Bug-Lichess9
    Bug-Lichess10
    Bug-Lichess11

  16. galuel commented on Jun 2, 2021

    @galuel
    Author

    The bug again, this time in the Front Page of Lichess directly (pure random ! impossible to reproduce). Capture screen again with some source information

    lichess

  17. reopened this on Jun 2, 2021
  18. galuel commented on Jun 2, 2021

    @galuel
    Author

    Mistake, reopen.

  19. galuel commented on Jun 2, 2021

    @galuel
    Author

    Bug persistant this morning of Lichess StartPage Ubuntu 18.04 / Firefox 88.0.1

    Missing squares, but we access the squares... (2nd capture)

    Lichess1

    Lichess3

  20. Pablo-No commented on Jun 6, 2021

    @Pablo-No

    imagen
    This has happened to me today.
    I'm using Firefox 88.0.1 on Windows 10
    I'm not able to reproduce it.
    Console capture:
    imagen

  21. softvision-oana-arbuzov commented on Jan 13, 2022

    @softvision-oana-arbuzov
    Member

    I've started multiple games, but did not experience the issue.
    image

    Tested with:
    Browser / Version: Firefox Nightly 98.0a1 (2022-01-12)
    Operating System: Ubuntu 20.04.2

    @Pablo-No does it still occurs on your side with the latest Firefox?

  22. ornicar commented on Jan 14, 2022

    @ornicar

    I added this to <head>:

    <link rel="preload" href="https://lichess1.org/assets/_JJ7wbe/images/board/svg/blue.svg" as="image">

    And it seemed to help, at least we get fewer reports of missing board.

    We still get the occasional report of missing pieces, tho.

  23. softvision-oana-arbuzov commented on Oct 12, 2022

    @softvision-oana-arbuzov
    Member

    I tried again on a few chess games but the design of the game is displayed correctly.

    Tested with:
    Browser / Version: Firefox Nightly 107.0a1 (2022-10-11)
    Operating System: Ubuntu 20.04.2

    @galuel @Pablo-No @ornicar is this still an issue?

    [inv_41/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-firefoxengine-geckoos-linuxpriority-normalseverity-importantstatus-needsinfo

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions