Files icon indicating copy to clipboard operation
Files copied to clipboard

Bug: The exe application launched through Files has an incorrect parent relationship in the task manager

Open MNDIA opened this issue 1 year ago • 5 comments

Description

After double clicking in Files to open Steam.exe, Discovered in task management image "Steam. exe" is identified as the process of "Files" This context is incorrect, or there may be a parent-child relationship

Then I double clicked on Steam. exe using the Explorer to open it. The parent-child relationship is normal, and "Steam. exe" is in a separate background process. image

Comparing and excluding methods, the only difference is whether to open Steam. exe through Files or Explorer

Steps To Reproduce

  1. Open Files

  2. Move the mouse and double-click the Steam :(shortcut or directly open Steam.exe) image image

  3. Open Task Manager

  4. Discovering chaotic ownership relationships image

Requirements

image This is the result opened through Explorer, which should have opened the same correctly running result as Files

Files Version

3.2.0.0

Windows Version

10.0.22621.2283

Log File

debug.log

MNDIA avatar Feb 12 '24 16:02 MNDIA

Thanks for the report, I've added this to the project board.

Josh65-2201 avatar Feb 12 '24 17:02 Josh65-2201

Can you check if this also happens with other executable files?

0x5bfa avatar Feb 13 '24 03:02 0x5bfa

Not just Steam. For example, it will also: image

After my investigation, I can confirm this issue.

  1. It has no causal relationship with the "advanced testing function for modifying the registry"(Whether turned on or off, it does not affect the occurrence of problems) image

  2. It is highly likely to be related to Webview2 image As far as I know, Steam uses the web to display some things image And then another example in the first picture, "Nyanpsu", whose project requires a WebView2 environment to run image

MNDIA avatar Feb 15 '24 17:02 MNDIA

Steam doesn't use Webview2 they bundle in there own chromium build for web content. I have also seem this with other programs that aren't web-based too.

Josh65-2201 avatar Feb 15 '24 17:02 Josh65-2201

Okay, so the commonality of the problem should be related to the web, not necessarily webview2

MNDIA avatar Feb 15 '24 17:02 MNDIA