label-studio icon indicating copy to clipboard operation
label-studio copied to clipboard

Empty project UI on Google Chrome

Open Lef-F opened this issue 1 year ago • 11 comments

Describe the bug

Tasks not visible on a populated Label Studio project.

Tested and it affects the following browsers and versions:

  • Google Chrome: 128.0.6613.85 (Official Build) (arm64)
  • Microsoft Edge: 128.0.2739.42 (Official build) (arm64)

It does not affect:

  • Vivaldi: 6.8.3381.57 (Stable channel) (arm64)

To Reproduce Steps to reproduce the behavior:

  1. Open any populated Label Studio Project

Expected behavior

Given a populated project, a table of available tasks should be visible on page load.

Screenshots

Upon visiting the page of a populated project: Screenshot 2024-08-26 at 16 25 41

Manually setting height and width to anything over 0px: Screenshot 2024-08-26 at 16 31 15

Environment (please complete the following information):

  • OS: MacOS Sonoma 14.6
  • Label Studio Version: 1.13.1

Additional context

Output from /version:

{
  "release": "1.13.1",
  "label-studio-os-package": {
    "version": "1.13.1",
    "short_version": "1.13",
    "latest_version_from_pypi": null,
    "latest_version_upload_time": null,
    "current_version_is_outdated": false
  },

  "label-studio-os-backend": {
    "message": "ci: Build frontend",
    "commit": "d9b816a3781ee806bba50c8c5589fcdb8555a277",
    "date": "2024/08/19 19:14:23",
    "branch": "",
    "version": "1.13.1+0.gd9b816a"
  },

  "label-studio-frontend": {
    "message": "fix: LEAP-762: Fix offsets in domManager for emojis (#6135)",
    "commit": "8d8a7fce72b808d00f94cc10b49669121d186c1f",
    "date": "2024-08-01T03:08:02.000Z",
    "branch": "develop"
  },

  "dm2": {
    "message": "chore: OPTIC-866: Stylus to Sass conversion LS web/libs/datamanager/sr ...",
    "commit": "8fbedaa6fdd00338da19c258a798b8799f0cd935",
    "date": "2024-07-26T15:12:41.000Z",
    "branch": "develop"
  },

  "label-studio-converter": {
    "version": "1.0.5"
  }
}

Lef-F avatar Aug 26 '24 14:08 Lef-F

Mostly adding my +1 to this, the last version that worked for us was Chrome 127.0.6533.122. As of 128, we have the same problem.

This affects both Windows and Mac users on amd64 and arm64.

It does not affect Firefox or Safari users on any system.

Update: 1.13.1 solved it for us

bribroder avatar Aug 26 '24 14:08 bribroder

Seems like the issue is gone after upgrading to 1.13.1

shihao1007 avatar Aug 26 '24 15:08 shihao1007

I had the same issue. Upgrading to 1.13.1 worked for me.

nerlfield avatar Aug 26 '24 15:08 nerlfield

I have the same issue. I updated my LS to 13.1.1. still not working on my PC Brave version 1.69.153 my other pc with brave version 1.67.134 is working

fsalmasri avatar Aug 27 '24 06:08 fsalmasri

Same problem here, upgrading to Chrome 128.0.6613.85 (Official Build) (64-bit) crashed it. Worked with previous versions. We're on Label Studio v1.8 however.

LemonGraZ avatar Aug 27 '24 07:08 LemonGraZ

FIY @makseq the output from /version:

{
  "release": "1.13.1",
  "label-studio-os-package": {
    "version": "1.13.1",
    "short_version": "1.13",
    "latest_version_from_pypi": null,
    "latest_version_upload_time": null,
    "current_version_is_outdated": false
  },

  "label-studio-os-backend": {
    "message": "ci: Build frontend",
    "commit": "d9b816a3781ee806bba50c8c5589fcdb8555a277",
    "date": "2024/08/19 19:14:23",
    "branch": "",
    "version": "1.13.1+0.gd9b816a"
  },

  "label-studio-frontend": {
    "message": "fix: LEAP-762: Fix offsets in domManager for emojis (#6135)",
    "commit": "8d8a7fce72b808d00f94cc10b49669121d186c1f",
    "date": "2024-08-01T03:08:02.000Z",
    "branch": "develop"
  },

  "dm2": {
    "message": "chore: OPTIC-866: Stylus to Sass conversion LS web/libs/datamanager/sr ...",
    "commit": "8fbedaa6fdd00338da19c258a798b8799f0cd935",
    "date": "2024-07-26T15:12:41.000Z",
    "branch": "develop"
  },

  "label-studio-converter": {
    "version": "1.0.5"
  }
}

Lef-F avatar Aug 27 '24 07:08 Lef-F

Please show your browser console with errors, e.g.: image

makseq avatar Aug 27 '24 09:08 makseq

Hey, @Lef-F, could you please show us the Console? Right now you have Elements tab active and I see 4 errors

hlomzik avatar Aug 27 '24 09:08 hlomzik

Good catch @hlomzik , here's the output:

image

Lef-F avatar Aug 27 '24 09:08 Lef-F

image

fsalmasri avatar Aug 27 '24 09:08 fsalmasri

Upgrading to 1.13.1 solved the problem !

MosbehBarhoumiRAI avatar Aug 27 '24 10:08 MosbehBarhoumiRAI

the same problem + 1

pasberka avatar Aug 28 '24 01:08 pasberka

Apparently, the problem has something to do with the recent update of Chromium to version 128, since the problem doesn't appear when I use the older version of Chrome/MS Edge with Chromium 127 or Firefox, which is not based on Chromium

Sp00nyMan avatar Aug 28 '24 08:08 Sp00nyMan

I have it on MS Edge Version 128.0.2739.42

fsalmasri avatar Aug 28 '24 08:08 fsalmasri

@fsalmasri please check your ls version on this page: <yourhost>/version, what do you see there?

@Sp00nyMan upgrade to LS 1.13.1.

makseq avatar Aug 28 '24 08:08 makseq

image

image

fsalmasri avatar Aug 28 '24 08:08 fsalmasri

It is working properly on Brave version 1.67.134

fsalmasri avatar Aug 28 '24 08:08 fsalmasri

@fsalmasri please check your ls version on this page: <yourhost>/version, what do you see there?

makseq avatar Aug 28 '24 08:08 makseq

@fsalmasri please check your ls version on this page: <yourhost>/version, what do you see there?

what do you mean by this? I attached you an image showing the version v1.13.1

fsalmasri avatar Aug 28 '24 08:08 fsalmasri

@fsalmasri I mean open this page in your browser.

makseq avatar Aug 28 '24 08:08 makseq

image

fsalmasri avatar Aug 28 '24 08:08 fsalmasri

Thanks, it's exactly what we need.

makseq avatar Aug 28 '24 08:08 makseq

In case someone wants to fix it themselves, the fix in this commit.

makseq avatar Aug 28 '24 11:08 makseq

where is this file in the docker package ?

fsalmasri avatar Aug 28 '24 12:08 fsalmasri

@fsalmasri in a docker it will be fully build dm/main.css file, so you need to find corresponding substring in this file with selector and rule and remove it. Something like

<something-cell>:nth-child(var(--column-count)){padding-right:0;}

hlomzik avatar Aug 28 '24 12:08 hlomzik

any idea when this version will be updated ?

fsalmasri avatar Aug 28 '24 12:08 fsalmasri

I faced the same issue on 1.12 and after upgrading to 1.13.1 it works normally.

When can we get an updated version of the Docker image?

xKHUNx avatar Aug 30 '24 12:08 xKHUNx

Hi @xKHUNx - 1.13.1 is already available here: https://hub.docker.com/layers/heartexlabs/label-studio/1.13.1/images/sha256-20aecde3276d9cfaf6b0b0659c97d7979a1cd30e4c9f4979841dfa15dec6fc13 - closing this one since this was caused by a browser change and we've already shipped a version that fixes the problem.

jombooth avatar Sep 04 '24 19:09 jombooth

I don't know how this is considered solved. I'm using docker and version 1.13.1 and still have the same issue using chrome and MS edge. but not on firefox.

fsalmasri avatar Sep 09 '24 09:09 fsalmasri

In case someone wants to fix it themselves, the fix in this commit.

@makseq, I am using 1.7.2dev and don't want to upgrade, and it does not seem to have that folder/file associated. is there

liuy129 avatar Sep 11 '24 15:09 liuy129