http://bugs.winehq.org/show_bug.cgi?id=15069
--- Comment #34 from ratmaster210@yahoo.com 2009-09-27 12:54:21 --- (In reply to comment #32)
I think these are two separate problems:
- The Delphi apps minimize just fine. However on app restore WM restores the
TApplication window, after app itself "hide" it. This window has 0x0 size but has WS_VISABLE style. So it should not be managed. Or even mapped I think.
- FireFox minimization actually does work, if it has focus. But fails when
it's not focused. I'm guessing it refocuses itself at the wrong time.
So the only "common" part that I see is the fact that some events do happen at the wrong time. Not really sure how to fix it. 1) could be fixed by not unmapping window that is 0 size, even if X/WM wants to map it. 2) probably needs a SetFocus "filter" of sorts when app is minimizing. Needs more testing.
I'm not familiar with Delphi apps but I do use firefox. I don't see how focusing has anything to do with it. I just tried firefox 3.5 using wine and it didn't matter if firefox had focus or not, I couldn't minimize. There any fix a user can use or should I wait for the bug to be fixed?