The current “minimize to tray” implementation has problems on Windows. It converts the window to a tool window, but when it is brought back it is not converted back to a normal window, causing strange behavior (such as an ugly title bar), as tool windows don’t get a ChangeEvent on unminimization.
This implements the eventual suggestion from the Qt forums http://qt-project.org/forums/viewthread/4423/P15 .
I’ve tested it on Ubuntu and Windows (XP) and it works there. Can someone test it on KDE please? @sje397?
If we don’t manage to get it right this time I’m going to remove the “minimize to tray” functionality completely (but not “Minimize on close” of course, because that works fine…). Or maybe keep it only on Windows.