Notepads icon indicating copy to clipboard operation
Notepads copied to clipboard

[Bug] 对搜索框的选中文字点击鼠标右键后,选中的文字失去聚焦状态

Open Geeyun-JY3 opened this issue 4 years ago • 2 comments

Describe the bug 对搜索框的选中文字点击鼠标右键后,选中的文字失去聚焦状态 跳转至指定行框也有类似 bug

To Reproduce

  1. 打开搜索框
  2. 选中文字
  3. 鼠标右键单击
  4. 粘贴会发现选中的文字并没有被替换

Expected behavior 对搜索框的选中文字点击鼠标右键后,选中的文字仍处于聚焦状态。可方便粘贴替换文字

Screenshots notepad

Desktop (please complete the following information):

  • OS: Windows 10 21H1 19043.1055
  • Version v1.4.5.0

Additional context Add any other context about the problem here.

Geeyun-JY3 avatar Jun 22 '21 07:06 Geeyun-JY3

这里的右键上下文菜单是系统自带,不像主文本框那里是我自己定义的,所以会有你说的这些问题,可是他就是这么设计的。。

0x7c13 avatar Oct 31 '21 01:10 0x7c13

我不太清楚是否所有使用系统自带的上下文菜单的应用都是这样的行为,但就挺麻烦的,至少就挺不符合长期以来在各种应用中的使用习惯。感觉挺不应该出现这种较为基本的问题。 有相似控件的 Microsoft Store 也没这问题: msstore

还是说这是依赖的问题?

Geeyun-JY3 avatar Oct 31 '21 03:10 Geeyun-JY3