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
172 stars 92 forks source link

Polling indicator for jobs does not show in the tree #3266

Open t1m0thyj opened 3 hours ago

t1m0thyj commented 3 hours ago

Describe the bug

When a spool file is right-clicked in the Jobs tree and "Start Polling" is selected, then the P icon is not displayed.

Actual behavior

Only a 🔒 icon is displayed for a spool file that is actively polling and the P icon is missing.

When the editor tab associated with the spool file is closed, then the P icon is displayed.

Expected behavior

After polling has started for a spool file, then the P icon should be displayed on both the tree item and the editor tab.

Screenshots

Desktop (please complete the following information):

Additional context

This seems like a VS Code limitation - removing the readonly permission on the line below removes the 🔒 icon which causes the P icon to display again: https://github.com/zowe/zowe-explorer-vscode/blob/3bd17b74d149f031f8f17194fc2afe4a9dd80bbc/packages/zowe-explorer/src/trees/job/JobFSProvider.ts#L75

github-actions[bot] commented 3 hours 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.