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

Error: Uncaught TypeError: this.el.node.getScreenCTM() is null in Firefox #4173

Closed
2 tasks done
dvkruchinin opened this issue Jan 14, 2022 · 0 comments · Fixed by #4175
Closed
2 tasks done

Error: Uncaught TypeError: this.el.node.getScreenCTM() is null in Firefox #4173

dvkruchinin opened this issue Jan 14, 2022 · 0 comments · Fixed by #4175

Comments

@dvkruchinin
Copy link
Contributor

My actions before raising this issue

An error occurs when the movement of the mouse cursor after removing the shape during its movement.

Expected Behaviour

The error does not occur.

Current Behaviour

The error occurs in the Firefox browser when interacting with shapes that can be moved (rectangle, points, ellipse, cuboid).

Possible Solution

Fix a bug.

Steps to Reproduce (for bugs)

  1. Create any shape from rectangle, points, ellipse, cuboid.
  2. Start moving and delete the shape using the Delete button.
  3. Move the mouse cursor.

Context

Your Environment

  • Git hash commit (git log -1): b6f3b05
  • Docker version docker version (e.g. Docker 17.0.05): 20.10.7
  • Are you using Docker Swarm or Kubernetes? No
  • Operating System and version (e.g. Linux, Windows, MacOS): Windows 10
  • Code example or link to GitHub repo or gist to reproduce problem:
  • Other diagnostic information / logs:
    Logs from `cvat` container
Uncaught TypeError: this.el.node.getScreenCTM() is null
    drag svg.patch.ts:148
    start svg.draggable.js:102
    on svg.js:3459
    on svg.js:3447
    start svg.draggable.js:102
    init svg.draggable.js:18
    on svg.js:3459
    on svg.js:3447
    on svg.js:3522
    init svg.draggable.js:18
    draggable svg.draggable.js:224
    draggable svg.patch.ts:145
    activateShape canvasView.ts:1944
    activate canvasView.ts:2100
    notify canvasView.ts:1310
    notify master.ts:27
    activate canvasModel.ts:474
    activate canvas.ts:105
    activateOnCanvas canvas-wrapper.tsx:648
    componentDidUpdate canvas-wrapper.tsx:331
    React 2
    unstable_runWithPriority scheduler.production.min.js:19
    React 4
    unstable_runWithPriority scheduler.production.min.js:19
    React 4
    Redux 6
    onActivateObject canvas-wrapper.tsx:287
    TO canvas-wrapper.tsx:541
    ng canvasView.ts:1155
    ng canvasView.ts:1137
    og canvas.ts:69
    Zq annotation-reducer.ts:215
    Redux 5
    getJob annotation-actions.ts:1039
    _h Redux
    getJob annotation-actions.ts:976
    dq annotation-page.tsx:62
    React 2
    unstable_runWithPriority scheduler.production.min.js:19
    React 3
    F scheduler.production.min.js:17
    onmessage scheduler.production.min.js:14

Next steps

You may join our Gitter channel for community support.

@dvkruchinin dvkruchinin changed the title Error: Uncaught TypeError: this.el.node.getScreenCTM() is null in Forefox Error: Uncaught TypeError: this.el.node.getScreenCTM() is null in Firefox Jan 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant