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

[Bug]: 使用@选择模型时,鼠标指针点击选择异常,第一次列表会跳一下,选不上,第二次才能选上。 #1974

Closed
3 tasks done
YinsenHo opened this issue Feb 19, 2025 · 8 comments · Fixed by #2006
Labels
bug Something isn't working

Comments

@YinsenHo
Copy link
Collaborator

Issue Checklist

  • I understand that issues are for feedback and problem solving, not for complaining in the comment section, and will provide as much information as possible to help solve the problem.
  • I've looked at pinned issues and searched for existing Open Issues and Closed Issues, no similar issue was found.
  • I've filled in short, clear headings so that developers can quickly identify a rough idea of what to expect when flipping through the list of issues. And not "a suggestion", "stuck", etc.

Platform

macOS

Version

0.9.27

Bug Description

RT

Steps To Reproduce

  1. 键入@字符;
  2. 使用鼠标点击选择某个模型;

Expected Behavior

鼠标点击后选中模型

Relevant Log Output

Additional Context

No response

@YinsenHo YinsenHo added the bug Something isn't working label Feb 19, 2025
@ousugo
Copy link
Collaborator

ousugo commented Feb 19, 2025

@FischLu 麻烦帮忙看一下

@FischLu
Copy link
Contributor

FischLu commented Feb 19, 2025

Screen.Recording.2025-02-19.at.12.18.43.mov

无法复现, 如果还有问题请提供一个录屏

@YinsenHo
Copy link
Collaborator Author

2025-02-19.19__72pct_smaller.mp4

可以看一下录屏,补充一下,前三个不会有这个 bug,添加第四个的时候开始出现 bug

@tommyzhang100504
Copy link

tommyzhang100504 commented Feb 19, 2025

成功复现,而且我不管是第几个都会有bug

edit: @FischLu 你视频中没有滑动列表,这个bug一定要往下划一下列表才能复现

iShot_2025-02-19_20.47.27.mp4

@FischLu
Copy link
Contributor

FischLu commented Feb 19, 2025

我试了一下, 如果用鼠标滚轮滚动菜单, 点击滚动前看不见的模型时会出现问题, 应该是滚动菜单的逻辑问题, 尝试修复一下

@tommyzhang100504
Copy link

@FischLu 我怎么记得以前有人提过,就是@完了模型后自动重新聚焦到输入框,这样能接着打字,或者@更多模型,但我刚刚使用的时候发现似乎并没有实现,是被拒绝了吗?我找不到那个issue了。我觉得这个建议还是挺合理的

@FischLu
Copy link
Contributor

FischLu commented Feb 19, 2025

@tommyzhang100504 不清楚后来怎么了, 不过现在如果输入@后继续输入模型名称, 可以快速过滤模型列表, 然后通过箭头等方式选中模型后, 焦点还是在输入框, 可以继续操作. 但是用鼠标选中后焦点就跑了. 当前的逻辑有点分散, 比如上面这个 bug, 必须用键盘输入 @ 后打开的菜单才会导致这个 bug, 如果是点击下面的 @ 符号打开的菜单就没问题

@FischLu
Copy link
Contributor

FischLu commented Feb 19, 2025

fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants