Skip to content

Prevent webview to overlap other controls - #286

Merged
tomaszgolebiowski merged 2 commits into
mainfrom
tg/WebViewUpdate
Jun 16, 2025
Merged

tomaszgolebiowski merged 2 commits into
mainfrom
tg/WebViewUpdate

Conversation

@tomaszgolebiowski

Copy link
Copy Markdown
Contributor

The chat uses WebView2, which has always painted itself as the top window enclosing everything underneath. This was a known issue that, after years, was finally resolved by Microsoft (MicrosoftEdge/WebView2Feedback#286). This PR changes WebView2 controls to the latest version that respects z-order in WPF.

Test plan

Try opening another window above the chat window or docking it to the side of the ide and expanding it over the chat. In either case, the window above the chat should not be overlapped by the chat.

@github-actions

github-actions Bot commented Jun 11, 2025 •

Copy link
Copy Markdown

Test Results

25 tests  ±0   18 ✅ ±0   1m 57s ⏱️ +11s
 1 suites ±0    7 💤 ±0 
 1 files   ±0    0 ❌ ±0 

Results for commit fdbd04e. ± Comparison against base commit a0f4eeb.

♻️ This comment has been updated with latest results.

@PiotrKarczmarz
PiotrKarczmarz self-requested a review June 13, 2025 12:25

@PiotrKarczmarz PiotrKarczmarz left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Also Home/Enter keys looks like working in the chat.

One thing, let's rollback changes in WebviewController.cs - they aren't connected with upgrading WebView2 version, and place them in another "cleaning" PR.

@tomaszgolebiowski
tomaszgolebiowski merged commit e993449 into main Jun 16, 2025
@tomaszgolebiowski
tomaszgolebiowski deleted the tg/WebViewUpdate branch June 16, 2025 06:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants