Skip to content

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

Closed
@benz9527

Description

@benz9527

该问题是否已经被报告过了? 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

Activity

88250

88250 commented on Feb 8, 2023

@88250
Member

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

benz9527

benz9527 commented on Feb 8, 2023

@benz9527
Author

稍等,我录着 daylight 的操作 gif

benz9527

benz9527 commented on Feb 8, 2023

@benz9527
Author

siyuan-bug1

默认主题下的操作

88250

88250 commented on Feb 8, 2023

@88250
Member

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

OpaqueGlass

OpaqueGlass commented on Feb 8, 2023

@OpaqueGlass
Contributor

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

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

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

#7299

88250

88250 commented on Feb 8, 2023

@88250
Member

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

image

benz9527

benz9527 commented on Feb 9, 2023

@benz9527
Author

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

OpaqueGlass

OpaqueGlass commented on Feb 9, 2023

@OpaqueGlass
Contributor

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

Vanessa219

Vanessa219 commented on Feb 9, 2023

@Vanessa219
Member

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

added a commit that references this issue on Feb 9, 2023
OpaqueGlass

OpaqueGlass commented on Feb 9, 2023

@OpaqueGlass
Contributor

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

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

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

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

88250 commented on Feb 9, 2023

@88250
Member

@OpaqueGlass 可以重现了,多谢!

reopened this on Feb 9, 2023
changed the title [-]文本时常被完全选中[/-] [+]点击文末空白时导致全选[/+] on Feb 9, 2023
added this to the 2.7.4 milestone on Feb 9, 2023
added a commit that references this issue on Feb 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

    Development

    No branches or pull requests

      Participants

      @88250@Vanessa219@OpaqueGlass@benz9527

      Issue actions

        点击文末空白时导致全选 · Issue #7299 · siyuan-note/siyuan