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

Exporting PDF crashes UI #8658

Closed
3 tasks done
zxhd863943427 opened this issue Jul 2, 2023 · 17 comments
Closed
3 tasks done

Exporting PDF crashes UI #8658

zxhd863943427 opened this issue Jul 2, 2023 · 17 comments
Assignees

Comments

@zxhd863943427
Copy link
Contributor

zxhd863943427 commented Jul 2, 2023

导出大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内目录

以下是测试文件

Composing Programs.sy.zip

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

@88250
Copy link
Member

88250 commented Jul 2, 2023

你试下按下导出确定按钮以后最小化主界面,看看能否正常导出。

@88250 88250 changed the title 导出大pdf会卡退 Exporting PDF crashes UI Jul 3, 2023
@zxhd863943427
Copy link
Contributor Author

抱歉回的有点晚。

经过测试,最小化主界面后可以正常导出。

@88250
Copy link
Member

88250 commented Jul 3, 2023

使用的输入法是搜狗拼音吗?打开任务管理器,然后展开前端进程,观察下导出时的 SiYuan 子进程的状态。

@zxhd863943427
Copy link
Contributor Author

使用的是微软自带的输入法,导出时,任务管理器状态见下:
图片

@88250
Copy link
Member

88250 commented Jul 3, 2023

导出确定按下以后把焦点移到其他窗口呢?

@zxhd863943427
Copy link
Contributor Author

同样会闪退

@88250
Copy link
Member

88250 commented Jul 3, 2023

好的,暂时无法确定原因,等 Electron 有新版本我们升级下看看。

@zxhd863943427
Copy link
Contributor Author

在siyuan2.9.5dev中,能成功复现导出失败和导出成功。
目前我观察到目前是只要焦点切出思源,并且正在进行导出,就会失败
只要焦点保持在思源界面内,就能正常导出

@88250
Copy link
Member

88250 commented Jul 26, 2023

v2.9.7 升级了 Electron 我这里好像已经不能重现该问题,请帮忙确认。

@zxhd863943427
Copy link
Contributor Author

可以复现。

@88250
Copy link
Member

88250 commented Aug 27, 2023

@zxhd863943427 有空的话帮忙试下目前最新的开发版(v2.10.2-dev1),我这里好像正常了。

@zxhd863943427
Copy link
Contributor Author

同样出错,出错的复现步骤:导出PDF后,立刻切换到其他应用。
假如停留在siyuan,则不会出错。

@zxhd863943427
Copy link
Contributor Author

与之前的测试结果是一致的。

@88250
Copy link
Member

88250 commented Aug 27, 2023 via email

@88250 88250 self-assigned this Aug 30, 2023
@88250
Copy link
Member

88250 commented Sep 30, 2023

麻烦使用最新的 dev 版测试看看,升级了 Electron。

@88250
Copy link
Member

88250 commented Oct 6, 2023

我这里测试了几次,好像已经无法重现了,老铁再帮忙试试?

@zxhd863943427
Copy link
Contributor Author

目前似乎是正常的

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

2 participants