Saving of initial workflow position

Here you can submit bugreports
Post Reply
User avatar
kibi
Posts: 106
Joined: Mon Feb 29, 2016 12:57 pm
Contact:

Saving of initial workflow position

Post by kibi »

It seems, that the position of workflow scheme is saved related to main window, but not to component canvas.

To reproduce the issue:
1) save workflow
2) change canvas size by widening left workflow pane - the diagram follows the canvas, as expected
3) double click at the workflow - the diagram would be reloaded in wrong position.
Alexander Sorkin
admin
Site Admin
Posts: 1687
Joined: Sat Feb 08, 2014 10:39 pm

Re: Saving of initial workflow position

Post by admin »

You are right...again ;-) Thanks for reporting!

-steipal
User avatar
kibi
Posts: 106
Joined: Mon Feb 29, 2016 12:57 pm
Contact:

Re: Saving of initial workflow position

Post by kibi »

Catching the bugs is my work. Please stop me, when it would be too annoying.
Alexander Sorkin
admin
Site Admin
Posts: 1687
Joined: Sat Feb 08, 2014 10:39 pm

Re: Saving of initial workflow position

Post by admin »

Alexander, you're a developers dream come true...;-) Please, don't stop reporting bugs!

-steinar
User avatar
kibi
Posts: 106
Joined: Mon Feb 29, 2016 12:57 pm
Contact:

Re: Saving of initial workflow position

Post by kibi »

Checked the bug in 0.7.6. The behavior had changed. Workflow scheme is saved not related to the main window, that's true. However, it does not linked to the field of view yet. After resizing&reloading it appears in random positions near the place where it is supposed to be.
Alexander Sorkin
admin
Site Admin
Posts: 1687
Joined: Sat Feb 08, 2014 10:39 pm

Re: Saving of initial workflow position

Post by admin »

Yes, that's true. It's better but not perfect. The whole code for dealing with positions, node-size, grid etc. is very "floating" in it's nature. In time I will revisit it once more but it wont be my top priority.

-steinar
Post Reply