[GH-ISSUE #426] [bug] 上传图床时界面出错 #310

Closed
opened 2026-03-02 03:39:06 +03:00 by kerem · 5 comments
Owner

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

详细描述这个 Bug

如图,拖动图片上传时鼠标拖动至图床界面的图上黑色分割线下方区域时

界面会在两种状态间反复切换
状态1(正常上传图片至图床):
状态2(异常状态):
若在界面处于状态2的情况下松开鼠标图片并不会上传至图床而是会被用名为“WebView2”的程序打开

程序在windows任务管理器中显示如下

注:若鼠标在第一张图的黑色分割线上方区域松开或由黑色分割线上方区域移动至下方区域则不会触发该bug

NoteGen 版本

0.19.6

操作系统

Windows

报错日志

Originally created by @ReallyZhaonb on GitHub (Jul 21, 2025). Original GitHub issue: https://github.com/codexu/note-gen/issues/426 ### 详细描述这个 Bug 如图,拖动图片上传时鼠标拖动至图床界面的图上黑色分割线下方区域时 <img src="https://cdn.jsdelivr.net/gh/ReallyZhaonb/note-gen-image-sync@main/d18bb595-9b4d-4621-9de4-894c94eae91e.png"> 界面会在两种状态间反复切换 状态1(正常上传图片至图床):<img src="https://cdn.jsdelivr.net/gh/ReallyZhaonb/note-gen-image-sync@main/bb3b291c-483c-4235-a308-562baea4b641.png"> 状态2(异常状态):<img src="https://cdn.jsdelivr.net/gh/ReallyZhaonb/note-gen-image-sync@main/83ea5956-b6ff-4aaa-a9e5-0a520dcaf505.png"> 若在界面处于状态2的情况下松开鼠标图片并不会上传至图床而是会被用名为“WebView2”的程序打开 <img src="https://cdn.jsdelivr.net/gh/ReallyZhaonb/note-gen-image-sync@main/216feffc-f28b-4bc7-b0ba-ef1d984f06e7.png"> 程序在windows任务管理器中显示如下 <img src="https://cdn.jsdelivr.net/gh/ReallyZhaonb/note-gen-image-sync@main/6c08cfc1-9a7b-4df1-be5a-0f9727b7ba68.png"> 注:若鼠标在第一张图的黑色分割线上方区域松开或由黑色分割线上方区域移动至下方区域则不会触发该bug ### NoteGen 版本 0.19.6 ### 操作系统 Windows ### 报错日志 无
kerem 2026-03-02 03:39:06 +03:00
Author
Owner

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

状态2这个情况是卡顿一下就恢复到状态 1,还是一直就保持状态2 的情况?

<!-- gh-comment-id:3105276631 --> @codexu commented on GitHub (Jul 23, 2025): 状态2这个情况是卡顿一下就恢复到状态 1,还是一直就保持状态2 的情况?
Author
Owner

@ReallyZhaonb commented on GitHub (Jul 23, 2025):

状态2这个情况是卡顿一下就恢复到状态 1,还是一直就保持状态2 的情况?

是一直在状态1和2之间来回切换

<!-- gh-comment-id:3105476312 --> @ReallyZhaonb commented on GitHub (Jul 23, 2025): > 状态2这个情况是卡顿一下就恢复到状态 1,还是一直就保持状态2 的情况? 是一直在状态1和2之间来回切换
Author
Owner

@ReallyZhaonb commented on GitHub (Jul 23, 2025):

状态2这个情况是卡顿一下就恢复到状态 1,还是一直就保持状态2 的情况?

https://github.com/user-attachments/assets/8adaa696-43f8-4a2d-b819-3e4b3c858aaa

<!-- gh-comment-id:3106646208 --> @ReallyZhaonb commented on GitHub (Jul 23, 2025): > 状态2这个情况是卡顿一下就恢复到状态 1,还是一直就保持状态2 的情况? https://github.com/user-attachments/assets/8adaa696-43f8-4a2d-b819-3e4b3c858aaa
Author
Owner

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

看起来像是 Windows 上的 bug,mac 未复现。

<!-- gh-comment-id:3112044573 --> @codexu commented on GitHub (Jul 24, 2025): 看起来像是 Windows 上的 bug,mac 未复现。
Author
Owner

@CorvinYu commented on GitHub (Aug 2, 2025):

遇到相同问题 windows10 v0.19.11

<!-- gh-comment-id:3146305340 --> @CorvinYu commented on GitHub (Aug 2, 2025): 遇到相同问题 windows10 v0.19.11
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#310
No description provided.