gcalvo
February 14, 2017, 12:47pm
1
Hello everyone, I found a little bug with the labels.
I change the name of an element using:
modeling.updateProperties(element, {name : 'text'})
If the element doesn’t have already a name, the label created cannot be clicked and it is shown in a wrong position.
After executing the command again, it works fine. It only happens when there is no name.
And of course, it only happens to elements with label, no problem with tasks.
Including a couple of pictures:
nikku
February 14, 2017, 1:13pm
2
Which browsers can you reproduce the issue on?
We are currently working on label rendering improvements that will most probably fix the issue you describe.
gcalvo
February 14, 2017, 1:15pm
3
I’ve tried only firefox. I’ll try chrome right now (those are the only 2 I use)
gcalvo
February 14, 2017, 1:29pm
4
I think I have bigger problems now. I updated to the last version of bpmn-js yesterday and chrome just…
This is firefox:
This is chrome:
It was working fine with the previous version. No log messages are shown.
By the way, executing updateProperties on chrome works perfectly and fixes the elements to the right position.
Edit: I was on v0.16.2, now I’m on v0.19.0
gcalvo
February 14, 2017, 2:10pm
5
New information, I was using the beta version of chrome (for ubuntu).
Google Chrome 57.0.2987.37 beta
I installed the stable version and the problem is gone.
Google Chrome 56.0.2924.87