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: Tapping blank space (via touch screen) doesn't clear selected item #15051

Open
Triangle-GitHub opened this issue Mar 26, 2024 · 4 comments
Labels
bug Something isn't working good first issue Good issue for new contributors to get started with

Comments

@Triangle-GitHub
Copy link

Triangle-GitHub commented Mar 26, 2024

Description

触摸屏上单击空白处不会有任何反应,也不会取消选中已选中的项。这还意味着在双列模式下不能通过单击空白处来切换焦点(经测试,长按空白处可以切换)。双击空白处返回上一级的功能是正常的。

我的触摸屏系统是Windows 10 (19045),缩放为200%.

Steps To Reproduce

  1. Select file
  2. Tap empty space via touch screen
  3. See that the selected item isn't cleared (as opposed to clicking with the mouse which does clear the selection)

Requirements

  • tapping empty space via touch should clear selection
  • tapping empty space on dual pane should focus the selected pane

Files Version

v3.3.0.0

Windows Version

10.0.19045

Log File

日志中没有相关记录

@Triangle-GitHub Triangle-GitHub added the bug Something isn't working label Mar 26, 2024
@yaira2
Copy link
Member

yaira2 commented Mar 26, 2024

Thank you for your feedback. I can repro this as well in the Details View.

@yaira2 yaira2 added the more-info Needs more information from the reporter label Mar 26, 2024
@yaira2 yaira2 changed the title 在触摸屏电脑上的点击空白处问题 Bug: Tapping blank space (via touch screen) doesn't clear selected item Mar 26, 2024
@yaira2 yaira2 added good first issue Good issue for new contributors to get started with and removed more-info Needs more information from the reporter labels Mar 26, 2024
@Triangle-GitHub
Copy link
Author

Thank you for your feedback. I can repro this as well in the Details View.

Yes I was using it in Details View.

@yaira2 yaira2 assigned yaira2 and unassigned yaira2 Mar 26, 2024
@yaira2
Copy link
Member

yaira2 commented Mar 26, 2024

Thank you for the report.

If anyone is looking to fix this, the underlying issue has to do with the selection rectangle.

@yaira2
Copy link
Member

yaira2 commented Mar 26, 2024

I have a fix for clearing the selection in #15054.

It also means that it is not possible to switch focus by clicking on an empty space in dual-column mode

Switching panes works if you hold down for a bit longer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good issue for new contributors to get started with
Projects
Status: 🔖 Ready to build
Development

Successfully merging a pull request may close this issue.

2 participants