Open Gilfoylex opened 3 years ago
I can duplicate this problem at will in .NET 5, and it's been a bug since NET Framework 4.*. It happens when I try to persist a window as minimized then set it to minimized as soon as possible on launch. I can never restore it again unless I explicitly select the Restore item on the window's system menu; clicking the Taskbar button produces nothing,
I can duplicate this problem at will in .NET 5, and it's been a bug since NET Framework 4.*. It happens when I try to persist a window as minimized then set it to minimized as soon as possible on launch. I can never restore it again unless I explicitly select the Restore item on the window's system menu; clicking the Taskbar button produces nothing,
It may not be a wpf problem, I tried using the win32 api to reproduce the problem, the main window minimises its sub-windows only when the main window is minimised, the sub-windows of the sub-windows cannot be minimised.
Security issues and bugs should be reported privately, learn more via our responsible disclosure guidelines.
Problem description: My App have three window: MainWindow WindowA WindowB, WindowB.Owner = WindowA, WindowA.Owner = MainWindow, when I run this app in Adminstrator mode, First I click on the minimize button to minimize the MainWindow(WindowA and WindowB also minimize ), then I click icon in taskbar, MainWindow cannot be restored。if run this app in Normal mode (not Administrator), everything is Ok.
Actual behavior: Clicking on the taskbar icon window does not respond
Expected behavior: Window display restored
Minimal repro: