It seems that you are experiencing an issue where Microsoft Edge restores tabs from a previous session when opening local HTML files, despite having the startup option set to "Open a new tab." This behavior can be frustrating, especially since it does not occur when launching Edge directly.
One possible explanation for this issue is that Microsoft Edge may be designed to restore tabs in certain scenarios, such as when opening files that are associated with the browser. While the settings for startup behavior are configured correctly, the browser might still prioritize restoring previous sessions in specific contexts, like opening local files.
To troubleshoot this further, consider the following steps:
- Check for Updates: Ensure that you are using the latest version of Microsoft Edge, as updates can fix bugs and improve functionality.
- Disable Extensions: Sometimes, browser extensions can interfere with normal operations. Try disabling any extensions you have installed to see if that resolves the issue.
- Reset Edge Settings: If the problem persists, you might want to reset Edge settings to their default values. This can often resolve unexpected behavior.
- Clear Cache and Cookies: Clearing your browser's cache and cookies can also help eliminate any corrupted data that might be causing issues.
If none of these steps resolve the issue, it may be worth reporting the problem to Microsoft support for further assistance.
References: