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

ROIs not displayed when created #611

Open
Rdornier opened this issue Jan 28, 2025 · 0 comments
Open

ROIs not displayed when created #611

Rdornier opened this issue Jan 28, 2025 · 0 comments

Comments

@Rdornier
Copy link
Contributor

Hello,

From time to time, a bug occurs when I try to create any ROI on any panel (either from the modal dialog, from copy-pasting or from inset creation).
I couldn't find out the conditions under which this bug occurred.

Symptoms

When I copy-paste a ROI or when I create a new one, the ROI is not displayed on the image but... it is somehow saved in the background because when I save and refresh the figure, the ROI is now correctly displayed.

If I try to create an inset, then the browser ask me if I want to reload the page without saving

The error is only visible in the console

Uncaught Error: SVG container not found.
    create raphael.min.js:1
    c raphael.min.js:1
    At shape_manager.js:53
    render_shapes panel_view.js:169
    Backbone 6
    add_shapes panel_model.js:374
    createInset right_panel_view.js:149
    _i Underscore
    rt Backbone
    createInset right_panel_view.js:128
    jQuery 2
        dispatch
        handle
raphael.min.js:1:73427

Quick walk-around

Save the figure and refresh omero.figure. Then, it is working as expected.

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

No branches or pull requests

1 participant