[GH-ISSUE #5389] [Bug] the font selector list in the UI experiences lag. #2397

Closed
opened 2026-03-23 21:22:04 +00:00 by mirror · 2 comments
Owner

Originally created by @LucasXu0 on GitHub (May 22, 2024).
Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/5389

Originally assigned to: @Xazin on GitHub.

Bug Description

After upgrading to version 0.5.8, the font selector list in the UI experiences lag.

How to Reproduce

  • open settings page
  • click the font selector list
  • scroll down

Expected Behavior

The UI experience should be smooth.

Operating System

Desktop

AppFlowy Version(s)

0.5.8

Screenshots

Screenshot 2024-05-22 at 10 02 00

Additional Context

Use ListView to lazily load the fonts.

Originally created by @LucasXu0 on GitHub (May 22, 2024). Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/5389 Originally assigned to: @Xazin on GitHub. ### Bug Description After upgrading to version 0.5.8, the font selector list in the UI experiences lag. ### How to Reproduce - open settings page - click the font selector list - scroll down ### Expected Behavior The UI experience should be smooth. ### Operating System Desktop ### AppFlowy Version(s) 0.5.8 ### Screenshots <img width="553" alt="Screenshot 2024-05-22 at 10 02 00" src="https://github.com/AppFlowy-IO/AppFlowy/assets/11863087/5bb37358-3074-4c62-8c7b-67ff014c7490"> ### Additional Context Use ListView to lazily load the fonts.
mirror 2026-03-23 21:22:04 +00:00
  • closed this issue
  • added the
    v0.5.9
    bug
    labels
Author
Owner

@suntorytimed commented on GitHub (May 22, 2024):

On my system the long load time even sometimes leads to the system detecting a crash of the app and asking me if I want to force quit AppFlowy. It fully utilises one core and adds about 180MB RAM to the used memory. But I also noted a higher memory usage in general with the recent release.

<!-- gh-comment-id:2124572296 --> @suntorytimed commented on GitHub (May 22, 2024): On my system the long load time even sometimes leads to the system detecting a crash of the app and asking me if I want to force quit AppFlowy. It fully utilises one core and adds about 180MB RAM to the used memory. But I also noted a higher memory usage in general with the recent release.
Author
Owner

@Xazin commented on GitHub (May 22, 2024):

On my system the long load time even sometimes leads to the system detecting a crash of the app and asking me if I want to force quit AppFlowy. It fully utilises one core and adds about 180MB RAM to the used memory. But I also noted a higher memory usage in general with the recent release.

This is my bad, I used the Material DropDown widget, but seems that it's not fully optimized for long dropdowns, thus it renders everything on first load. Causing a lot of requests and google fonts.

<!-- gh-comment-id:2124592531 --> @Xazin commented on GitHub (May 22, 2024): > On my system the long load time even sometimes leads to the system detecting a crash of the app and asking me if I want to force quit AppFlowy. It fully utilises one core and adds about 180MB RAM to the used memory. But I also noted a higher memory usage in general with the recent release. This is my bad, I used the Material DropDown widget, but seems that it's not fully optimized for long dropdowns, thus it renders _everything_ on first load. Causing a lot of requests and google fonts.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
AppFlowy-IO/AppFlowy#2397
No description provided.