Skip to content

点击文末空白时导致全选 #7299

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
2 tasks done
benz9527 opened this issue Feb 8, 2023 · 11 comments
Closed
2 tasks done

点击文末空白时导致全选 #7299

benz9527 opened this issue Feb 8, 2023 · 11 comments
Assignees
Labels
Milestone

Comments

@benz9527
Copy link

benz9527 commented Feb 8, 2023

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

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

该问题是否能够在默认主题(daylight/midnight)下重现? Can the issue be reproduced with the default theme (daylight/midnight)?

  • 我能够在默认主题下重现该问题
    I was able to reproduce the issue with the default theme

描述问题 Describe the problem

image

image

这十分容易导致文本内容被覆盖掉。

复现步骤,无空行等待大约 30s,也就是自动同步的间隔时间,新增空行。

期待的结果 Expected result

新增空行不会导致其他文本被选中

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

siyuan-bug1

版本环境 Version environment

- Version: v2.7.3
- Operating System: docker debian
- Browser (if used): edge 109.0.1518.78 (正式版本) (64 位)

日志文件 Log file

界面操作,无日志

更多信息 More information

No response

@88250
Copy link
Member

88250 commented Feb 8, 2023

请在默认主题下录屏演示。

@88250 88250 closed this as completed Feb 8, 2023
@benz9527
Copy link
Author

benz9527 commented Feb 8, 2023

稍等,我录着 daylight 的操作 gif

@benz9527
Copy link
Author

benz9527 commented Feb 8, 2023

siyuan-bug1

默认主题下的操作

@88250
Copy link
Member

88250 commented Feb 8, 2023

我这里修改文档以后等 30s 发起自动同步后没有选中。

@OpaqueGlass
Copy link
Contributor

我遇到了类似的问题,具体操作:

  1. 使用搜狗输入法+v2.7.3
  2. 点挂件(或大纲、侧栏、任务栏空白)后,再点页面结尾的空白。

使用微软拼音只在点任务栏之后重现。

#7299

@88250
Copy link
Member

88250 commented Feb 8, 2023

@OpaqueGlass 我这里只用两个挂件测试了下还是重现不了。

image

@benz9527
Copy link
Author

benz9527 commented Feb 9, 2023

我昨天用的手心输入法,我没有考虑到有输入法的问题

@OpaqueGlass
Copy link
Contributor

OpaqueGlass commented Feb 9, 2023

重新在虚拟机里试了一下(siyuan-v202302082201-win),发现在焦点从其他应用切换到思源也会出现(用鼠标切换)。搜狗输入法按照之前的操作也能重现。v2.7.1没有这种情况。
Repeat#7299

@Vanessa219
Copy link
Member

是一启动就点击挂件再点击末尾么?还是之前有什么其他操作?

Vanessa219 added a commit that referenced this issue Feb 9, 2023
@OpaqueGlass
Copy link
Contributor

我这里不需要其他操作,感觉和输入法有关系
a. 用搜狗或手心输入法,复现步骤:

  1. 点挂件
  2. 点文档末尾没有空行的位置

b. 用搜狗、手心或微软拼音,复现步骤:

  1. 分屏,或者让其他app显示在思源之上,点其他应用
  2. 在思源中点文档末尾没有空行的位置

@88250
Copy link
Member

88250 commented Feb 9, 2023

@OpaqueGlass 可以重现了,多谢!

@88250 88250 reopened this Feb 9, 2023
@88250 88250 changed the title 文本时常被完全选中 点击文末空白时导致全选 Feb 9, 2023
@88250 88250 added the Bug label Feb 9, 2023
@88250 88250 added this to the 2.7.4 milestone Feb 9, 2023
88250 pushed a commit that referenced this issue Feb 9, 2023
@88250 88250 closed this as completed Feb 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants