Skip to content

通过浏览器使用时剪切再粘贴会导致光标定位到文档开头 #6060

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

Closed
1 task done
xuzheliang135 opened this issue Oct 4, 2022 · 7 comments
Closed
1 task done
Assignees
Milestone

Comments

@xuzheliang135
Copy link

该问题是否已经被报告过了? Is there an existing issue for this?

  • 我已经搜索了 Issues,没有发现类似问题
    I have searched the existing issues

描述问题 Describe the problem

通过浏览器使用时,通过ctrl+Xctrl+V快捷键进行剪切和粘贴时,光标会滚到文档开头,打断编辑

期待的结果 Expected result

粘贴后,光标仍留在原位,可以继续编辑

截屏或者录屏演示 Screenshot or screen recording presentation

No response

版本环境 Version environment

- Version: 2.2.3
- Operating System: Win10
- Browser (if used):Microsoft Edge 版本 105.0.1343.53 (正式版本) (64 位)

日志文件 Log file

system-log.zip

更多信息 More information

No response

@88250
Copy link
Member

88250 commented Oct 4, 2022

我这里在 Edge 和 Chrome 均无法重现你说的问题,是否存在某些浏览器扩展影响的可能性?

@xuzheliang135
Copy link
Author

我使用edge的隐身模式(没有允许扩展在其中运行),问题依旧存在。不过考虑到其他应用程序和我改了个别思源的快捷键的问题,我会尝试用更干净的环境尝试,但是在我这里非常好复现,之后会附上录屏。

@xuzheliang135
Copy link
Author

录屏传不上去,直接发送给你的邮箱了。
我用了几乎全新的设备(不常用的电脑,docker部署在公网ip上,端口映射到36806),删除了edge的配置,关闭了所有的开机启动。重启后,还关闭了所有的后台程序。之后访问对应网址,新建笔记本和文档,快捷键进行剪切和粘贴,问题依旧。
windows版本为19044.2006,edge版本如上,这两个版本应该不用精确一致,我的非主力机有两个月没用了,肯定没更新到这么新。
你也可以使用这个网址进行访问我的文档环境,我应该还会开一段时间。202.112.26.111:36806/stage/build/desktop/?r=i7j1zyo

@88250
Copy link
Member

88250 commented Oct 5, 2022

我在你的环境上测试也同样重现不了,请看录屏演示:

issue

@88250
Copy link
Member

88250 commented Oct 5, 2022

我先关闭了,如果还有问题请继续跟帖,谢谢 🙏

@88250 88250 closed this as completed Oct 5, 2022
@xuzheliang135
Copy link
Author

我看了你的录屏,请使用ctrl+Xctrl+V进行剪切粘贴,复制粘贴并不会出现问题。
同时尽量只选择部分文字,而不是多个块(虽然多个块应该也能触发)

@88250
Copy link
Member

88250 commented Oct 5, 2022

哦哦,剪切粘贴在你的环境上确实可以重现,麻烦继续保持环境打开,我们再定位一下问题。

@Vanessa219 Vanessa219 self-assigned this Oct 5, 2022
@Vanessa219 Vanessa219 added the Bug label Oct 5, 2022
@Vanessa219 Vanessa219 added this to the 2.3.0 milestone Oct 5, 2022
@Vanessa219 Vanessa219 added Enhancement and removed Bug labels Oct 5, 2022
Vanessa219 added a commit that referenced this issue Oct 5, 2022

Verified

This commit was signed with the committer’s verified signature.
@88250 88250 changed the title 通过浏览器使用时,剪切再粘贴会导致光标飞到文档开头 通过浏览器使用时剪切再粘贴会导致光标定位到文档开头 Oct 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants