Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shape color in canvas is not changed after objects label selection #4966

Closed
2 tasks done
egortech opened this issue Sep 17, 2022 · 1 comment · Fixed by #5045
Closed
2 tasks done

Shape color in canvas is not changed after objects label selection #4966

egortech opened this issue Sep 17, 2022 · 1 comment · Fixed by #5045
Assignees
Labels
bug Something isn't working

Comments

@egortech
Copy link

My actions before raising this issue

Expected Behaviour

When user changed labels for drawn object in objects panel, shape color on canvas should changed according selected labels color.

Current Behaviour

Only new label color applying in background of object card in object pane, not on shape in image canvas. New color applied when canvas size changed.

Possible Solution

I think that there are event handler missed somewhere that do update shape color on canvas after label selection.

Steps to Reproduce (for bugs)

  1. Draw any shape on image in task with more that two labels with different colors
  2. Change label of drown object to different one
  3. See that color of drawn shape still representing old label selection not current one.

Context

It's hard to validate correctness of applying labels changes on frame without these visual feedback.

Your Environment

  • Git hash commit (git log -1): fe148d4
  • Docker version docker version (e.g. Docker 17.0.05): 20.10.12
  • Are you using Docker Swarm or Kubernetes? no
  • Operating System and version (e.g. Linux, Windows, MacOS): Ubuntu 22.04.1
  • Browser: Vivaldi 5.4 (Chromium 104 based)

This bug is also reproduces in app.cvat.ai website.

@bsekachev
Copy link
Member

@egortech

Thank you for the report.

@bsekachev bsekachev added the bug Something isn't working label Sep 26, 2022
@bsekachev bsekachev self-assigned this Sep 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants