Closed
Description
导出大pdf会卡退
Is there an existing issue for this?
- I have searched the existing issues
Can the issue be reproduced with the default theme (daylight/midnight)?
- I was able to reproduce the issue with the default theme
Could the issue be due to extensions?
- I've ruled out the possibility that the extension is causing the problem.
Describe the problem
如题所述,导出大pdf时会卡退,但检查生成目录,发现pdf已经生成,但未删除资源文件夹和生成pdf内目录
以下是测试文件
Expected result
希望修复这个错误
Screenshot or screen recording presentation
No response
Version environment
- Version: 2.9.3
- Operating System: win 10
- Browser (if used):
Log file
无需日志
More information
No response
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Milestone
Relationships
Development
No branches or pull requests
Activity
88250 commentedon Jul 2, 2023
你试下按下导出确定按钮以后最小化主界面,看看能否正常导出。
[-]导出大pdf会卡退[/-][+]Exporting PDF crashes UI[/+]zxhd863943427 commentedon Jul 3, 2023
抱歉回的有点晚。
经过测试,最小化主界面后可以正常导出。
88250 commentedon Jul 3, 2023
使用的输入法是搜狗拼音吗?打开任务管理器,然后展开前端进程,观察下导出时的 SiYuan 子进程的状态。
zxhd863943427 commentedon Jul 3, 2023
使用的是微软自带的输入法,导出时,任务管理器状态见下:

88250 commentedon Jul 3, 2023
导出确定按下以后把焦点移到其他窗口呢?
zxhd863943427 commentedon Jul 3, 2023
同样会闪退
88250 commentedon Jul 3, 2023
好的,暂时无法确定原因,等 Electron 有新版本我们升级下看看。
zxhd863943427 commentedon Jul 8, 2023
在siyuan2.9.5dev中,能成功复现导出失败和导出成功。
目前我观察到目前是只要焦点切出思源,并且正在进行导出,就会失败
只要焦点保持在思源界面内,就能正常导出
88250 commentedon Jul 26, 2023
v2.9.7 升级了 Electron 我这里好像已经不能重现该问题,请帮忙确认。
zxhd863943427 commentedon Jul 26, 2023
可以复现。
88250 commentedon Aug 27, 2023
@zxhd863943427 有空的话帮忙试下目前最新的开发版(v2.10.2-dev1),我这里好像正常了。
zxhd863943427 commentedon Aug 27, 2023
同样出错,出错的复现步骤:导出PDF后,立刻切换到其他应用。
假如停留在siyuan,则不会出错。
zxhd863943427 commentedon Aug 27, 2023
与之前的测试结果是一致的。
88250 commentedon Aug 27, 2023
5 remaining items