[GH-ISSUE #325] [bug] 打开程序时会先显示一个空白窗口 #233

Closed
opened 2026-03-02 03:38:37 +03:00 by kerem · 5 comments
Owner

Originally created by @ccpwcn on GitHub (Jul 2, 2025).
Original GitHub issue: https://github.com/codexu/note-gen/issues/325

详细描述这个 Bug

程序启动时,会先启动一个空白窗口,停留1到2秒,然后才再次打开程序的主窗口。
Windows10 64位。

Image

NoteGen 版本

v0.18.3

操作系统

Windows

报错日志

No response

Originally created by @ccpwcn on GitHub (Jul 2, 2025). Original GitHub issue: https://github.com/codexu/note-gen/issues/325 ### 详细描述这个 Bug 程序启动时,会先启动一个空白窗口,停留1到2秒,然后才再次打开程序的主窗口。 Windows10 64位。 ![Image](https://github.com/user-attachments/assets/37ea4da4-b910-4429-a0a2-4b7a2809d730) ### NoteGen 版本 v0.18.3 ### 操作系统 Windows ### 报错日志 _No response_
kerem 2026-03-02 03:38:37 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@ccpwcn commented on GitHub (Jul 2, 2025):

v0.19.1中问题仍然存在。

<!-- gh-comment-id:3026220255 --> @ccpwcn commented on GitHub (Jul 2, 2025): v0.19.1中问题仍然存在。
Author
Owner

@codexu commented on GitHub (Jul 2, 2025):

方便发个录屏吗?

<!-- gh-comment-id:3026221570 --> @codexu commented on GitHub (Jul 2, 2025): 方便发个录屏吗?
Author
Owner
<!-- gh-comment-id:3044526400 --> @ccpwcn commented on GitHub (Jul 7, 2025): https://github.com/user-attachments/assets/90ed1e8c-593c-43ae-8151-41dfdce510c6
Author
Owner

@codexu commented on GitHub (Jul 9, 2025):

看起来是因为 @tauri-apps/plugin-window-state 插件导致的,恢复到上一次的窗口大小,并不是两个窗口。

<!-- gh-comment-id:3050867285 --> @codexu commented on GitHub (Jul 9, 2025): 看起来是因为 @tauri-apps/plugin-window-state 插件导致的,恢复到上一次的窗口大小,并不是两个窗口。
Author
Owner

@codexu commented on GitHub (Jul 11, 2025):

此问题暂时无法更好的解决

<!-- gh-comment-id:3060748903 --> @codexu commented on GitHub (Jul 11, 2025): 此问题暂时无法更好的解决
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
starred/note-gen#233
No description provided.