MicrosoftEdge / MicrosoftEdge/WebView2Feedback
window.moveTo does not work
Nobody has claimed this yet.
- Dominant language
- PowerShell
- Stars
- 526
- Forks
- 67
- PR merge metrics
- No merged PRs in 30d
Description
Description
window.moveTo() does not work in WebView2. It works in browsers, but only in certain contexts (e.g. popup windows, but not browser tabs).
Version
SDK: 1.0.774.44
Runtime: Stable 89.0.774.68
Framework: Win32
OS: Windows 10 20H2
Repro Steps
I just took the getting started guide: https://docs.microsoft.com/en-us/microsoft-edge/webview2/gettingstarted/win32
And set the navigation URL to this repro page: https://downloads.scirra.com/labs/bugs/window-moveto.html
Clicking the button calls window.moveTo(10, 10). This does not work in WebView2. Perhaps the webview could automatically position its parent window (if we tell it which window that is and allow it).
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the Win32 getting started guide and run the linked window.moveTo repro page in the stated WebView2 runtime. Compare the behavior with browsers and determine whether the reported call should move the host window; the work is done when the behavior is resolved or its supported limitation is clearly established.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- desktop-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100