ManagedShell
ManagedShell copied to clipboard
The taskbar buttons are not synchronized with the actual active windows.
Bug Reproduction Steps:
- run "notepad.exe" (or other applications)
- apply the following code to the Notepad window:
At this moment, the Notepad button disappears from the Windows taskbar but remains in the CairoShell taskbar.SetWindowPos(hwndNotepad, HWND_BOTTOM, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE | SWP_NOACTIVATE); SetWindowLongPtr(hwndNotepad, GWL_EXSTYLE, notepadExStyle | WS_EX_NOACTIVATE); - close notepad
Finally, the Notepad button still remains in the CairoShell taskbar, but the Notepad process has already terminated.