ckerr

#52000: fix: win: check for valid taskbar handle

Merged
Created: Jun 15, 2026, 1:56:15 PM
Merged: Jun 16, 2026, 2:44:38 PM
4 comments
Target: main

Description of Change

Upstreaming to e/e a fix written by @deepak1556 to address test failures that surfaced in a downstream build.

SetWindowPos() when passed a NULL value to hWndInsertAfter will position the window at HWND_TOP instead of HWND_TOPMOST that can break the assertion loop of w.isAlwaysOnTop in the specs.

Checklist

Release Notes

Notes: Fixed Windows edge case in NativeWindowViews::MoveBehindTaskBarIfNeeded().

Backports

41-x-y
Merged
PR Number
#52023
Merged At
Jun 17, 2026, 11:10:33 AM
Released In
Not yet
Release Date
Not yet
42-x-y
Merged
PR Number
#52022
Merged At
Jun 17, 2026, 11:10:57 AM
Released In
Not yet
Release Date
Not yet
43-x-y
Merged
PR Number
#52021
Merged At
Jun 17, 2026, 11:15:02 AM
Released In
Not yet
Release Date
Not yet

Semver Impact

Major
Breaking changes
Minor
New features
Patch
Bug fixes
None
Docs, tests, etc.

Semantic Versioning helps users understand the impact of updates:

  • Major (X.y.z): Breaking changes that may require code modifications
  • Minor (x.Y.z): New features that maintain backward compatibility
  • Patch (x.y.Z): Bug fixes that don't change the API
  • None: Changes that don't affect using facing parts of Electron