Skip to content

自定义表情文件过多时偶发更改文档图标卡顿 #7319

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

Closed
2 tasks done
HowcanoeWang opened this issue Feb 10, 2023 · 0 comments
Closed
2 tasks done

自定义表情文件过多时偶发更改文档图标卡顿 #7319

HowcanoeWang opened this issue Feb 10, 2023 · 0 comments
Assignees
Milestone

Comments

@HowcanoeWang
Copy link

该问题是否已经被报告过了? Is there an existing issue for this?

  • 我已经搜索了 Issues,没有发现类似问题
    I have searched the existing issues

该问题是否能够在默认主题(daylight/midnight)下重现? Can the issue be reproduced with the default theme (daylight/midnight)?

  • 我能够在默认主题下重现该问题
    I was able to reproduce the issue with the default theme

描述问题 Describe the problem

当data/emojis文件夹内存在大量(2000+)svg时

image

偶发文档内,更换图标时,选完图标之后,整个文档卡住几十秒(图标无变化),然后图标才更换完毕

有时候文档树内不小心点击到了文件图标,也会整个笔记卡住几十秒

PS:体感是第一次或者较长时间内没有点开过图标列表,需要一次索引或者渲染导致的?卡顿过一次之后,该文档后续更换图标列表就很顺滑

期待的结果 Expected result

提升有大量图标时的检索?性能

截屏或者录屏演示 Screenshot or screen recording presentation

No response

版本环境 Version environment

- Version: 2.7.2
- Operating System: Win
- Browser (if used):

日志文件 Log file

无异常日志

更多信息 More information

附加可以用来测试的图标文件夹:
font-awesome.zip

Vanessa219 added a commit that referenced this issue Feb 10, 2023
@Vanessa219 Vanessa219 self-assigned this Feb 10, 2023
@Vanessa219 Vanessa219 added this to the 2.7.5 milestone Feb 10, 2023
@88250 88250 changed the title 用户自定义图标文件过多时,偶发更改笔记图标卡顿 自定义表情文件过多时偶发更改文档图标卡顿 Feb 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants