MicrosoftEdge / MicrosoftEdge/WebView2Feedback

WebView2 Tooltips

Open
#3,826 3 comments 1 reaction 1 assignee View on GitHub

Nobody has claimed this yet.

bug tracked
Dominant language
PowerShell
Stars
526
Forks
67
PR merge metrics
No merged PRs in 30d

Description

Description
When WebView2 window stretched across two monitors, tooltips of DIV displayed in first monitor gets displayed in left edge of second monitor.

Version
SDK: 1.0.1901.177
Runtime: 115.0.1901.203
Framework: Win32
OS: Win11/Win10

Regression
Was this working before but has regressed? no
If yes, what version did this last work on? na

Repro Steps

  1. Host WebView2 on a Win32 window
  2. Navigate to a page having DIV tooltips based on DIV's "title" attribute
  3. Resize the window to stretch it across two display monitors and try to hover over the DIV to confirm display location of the tooltip

Expected behavior: Tooltip will display in the same position as the corresponding DIV is displayed.

Actual behavior: When the window is positioned based on first monitor, tooltip location is good (i.e. same location as the DIV location). But as soon as the second monitor takes over the window as it's major portion moved over to second monitor (eg: MonitorFromWindow starts to return handle to second monitor or the window starts to honor DPI of second monitor), the tooltip displayed in left-most edge of the second monitor even though the DIV is still in first monitor.

Additional Info
image

AB#47053644

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.