Skip to content
This repository was archived by the owner on Mar 12, 2020. It is now read-only.
This repository was archived by the owner on Mar 12, 2020. It is now read-only.

Windows 10: "No internet access" icon even after successful proxy switch #11

@codegolem

Description

@codegolem

On Windows 10, I'm experiencing an issue with the "No internet access" warning icon being shown on the traybar, even after a successful proxy switch.

By "successful proxy switch" I mean that internet browsing works fine. However, other modern-ui apps seem unable to detect the internet connection unless I manually switch the proxy off and on again (from Windows 10 global proxy settings).

This mainly happens on the first switch after my laptop boots up.
Subsequent automatic switches work fine.

I've found that a small code change resolves this issue.
In the RefreshIESettings method in the InternetExplorer8ProxyAction class, I've added a forced refresh action:

const int INTERNET_OPTION_REFRESH = 37;
InternetSetOption(IntPtr.Zero, INTERNET_OPTION_REFRESH, IntPtr.Zero, 0);

You may want to integrate this change in your main branch.

Cheers!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions