Update channel setting change recognized only after IDE restart #847
Labels
conclusion: resolved
Issue was resolved
topic: code
Related to content of the project itself
type: imperfection
Perceived defect in any part of project
Update channel setting change recognized only after IDE restart
Describe the bug
Arduino IDE now has an auto update capability (#797).
There are two "update channels" the IDE can use when checking for available updates:
The user can set the channel they want via the advanced settings.
🐛 After changing the channel setting, the IDE continues to use the previously selected channel until it is restarted.
To Reproduce
Start the IDE.
Open the "Command Palette".
(Ctrl+Shift+P or Command+Shift+P by default)
Run the "Preferences: Open Settings (UI)" command.
Change the "Arduino › Ide: Update Channel" (
arduino.ide.updateChannel
) setting to "stable".Select File > Quit from the Arduino IDE menus.
Start the IDE from command line.
Open the "Command Palette".
Run the "Preferences: Open Settings (UI)" command.
Change the "Arduino › Ide: Update Channel" setting to "nightly".
Open the "Command Palette".
Run the "Arduino: Check for Arduino IDE updates" command.
🐛 The output shows that it is attempting to access the update data for the "stable" channel (failure tracked at The built-in IDE updater does not work with my snapshot build #843):
Select File > Quit from the Arduino IDE menus.
Start the IDE from command line.
🙂 The output shows that it is checking the nightly channel data:
Open the "Command Palette".
Run the "Arduino: Check for Arduino IDE updates" command.
🙂 The output shows that it is checking the nightly channel data:
Expected behavior
Changes to "Arduino › Ide: Update Channel" take effect immediately.
- OR -
Add note that restart is required to the setting description.
Desktop
Date: 2022-02-18T16:03:36.097Z
CLI Version: 0.21.0 [10107d24]
Also reproduced with the latest build from the
main
branch:Date: 2022-02-17T10:40:50.003Z
CLI Version: 0.21.0 [10107d24]
The text was updated successfully, but these errors were encountered: