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

Vanishing arrows at least in V2.22.0 upwards #57

Closed
bergm opened this issue Jul 1, 2021 · 7 comments
Closed

Vanishing arrows at least in V2.22.0 upwards #57

bergm opened this issue Jul 1, 2021 · 7 comments

Comments

@bergm
Copy link

bergm commented Jul 1, 2021

Just a note, without much investigation. It seams it can quite easily happen that diagram elements vanish. It happend already twice to me, this time a larger part of a flow. Initially I thought drawfbp stumbled over an incorrect manual change in the .drw file, but now it happend again.

@jpaulm
Copy link
Owner

jpaulm commented Jul 1, 2021

Thanks so much for letting me know! I suspect that could happen if the drawing stops in the middle... so I need to make it more resilient! If it's OK with you, I may bounce some tentative solutions off you over the next week or so! Thanks again, and apologies!

@bergm
Copy link
Author

bergm commented Jul 1, 2021

No need to apologize. I should offer a fix or at least have a look. :-) I just wanted to open a few issues, so they are noted down. Some of them should be easy to fix. I just have to take the time to have a look.

@bergm
Copy link
Author

bergm commented Jul 1, 2021

Just a further observation: It seams if something gets lost on saving, then these are parts which were not visible on the screen when saving. But this is only apparent when closing and opening the file. So the arrows don't appear while it is loaded. But still a bit strange as this doesn't happen all the time.

@bergm
Copy link
Author

bergm commented Jul 1, 2021

I don't have a clear picture yet why and how, but whenever I save a flow while some part (even just one arrow) is hidden to the left of the display, then upon loading the saved file is missing that arrow. Maybe I can figure out somewhen later a more minimized reproduceable version.

@jpaulm
Copy link
Owner

jpaulm commented Jul 1, 2021

All issues sound good... I did some rearchitecting a little while ago, and I suspect not everything was thought through properly! I have some things I want to look into, so you may want to wait a little bit before digging into my (messy) code! Unless you can see some areas that are well separated from the bulk of the code...! (This issue looks like it might be one such). I will be working through the issues you have raised, and of course further feedback is very welcome! Thanks again for the feedback!

@bergm
Copy link
Author

bergm commented Jul 2, 2021

Hello Paul,
I just played a bit around to get a clear bug description.
The arrows of diagram elements vanish when they are saved while invisible to the left (maybe having negative x coordinates). So it's easy, just draw two processed, connect them and move the view to the right, so they get out of view in the left. Save the file, close it and reload it. Then the arrows are gone. Interestingly they are still in the file at that point. So just the view doesn't show them. But if you save the file then again (even with the elements being visible (except the arrows of course)), the connection will also be removed from the file.
If I edit the file which still contains the connections, but which aren't shown anymore and update all negative x coordinates to get positive (shift the while diagram), they reappear.
Maybe this helps to get a clearer idea where to look for the bug. :-)

@bergm bergm changed the title Vanishing arrows at least in V2.22.0 Vanishing arrows at least in V2.22.0 upwards Jul 2, 2021
@jpaulm
Copy link
Owner

jpaulm commented Jul 5, 2021

Fixed as of v2.22.4

@jpaulm jpaulm closed this as completed Jul 5, 2021
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

2 participants