zowe / zowe-explorer-vscode

Visual Studio Code Extension for Zowe, which lets users interact with z/OS Data Sets, Unix System Services, and Jobs on a remote mainframe instance. Powered by Zowe SDKs.
Eclipse Public License 2.0
159 stars 89 forks source link

Right-click-delete deletes the wrong program #2941

Closed phaumer closed 2 weeks ago

phaumer commented 3 weeks ago

Describe the bug

I consider this a high severity defect as I lost data because of this. The right-click-Delete currently deletes the currently open/selected file and not the file I right-clicked.

To Reproduce

Steps to reproduce the behavior:

  1. See first attachment: I open a file and then right-click another file that I want to delete without first opening it.
  2. See second screen shot: Zowe Explorer wants to delete the file I opened previously and not the one I right-clicked.

Expected behavior

Screenshots

1) Right-click:

2024-06-06_08-18-18

2) Wrong file in confirmation

2024-06-06_08-18-45

Desktop (please complete the following information):

Additional context

github-actions[bot] commented 3 weeks ago

Thank you for creating a bug report. We will investigate the bug and evaluate its impact on the product. If you haven't already, please ensure you have provided steps to reproduce the bug and as much context as possible.