flutter / flutter/devtools

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

オープン
#5,337 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
fix it friday P3 screen: debugger
主要言語
Dart
スター
1.7k
フォーク
404
平均マージ
6日 17時間
マージ済み PR(30日)
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.

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

Start by reproducing the behavior in the web-based DevTools open-file text field with a mouse and keyboard. Check the four described selection interactions, replacement of highlighted text, and clipboard copying; done means these text-input behaviors work as expected.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
dart, flutter
領域
devtools, frontend
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
42/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。