Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Menu bar icon upload jumps on tasks #2680

Open
daverathbone opened this issue Sep 5, 2021 · 1 comment
Open

Menu bar icon upload jumps on tasks #2680

daverathbone opened this issue Sep 5, 2021 · 1 comment

Comments

@daverathbone
Copy link

daverathbone commented Sep 5, 2021

Temporary solution

It seems you can't swap that task runner status icon. The only solution is to disable it. Please run the "build" task, right-click on the status bar, and uncheck "Running Task". See the screenshot below:

Screen Shot 2022-05-09 at 23 06 30


You closed this Issue on other users, but its still a problem .

Might it be possible to keep the "show running tasks" icon and count displayed in the lower left of the window (Or leave it off!) between the "errors" and "warnings" icons and counts, and the "PlatformIO: Home" icon, even when the "running task" count is 0; because when a "build" or "upload" task in initiated, it causes the "running tasks" icon to show, and it shifts all the icons to its right, shifting the icon beneath the cursor, changing which icon will be selected upon click, depending on whether there are any tasks running or not.

Note Platform IO reply "it was a VS problem". But having written many electron applicatins I know its not the case!.

Why its an issue....
For example, if I place the cursor over the "build" icon and click, with no tasks running, the "running tasks" icon appears and shifts the icons such that "home" ends up under the cursor, and if one moves the cursor over the newly repositioned "upload" icon, waiting for the result of the "build", but when it finishes, the cursor ends up over the "clean" icon when the build task if finished, which I end up mistakingly clicking, when intending to select "upload".

Overall, an action initialed by an icon click should not change the position of the icon clicked on.

@takeru
Copy link

takeru commented Oct 9, 2021

Have you looked at the code?
https://github.com/platformio/platformio-vscode-ide/blob/develop/src/project/tasks.js

It seems that the running task icon is not displayed by the PIO IDE, but by VS Code.
This is certainly a VSCode problem.

If you right-click and select "Hide" when the number of running tasks is one or more, the icon will not appear anymore.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants