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

VS Code - Diagram editor: There is a white blink on each diagram update #2214

Open
Tracked by #1063
handreyrc opened this issue Mar 27, 2024 · 2 comments
Open
Tracked by #1063
Assignees

Comments

@handreyrc
Copy link
Contributor

handreyrc commented Mar 27, 2024

On SWF VsCode plugin there is white blink on every canvas update. It also happens with the light theme but it is more evident on the dark theme.

Note: check the VsCodeKieEditorController.ts file, it seems there are fixed background colors that may be one of the causes of the white flash.

Steps to reproduce:

  • Open a valid swf diagram
  • Edit any property that does not break the diagram such as "description"
  • Note that on each change the canvas is reloaded, however, in between the reloads and the rendered diagram it is possible to see a white background behind the canvas
@tiagobento
Copy link
Contributor

@handreyrc Hey! I've seen that too but couldn't get a stable reproducer. @Josephblt and I noticed it on the BPMN Editor as well. Can you provide steps to reproduce please?

@handreyrc
Copy link
Contributor Author

@handreyrc Hey! I've seen that too but couldn't get a stable reproducer. @Josephblt and I noticed it on the BPMN Editor as well. Can you provide steps to reproduce please?

@tiagobento I'm not sure it is the same issue or at least the way to reproduce it is not applicable to BMPN. On BPMN editor, if my memory is not tricking me, we to not edit the XML directly so we don't have full reloads of the diagram once it's open, an incremental refresh is performed following commands execution context instead.

Anyway, I updated the description of the issue above with the steps to reproduce the issue.

@Josephblt Maybe you can perform a quick test to confirm it. If you change the white background color to the same background color of the BPMN canvas in the file I mentioned above and the issue is gone that's it.

Please, let me know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: 📋 Backlog
Development

No branches or pull requests

2 participants