ExcalidrawZ icon indicating copy to clipboard operation
ExcalidrawZ copied to clipboard

App crashes with large library packs

Open OliverRC opened this issue 8 months ago • 7 comments

Describe the bug If you try and use a large library pack like AWS Architecture Icons it will crash the app everytime when scrolling through the library

To Reproduce Steps to reproduce the behavior:

  1. Import AWS Architecture Icons
  2. Scroll through library
  3. App will hang and have to be force closed

Desktop (please complete the following information):

  • OS: MacOS Sequoia 15.1
  • Version(Build): 1.4.1 Build 40

OliverRC avatar Apr 29 '25 08:04 OliverRC

Hello, @OliverRC.

Thank you for your feedback. I will look into this issue as soon as possible.

chocoford avatar Apr 29 '25 08:04 chocoford

Hello, @OliverRC.

I'm happy to let you know that I've pinpointed the issue, and the fix will be included in the next version. In the meantime, you can temporarily reduce the scrolling speed to avoid the freezing problem.

chocoford avatar Apr 29 '25 09:04 chocoford

Hello, @OliverRC.

ExcalidrawZ 1.4.4 has optimized the loading logic for library items. You can check after the update to see if the issue persists.

chocoford avatar May 02 '25 14:05 chocoford

I tested immediately after updating to 1.4.4 and it still hung. When it happened I was scrolling with the mouse wheel and near the bottom the scroll "jumped" right to the end of my libraries. Then when scrolling back up is when it hung.

Reopening to record it and it didn't hang. Scroll does still "jump" near the bottom. I'll try to reproduce it more reliably.

EDIT something is definitely very funky with the libraries. If you use the scroll scrubber is and go up and down it breaks.

Recording of it hanging. Note it kept repeating the same items or skipping back to an older "page" https://youtu.be/V3fmDC6joL0

OliverRC avatar May 07 '25 12:05 OliverRC

Hello, @OliverRC.

What I'm noticing is that you keep scrolling down, but the content in the scrolling list seems to jump back unexpectedly.

Does this mean you often get stuck somewhere and find it hard to scroll down?

I will check this.

chocoford avatar May 08 '25 03:05 chocoford

This issue should be fixed in the latest version. You can check if the issue still persists.

chocoford avatar Jun 29 '25 08:06 chocoford

it seems to be much better now!

one problem related to large libraries now seems to be laggy / intermittently nonfunctioning arrow button to expand/collapse a section. also being able to reorder them or at least remember the collapsed / expanded status on restarts would be extremely helpful!

would you prefer me to raise this as a separate issue?

yunake avatar Jul 05 '25 17:07 yunake