MicrosoftEdge / WebView2Feedback

Feedback and discussions about Microsoft Edge WebView2
https://aka.ms/webview2
444 stars 53 forks source link

webview2 screen sharing window size[Feature]: #4192

Open lsyfg opened 10 months ago

lsyfg commented 10 months ago

Describe the feature/enhancement you need

I would like to provide screen sharing window size and coordinates, but when using applications such as WPF window loading, it is not possible to fill the entire window and there is extra space

The scenario/use case where you would use this feature

Using WPF or Winform applications to load forms that cannot be filled

How important is this request to you?

Impactful. My app's user experience would be significantly compromised without it.

Suggested implementation

No response

What does your app do? Is there a pending deadline for this request?

No response

AB#49176470

victorhuangwq commented 10 months ago

I would like to provide screen sharing window size and coordinates, but when using applications such as WPF window loading, it is not possible to fill the entire window and there is extra space

Could you rephrase / clarify what you are asking for here? It would be good if you have some diagrams if that helps

lsyfg commented 10 months ago

WPF application form loading webview2 screen sharing window, unable to fill WPF form due to unknown window size and coordinates image

lsyfg commented 10 months ago

Can screen sharing windows obtain form size and coordinates?

lsyfg commented 10 months ago

The WPF application form loads a screen sharing window. Due to the inability to obtain the size and coordinates of the screen sharing window, the form cannot be filled in the application form, leaving extra space. How to obtain the size and coordinates of the screen sharing window? QQ截图20231201091325

victorhuangwq commented 10 months ago

@srwei do you know if it's possible to obtain the size of the screen share popup right now?

lsyfg commented 10 months ago

@srwei My application form size is fixed and not full screen. It only loads screen sharing windows, I need to know its size to fill my form

lsyfg commented 9 months ago

@victorhuangwq Hi, can we currently achieve the window size for obtaining screen sharing。I really need this feature because it directly affects aesthetics and effectiveness

lsyfg commented 9 months ago

@victorhuangwq Is there a plan to implement this issue in the new version

lsyfg commented 7 months ago

@victorhuangwq Is there a plan to implement this issue in the new version

victorhuangwq commented 7 months ago

Tracking it as it is not possible at the moment

srwei commented 7 months ago

@lsyfg Sorry for the late response. There is currently no way to get the window size for the screen capture UI. We will look into adding this as part of the feature to have a custom UI for Screen Capture in the future.

lsyfg commented 5 months ago

I'm looking forward to it. You've worked hard and I wish you all the best in your work