MicrosoftEdge / DevTools

Feedback and discussions about Microsoft Edge Developer Tools
MIT License
154 stars 50 forks source link

Constantly being told to "Reload DevTools" #145

Open transentia opened 1 year ago

transentia commented 1 year ago

Per this image:

image

I can see no way to permanently acknowledge this.

image

AB#44350973

transentia commented 1 year ago

To clarify, when I say "constantly", I mean "Each time I open DevTools", not that it continually refreshes the message or anything like that....

captainbrosset commented 1 year ago

Oh, that's odd. I too have seen this banner, but didn't realize it appeared each time I opened DevTools. Thank you so much for reporting this issue. I'll make sure our engineering team sees this.

captainbrosset commented 1 year ago

Turns out we've heard this from other feedback sources too, so you're not alone. In theory, users should only see the banner one time (per channel, i.e. Canary, Dev, Beta, Release). But also, everytime we update the component on our end, the banner will pop up again.

We recently updated the component which might be explaining why you've been seeing the banner several times. We're monitoring on our end to make sure this does not occur again. But please do report here if you keep seeing the banner again and again.

robpaveza commented 1 year ago

Hey @transentia, thanks for reporting this issue. The underlying issue here is that we're installing a "browser component" (which is something like an extension), if it isn't installed, when you launch DevTools. The banner here appears when the extension system tells us that it's installed or updated.

These components are installed on a per-profile basis, and so there are a couple cases in which this might always appear:

Additionally, they're per-channel (Stable, Beta, Dev, Canary).

Can you take a look at the path %userprofile%\appdata\Local\Microsoft\Edge\User Data\Default\Extensions\kfbdpdaobnofkbopebjglnaadopfikhh (this is Stable) and tell me what you see there? Specifically, do you see a directory 113.0.1765.0_0 with a file manifest.json inside of it (and others)?

Thanks!

transentia commented 1 year ago

I just see:

image

Note that I am deliberately NOT signed in to any services:

image

transentia commented 1 year ago

Also: this hasn't JUST started happening, its been happening for quite a while...its just that I've only now gotten around to DOING something about it.

I can't quantify HOW long ago it started...sorry. I'd say roughly all of April?

robpaveza commented 1 year ago

I just see (picture of the extension not being there).

Whoa! That's not what I expected to see. Could you try something for me?

  1. Open DevTools, wait for the "Enhancements have been installed" message
  2. Open a new tab and go to devtools://devtools/bundled/third_party/typescript/typescript.js

Does the file basically just say export default false; or something equivalent, or is it a large file?

Additionally, could you go to edge://extensions-internals/ and searching for kfbdpdaobnofkbopebjglnaadopfikhh in the payload? It should look something like this:

{
   "creation_flags": [ "REQUIRE_KEY" ],
   "disable_reasons": [  ],
   "event_listeners": {
      "count": 0,
      "listeners": [  ]
   },
   "id": "kfbdpdaobnofkbopebjglnaadopfikhh",
   "keepalive": {
      "activites": [  ],
      "count": -1
   },
   "location": "EXTERNAL_COMPONENT",
   "manifest_version": 3,
   "name": "Microsoft Edge DevTools Enhancements",
   "path": "(disk path)",
   "permissions": {
      "active": {
         "api": [  ],
         "explicit_hosts": [  ],
         "manifest": [  ],
         "scriptable_hosts": [  ]
      },
      "optional": {
         "api": [  ],
         "explicit_hosts": [  ],
         "manifest": [  ],
         "scriptable_hosts": [  ]
      },
      "tab_specific": {
      },
      "withheld": {
         "api": [  ],
         "explicit_hosts": [  ],
         "manifest": [  ],
         "scriptable_hosts": [  ]
      }
   },
   "type": "TYPE_EXTENSION",
   "version": "113.0.1765.0"
}
transentia commented 1 year ago

devtools://devtools/bundled/third_party/typescript/typescript.js is a nice large file:

image

searching for kfbdpdaobnofkbopebjglnaadopfikhh:

image
{
   "creation_flags": [ "REQUIRE_KEY" ],
   "disable_reasons": [  ],
   "event_listeners": {
      "count": 0,
      "listeners": [  ]
   },
   "id": "kfbdpdaobnofkbopebjglnaadopfikhh",
   "keepalive": {
      "activites": [  ],
      "count": -1
   },
   "location": "EXTERNAL_COMPONENT",
   "manifest_version": 3,
   "name": "Microsoft Edge DevTools Enhancements",
   "path": "C:\\Users\\Bob Brown\\AppData\\Local\\Microsoft\\Edge\\User Data\\Default\\Extensions\\kfbdpdaobnofkbopebjglnaadopfikhh\\113.0.1765.0_0",
   "permissions": {
      "active": {
         "api": [  ],
         "explicit_hosts": [  ],
         "manifest": [  ],
         "scriptable_hosts": [  ]
      },
      "optional": {
         "api": [  ],
         "explicit_hosts": [  ],
         "manifest": [  ],
         "scriptable_hosts": [  ]
      },
      "tab_specific": {
      },
      "withheld": {
         "api": [  ],
         "explicit_hosts": [  ],
         "manifest": [  ],
         "scriptable_hosts": [  ]
      }
   },
   "type": "TYPE_EXTENSION",
   "version": "113.0.1765.0"
}

Interesting, I now see:

image
transentia commented 1 year ago

But look what happens when I quit and restart the browser:

image

I saw the folder disappear...

And when I open devtools:

image

(hey: I just made a recursive comment :-)...quite by accident)

I am running AdGuard Adblocker...let me try to disable that...

transentia commented 1 year ago

Nope...disabling AdGuard didn't change things.

transentia commented 1 year ago

I have this:

image

But don't think that will affect anything.

No group policies:

image

Can't think of anything else...the machine is not domain-joined so there's not much to go wrong (Famous Last Words...)

Maybe windows defender?

transentia commented 1 year ago

For completeness' sake:

image
captainbrosset commented 1 year ago

Thank you so much @transentia for providing so much details. I know @robpaveza is looking into this, and we'll make sure to report back any findings and fixes once we have something.

princemuel commented 1 year ago

Per this image: image

I can see no way to permanently acknowledge this.

image

AB#44350973

Yeah I've been experiencing this too on my Linux machine. I initially thought it was an issue with the installation, but it seems like it's a bug in the browser

Achilles-1 commented 1 year ago

Anyone found out a solution to this issue? I'm running edge stable version 114.0.1823.41. Still getting this message: image It's very annoying. Am I missing something?

transentia commented 1 year ago

This week, I noticed that this issue has appeared on the corporate PC I use when working for a large enterprise client. It's a fully managed, domain-joined, everything-possible-tweaked-because-'security' windows 10 system.

Just to add another data point.

dev-dingxue commented 1 year ago

Per this image: image

I can see no way to permanently acknowledge this.

image

AB#44350973

I encountered the same problem as you. This prompt is displayed every time I open the Debugger. It's a bug

princemuel commented 1 year ago

I still experiencing the same issue and it's really quite annoying 😅

captainbrosset commented 1 year ago

Thanks for confirming that this is still happening. We have this item tracked on our backlog and will make sure to report any progress here when we have something to share.

quyenvsp commented 1 year ago

I found a very simple solution. After closed Edge, it will delete extension, then you just:

Done.

transentia commented 1 year ago

That's interesting!

Seemed to work for me...so far. Wonder what will happen when upgrades come around.

Thank you @quyenvsp.