devtools icon indicating copy to clipboard operation
devtools copied to clipboard

Enhancement: copy texts from Dart Network tool

Open hn-n opened this issue 1 year ago • 14 comments

<-- Please describe your problem here. Be sure to include repro steps. -->

Hello, thanks Flutter team for all the efforts! The issue is you can not copy any text from the Dart Network Tool


DevTools version: 2.31.1 IDE: VSCode Connected Device: CPU / OS: x64 (64 bit) ios Connected app type: Flutter native (debug build) Dart Version: 3.3.0 Flutter Version: 3.19.1 / stable Framework / Engine: abb292a07e / 04817c99c9

hn-n avatar Mar 14 '24 08:03 hn-n

Please do that! I'm goind mad when I want to transfer something from the Monitor to our ticket system. it should be possible on all elememts on that page. Right click to copy one of the table cells would be good too.

escamoteur avatar May 23 '24 09:05 escamoteur

Screenshot 2024-05-29 at 12 00 55 PM What kind of information are you looking to copy? In the response tab there is currently lots of options for copy. On the Overview and Headers tab you should be able to select with your cursor and copy/paste

CoderDake avatar May 29 '24 16:05 CoderDake

I can select yes but if I type ctrl C it isn't copied to the clipboard Am 29. Mai 2024, 18:02 +0200 schrieb Daniel Chevalier @.***>:

Screenshot.2024-05-29.at.12.00.55.PM.png (view on web) What kind of information are you looking to copy? In the response tab there is currently lots of options for copy. On the Overview and Headers tab you should be able to select with your cursor and copy/paste — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>

escamoteur avatar May 29 '24 17:05 escamoteur

endpoint url can't be copied in response body the shortcut "cmd + c" is not working, you must manually press the copy button

hn-n avatar May 29 '24 17:05 hn-n

Without a larger refactor we are limited to using those copy buttons on the response tab. The json viewer is limited to 1 line, so there is never a guarantee that we will be showing the whole line at any given time.

On the other hand you should be able to use ctrl/cmd+c for the Uri in the request list. Are you currently running into issues there as well?

There is also a context menu for copying those Uri's which may come in handy sometimes. Screenshot 2024-05-29 at 1 39 23 PM

CoderDake avatar May 29 '24 17:05 CoderDake

But it's not possible to copy anything from the request tab. There is no copy button or context menu Am 29. Mai 2024, 19:39 +0200 schrieb Daniel Chevalier @.***>:

Without a larger refactor we are limited to using those copy buttons on the response tab. The json viewer is limited to 1 line, so there is never a guarantee that we will be showing the whole line at any given time. On the other hand you should be able to use ctrl/cmd+c for the Uri in the request list. Are you currently running into issues there as well? There is also a context menu for copying those Uri's which may come in handy sometimes. Screenshot.2024-05-29.at.1.39.23.PM.png (view on web) — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>

escamoteur avatar May 29 '24 17:05 escamoteur

Ok I might not be following then, could you please post some screenshots or instructions so I can see what you are talking about ? When I am on the request tab I am seeing some copy options. Screenshot 2024-05-29 at 1 50 08 PM

CoderDake avatar May 29 '24 17:05 CoderDake

Sorry, my fault, I meant the overview and header tab Am 29. Mai 2024, 19:51 +0200 schrieb Daniel Chevalier @.***>:

Ok I might not be following then, could you please post some screenshots or instructions so I can see what you are talking about ? When I am on the request tab I am seeing some copy options. Screenshot.2024-05-29.at.1.50.08.PM.png (view on web) — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>

escamoteur avatar May 29 '24 17:05 escamoteur

Just to be sure, does selecting text and hitting ctrl/cmd+c (or right click copy) work for you in the overview tab? I recently made a change that should have fixed that.

CoderDake avatar May 29 '24 18:05 CoderDake

Sorry, I'm currently on the road, nope, no context menu and no Ctrl+C image I just did a flutter upgrade so I should have the latest dev tools, right?

escamoteur avatar May 31 '24 15:05 escamoteur

@CoderDake any idea why I don't have the latest version of the devtools? I'm on latest flutter but the Networktool still doesn't show any of the new features that I have now too seen on a screenshot of a college.

escamoteur avatar Jun 04 '24 17:06 escamoteur

@escamoteur I'm unsure why you might be seeing an old version of devtools. Could you please post your flutter version, the version of devtools you are seeing, and how you are opening devtools? Some screenshots for what you are seeing could be helpful as well.

CoderDake avatar Jun 04 '24 18:06 CoderDake

@CoderDake how can I see the version of the devtools inside VS code?

escamoteur avatar Jun 04 '24 18:06 escamoteur

OK, when I open Dev Tools in the browser I see Version: DevTools version 2.34.3 but I'm not sure if that means it's the same version in VS code.

I open devtools like always with Shift+Ctrl+P and then select image

the top entry.

this is how my network page looks like image

Doctor summary (to see all details, run flutter doctor -v): [√] Flutter (Channel stable, 3.22.0, on Microsoft Windows [Version 10.0.19045.4412], locale de-DE) [√] Windows Version (Installed version of Windows is version 10 or higher) [√] Android toolchain - develop for Android devices (Android SDK version 33.0.2) [√] Chrome - develop for the web [√] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.6.2) [√] Android Studio (version 2022.2) [√] VS Code, 64-bit edition (version 1.89.1) [√] Connected device (4 available) [√] Network resources

Wie use FVM Flutter SDK : SDK Version : 3.22.0 if that makes any difference

Flutter plugin More Info Published 2018-04-18, 17:49:03 Last released 2024-05-29, 16:01:50 Last updated 2024-05-29, 18:26:50 Identifier dart-code.flutter

escamoteur avatar Jun 04 '24 18:06 escamoteur