devtools icon indicating copy to clipboard operation
devtools copied to clipboard

Make table entries selectable

Open bkonyi opened this issue 2 years ago • 4 comments

It's currently not possible to select text from entries in a table, making it difficult to copy-paste things like file paths from stack traces.

cc @liamappelbe

bkonyi avatar Sep 29 '22 17:09 bkonyi

We can make the table entries use SelectableText, though there are some usability issues that arise from this: https://github.com/flutter/flutter/issues/129590.

Out of the box, this does change the select behavior of the table rows as well. For example in a tree table, clicking on a row should expand or collapse the row, but when we use SelectableText, the select gesture takes precedence over the on tap handler.

kenzieschmoll avatar Jun 26 '23 22:06 kenzieschmoll

This issue may also be blocked by https://github.com/flutter/flutter/issues/80435. SelectableText overflow property is not working.

kenzieschmoll avatar Jun 28 '23 19:06 kenzieschmoll

SelectableRegion in theory allows you to select static text.

LongCatIsLooong avatar Jun 28 '23 19:06 LongCatIsLooong

Reopening this issue since it appears the fix did not apply to tree tables: Screenshot 2024-01-09 at 12 28 55 PM

kenzieschmoll avatar Jan 09 '24 21:01 kenzieschmoll