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

Proxy configuration not updated when only port number is changed #2599

Open
3 tasks done
per1234 opened this issue Dec 13, 2024 · 0 comments
Open
3 tasks done

Proxy configuration not updated when only port number is changed #2599

per1234 opened this issue Dec 13, 2024 · 0 comments
Labels
topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project

Comments

@per1234
Copy link
Contributor

per1234 commented Dec 13, 2024

Describe the problem

Users may access the Internet via a proxy server. Arduino IDE can be configured for this use case via the "Network" tab of the "Preferences" dialog.

🐛 If only the "Port number" preference is changed, the IDE disregards the change.

To reproduce

  1. Select File > Preferences... from the Arduino IDE menus.
  2. Click the "Network" tab.
  3. Select the "Manual proxy configuration" radio button.
  4. Configure proxy as follows:
    • Select the "HTTP" radio button.
    • Set "Host name" to example.com
    • Set "Port number" to 42
    • Set "Username" to foo
    • Set "Password" to bar
  5. Click the OK button.
  6. Select File > Preferences... from the Arduino IDE menus.
  7. Click the "Network" tab.
    🙂 The proxy configuration is as you specified at step (4).
  8. Change "Port number" to 123.
  9. Click the OK button.
  10. Select File > Preferences... from the Arduino IDE menus.
  11. Click the "Network" tab.

🐛 The value of the "Port number" preference is 42 as configured at step (4) instead of 123 as reconfigured at step (8).

Expected behavior

Changes to the "Port number" preference take effect.

Arduino IDE version

Original report

2.2.2-nightly-20240119

Last verified with

2.3.4

Operating system

Windows

Operating system version

Windows 11

Additional context

The fault does not occur if other proxy preferences are changed at the same time as the "Port number" preference.


Originally reported by @lokomiro

Issue checklist

  • I searched for previous reports in the issue tracker
  • I verified the problem still occurs when using the latest nightly build
  • My report contains all necessary details
@per1234 per1234 added topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project labels Dec 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project
Projects
None yet
Development

No branches or pull requests

1 participant