[FileLocksmith]Show process files in modal dialog to fix crash (#33804)

## Summary of the Pull Request
To prevent a crash, show the individual files of a process within a
modal dialog rather than as inline text. Please see the linked issue for
more details.

## Detailed Description of the Pull Request / Additional comments
- Removed inline list of process files.
- Added "Show files" button to expander to show list of process files as
a modal dialog. This dialog has the same design as the one used to
display the list of selected folders within the same application.
- Added unhandled exception hander to application similar to our other
applications.


![image](https://github.com/user-attachments/assets/52eddfcc-5e10-40a3-94b2-68bbfb607f1d)

![image](https://github.com/user-attachments/assets/ff996e32-36f6-41a9-a9f0-6dda7a93d09a)
This commit is contained in:
Ani
2024-07-25 14:46:20 +02:00
committed by GitHub
parent 84def18ed5
commit d40367a860
4 changed files with 41 additions and 16 deletions

View File

@@ -130,6 +130,13 @@
<data name="Files.Text" xml:space="preserve">
<value>Files</value>
</data>
<data name="ProcessFilesListDialog.Title" xml:space="preserve">
<value>Files</value>
</data>
<data name="ProcessFilesListDialog.CloseButtonText" xml:space="preserve">
<value>Close</value>
<comment>As in, close a dialog prompt.</comment>
</data>
<data name="PathsTooltipDescription.Text" xml:space="preserve">
<value>Click to see the entire list of paths.</value>
<comment>Paths as in file paths that were selected for the utility to check.</comment>
@@ -164,4 +171,8 @@
<value>Administrator: File Locksmith</value>
<comment>Title of the window when running as administrator.</comment>
</data>
<data name="ShowProcessFiles.Text" xml:space="preserve">
<value>Show files</value>
<comment>Show files for the selected process</comment>
</data>
</root>