flutter / flutter/devtools

File selection text field does not feel like a fully featured text input

未关闭
#5,337 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
fix it friday P3 screen: debugger
主要语言
Dart
星标
1.7k
派生
404
平均合并
6 天 17 小时
30 天内合并 PR
18

描述

This is just a polishing issue but interacting with the open file text field that appears when you click on the name of the open file doesn't feel as natural as it could when interacting with text fields with a mouse and keyboard. I experienced this using the web based DevTools. I'm not sure what the interactions are like on the version built for desktop use.

Mainly, it doesn't support text highlighting. There are multiple ways that I usually expect text inputs to allow for selection:
* Click and drag with the mouse doesn't highlight any text as expected.
* Triple click doesn't highlight all the text in the field as expected.
* Holding shift while moving the cursor with the arrow keys doesn't highlight the text between the original and new cursor locations as expected.
* Holding shift while moving the cursor with the home/end keys doesn't highlight the text between the original and new cursor locations as expected.

If I could highlight text I also would expect that next text entry to replace all the highlighted text.

You should also be able to copy highlighted text to the clipboard.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。