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

Get access to ICoreWebView2-objects in Edge.java #207

Open
jthier opened this issue Jun 10, 2022 · 0 comments
Open

Get access to ICoreWebView2-objects in Edge.java #207

jthier opened this issue Jun 10, 2022 · 0 comments
Labels
edge Edge Browser enhancement New feature or request Windows Happens on Windows OS

Comments

@jthier
Copy link

jthier commented Jun 10, 2022

Problem:
We use the Edge as our browser in an RCP program and have multiple problems with the default behavior of the browser. Sadly the Edge Object doesn't grant us any useful access to the ICoreWebView2 Objects, which would allow us to react to zoomfactor changes, manipulate the zoomfactor or change the shortcut behavior.

Solution:
Getter methods for the following objects would be necessary to use the Edge-Browser in a convenient way:

  • ICoreWebView2Controller
  • ICoreWebView2Settings

Optional access to the other objects would also be useful:

  • ICoreWebView2
  • ICoreWebView2_2
  • ICoreWebView2Environment2

Examples:
public ICoreWebView2Controller getICoreWebView2Controller() {
return controller;
}
public ICoreWebView2Settings getICoreWebView2Settings() {
return settings;
}

Possible alternatives:
It would also be an idea to enable setter-methods for a lot of variables, but this would be an unneccessary overhead.

@niraj-modi niraj-modi added the Windows Happens on Windows OS label Jun 13, 2022
@niraj-modi niraj-modi added the edge Edge Browser label Jun 20, 2022
@sratz sratz added the enhancement New feature or request label Oct 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
edge Edge Browser enhancement New feature or request Windows Happens on Windows OS
Projects
None yet
Development

No branches or pull requests

3 participants