microsoft/PowerToys

[File Locksmith] Request confirmation on closing processes

Open

#21.807 geöffnet am 6. Nov. 2022

Auf GitHub ansehen
 (1 Kommentar) (0 Reaktionen) (0 zugewiesene Personen)C# (7.978 Forks)batch import
Area-User InterfaceHelp WantedIdea-EnhancementProduct-File Locksmith

Repository-Metriken

Stars
 (133.154 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 14T 20h) (117 gemergte PRs in 30 T)

Beschreibung

Add a warning/confirmation message that is shown when you close the process owned by a different user or the system/nt-service, ... user? Originally posted by @htcfreek in https://github.com/microsoft/PowerToys/issues/21688#issuecomment-1302507429

The warning/confirmation message should prevent users from losing data or crashing the system.

We can have the following message cases:

  • Same user: Are you sure to close the process <name>?
  • Different user: Are you sure to close the process _name_? Attention, it is owned by the user <user name>.
  • System process (User=System/Service/...): Are you sure to close the process <name>? ATTENTION, IT IS A CRITICAL SYSTEM PROCESS!

We can also add a setting to warn only for processes that are critical or belongs to an other user.

Contributor Guide