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

Long freezes every few seconds #1504

Closed
2 tasks done
mattalxndr opened this issue Oct 18, 2023 · 5 comments
Closed
2 tasks done

Long freezes every few seconds #1504

mattalxndr opened this issue Oct 18, 2023 · 5 comments

Comments

@mattalxndr
Copy link

Preflight Checklist

  • I agree to follow the Code of Conduct that this project adheres to.
  • I have searched the issue tracker for a feature request that matches the one I want to file, without success.

You must agree to search and the code of conduct. You must fill in this entire template. If you delete part/all or miss parts out your issue will be closed.

Describe the bug

I'm working with a 10 MB file (mostly, the size is from imported PNGs), and I'm experiencing freezing every few seconds, on mouse up.

The problem happens whether autosave is enabled or not.

The issue seems related to #173.

To Reproduce
Steps to reproduce the behavior:

  1. Open file.
  2. Resize things to trigger mouse up event.
  3. Notice the long freezes.

Expected behavior

No freezing, with long tasks happening asynchronously.

Screenshots
If applicable, add screenshots to help explain your problem.

draw.io version (In the Help->About menu of the draw.io editor):

  • draw.io version 22.0.2

Desktop (please complete the following information):

  • OS: Linux

Additional context
Here's the file I'm loading

@davidjgraph
Copy link
Contributor

Try going to extras->drafts and set the draft save interval to 0.

@soundsbeard
Copy link

Try going to extras->drafts and set the draft save interval to 0.

omg, thank you so much. i've been struggling for a while with this.
now i reached freeze time to unusable state
just recorded video for bug report
https://youtu.be/9ffwgKuptvs
disabling drafts fixed these freezes

@mattalxndr
Copy link
Author

Thank you for the workaround, it seems to work.

Since the default setting of Draft Save Interval is not zero, this bug affects every new user with a file of a certain size. Issue #173 seems like the ticket that should have covered this fix, but it has been closed. So I will refrain from closing this ticket. Hopefully the actual fix to this ongoing problem can be tracked here.

Thanks for providing this valuable product free of charge.

@evlo
Copy link

evlo commented Dec 31, 2023

But I do not have any drafts In extras, only auto save, which I disabled, but still do have freezes

Which I very much suspect are related to some kind of backup saving

Update: there is option in desktop app and disabling autosave AND drafts = 0 seems, so far, to make application usable again

@davidjgraph
Copy link
Contributor

Try 24.1.0, we think we might have found the underlying issue to this.

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

4 participants