We doubt that it is related to our Windows version as we have updated a while ago, I'll try to describe the issue again as clearly as possible.
winver output:
Quote:
Microsoft Windows
Version 1809 (OS Build 17763.615)
Windows 10 Pro
We have used the following code:
Quote:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
using EO.WebBrowser;
using EO.WinForm;
namespace EOTestFileMenu
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(CreateNewForm());
}
private static Form CreateNewForm()
{
var form = new Form
{
Size = new System.Drawing.Size(1280, 1024)
};
var menuStrip = new MenuStrip
{
Dock = DockStyle.Top
};
var soundMenuItem = new ToolStripMenuItem("Sound", null, new ToolStripMenuItem("Switch on"));
var settingsMenuItem = new ToolStripMenuItem("Settings", null, soundMenuItem);
menuStrip.Items.Add(settingsMenuItem);
form.Controls.Add(menuStrip);
var webView = new WebView
{
Url = "https://www.google.com",
};
var webControl = new WebControl
{
Dock = DockStyle.Fill,
WebView = webView
};
var textBox = new TextBox
{
Dock = DockStyle.Bottom
};
form.Controls.Add(webControl);
form.Controls.Add(textBox);
return form;
}
}
}
We built a Release build for the x64 platform and executed the executable found in the bin\x64\Release folder, just to be sure that Visual Studio has no influence on it. We built it using Microsoft Visual Studio 2017 Version 15.0.28307.586.
We also get the following license message (as we have not entered the license code in our test application)
Quote:
A license is needed for the following Essential Objects product(s) (V2019.1.95.0):
- EO.WebBrowser for .NET
When we execute the program we have the following paths.
Path 1, focus inside the Windows Forms textbox at the bottom fo the form:
1. Press Alt: The "Settings" menu gets highlighted.
2. Press S: The "Settings" menu opens and the "Sound" menu gets highlighted.
3. Press S: The "Sound" menu opens and both the "Sound" menu and "Switch on" menu item get highlighted.
This is the expected behavior.
Path 2, focus inside the textfield (searchbar) of Google, so within the webbrowser:
1. Press Alt: The "Settings" menu gets highlighted.
2. Press S: Both the "Settings" menu and the "Sound" menu open and the "Sound" menu and "Switch on" menu item get highlighted.
This is not the expected behavior. While testing this I just now noticed that this only reproduces if you pause between pressing Alt and pressing S.
We hope that this gives you enough information to reproduce our issue.