WinForms - Hot keys are being swallowed, for example: System.Windows.Forms.Keys.LaunchApplication2
- Dominant language
- C#
- Stars
- 10.3k
- Forks
- 2.9k
- Avg merge
- 5d 22h
- Merged PRs (30d)
- 4
Description
- **What version of the product are you using?**
- I'm running CefSharp.WinForms.Example from master branch commit 1155ef107c0d7464feec5c0db0ed90bbddccad64.
- This example is pulling NuGet packages:
- cef.redist.x64 79.1.31
- cef.resdit.x86 79.1.31
- I can reproduce with many other version of CefSharp (75, 73, etc.)
- **What architecture x86 or x64?**
- x86 and x64
- **On what operating system?**
- Windows 10
- **Are you using `WinForms`, `WPF` or `OffScreen`?**
- WinForms
- **What steps will reproduce the problem?**
1. Launch the [CefSharp.WinForms.Example](https://github.com/cefsharp/CefSharp/tree/master/CefSharp.WinForms.Example)
2. Press the Calculator, Browser Home or Launch Mail keys. Not every keyboard has hot keys, but the [Natural Ergonomic Keyboard 4000](https://www.microsoft.com/accessories/en-us/products/keyboards/natural-ergonomic-keyboard-4000/b2m-00012) is an example of a keyboard that has these keys.
3. Notice that the calculator, the default browser or the default email reader are not launched.
4. Change to a non-CefSharp application and press these keys again. Calculator, default browser and default email reader are launched.
- **What is the expected output? What do you see instead?**
- CefSharp should NOT swallow these keys.
- **Please provide any additional information below.**
- No logs related using `settings.LogSeverity = LogSeverity.Verbose`
- **Does this problem also occur in the `CEF` Sample Application from http://opensource.spotify.com/cefbuilds/index.html?**
- To compare with WinForms run cefclient --multi-threaded-message-loop
- The issues does not reproduces with `cef_binary_79.1.31+gfc9ef34+chromium-79.0.3945.117_windows64_client.tar.bz2`
Contributor guide
Research direction
Start by reproducing the Calculator, Browser Home, and Launch Mail key behavior in CefSharp.WinForms.Example on Windows 10, then compare it with cefclient using the multi-threaded message loop. Done means these keys are no longer swallowed in the WinForms example and launch their associated Windows applications.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100