https://bugs.winehq.org/show_bug.cgi?id=23898
--- Comment #13 from Fincer fincer89@hotmail.com --- Yes, very likely a duplicate. According to @Chituc Georgian this is what actually happens under the hood (quote from here https://bugs.winehq.org/show_bug.cgi?id=41595):
When photoshop Tool window is opened from Windows->Tools , it create 3 windows . All have a style WS_POPUP . The first and second window are containers , the last show the tools.
But when the photoshop main window is minimized , only the last from the 3 windows receive the SW_HIDE message .
For example if i open in photoshop Windows ->Tools ,it create the next windows with next hwnds :
static BOOL send_message() hwnd: 0x808fa static BOOL send_message() hwnd: 0x8049c static BOOL send_message() hwnd: 0x808f6
But when I click the photoshop minimize buton , in photoshop main window ,
static BOOL send_message() is called with info->msg == WM_SHOWWINDOW just for the last hwnd , 0x808f6 ;
I think also the first hwnd (0x808fa) must receive this message too.
Wine must minimze all windows of photoshop when minimize button is pressed , no matter this have 'Override Redirect State: yes' .
-----------------------------------------------------
Also, see comment 76 here: https://bugs.winehq.org/show_bug.cgi?id=29871#c76