http://bugs.winehq.org/show_bug.cgi?id=11733
Summary: App main window fails to remove task bar entry on minimizing Product: Wine Version: 0.9.55. Platform: PC URL: http://wxtide32.com/ OS/Version: Linux Status: UNCONFIRMED Severity: minor Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: n5470@pinefields.com
Under Windows WXTide32 minimizes its main window to a system tray icon, *if* the icon is selected as "always" or "When minimized". Under Wine, the icon appears as controlled by the preference choices ("always", "When minimized", or not at all if not selected). However, the main window always minimizes to its task bar entry and does not minimize the tray icon under any circumstance tested to date.
This is not a debilitating problem as far as using the app goes(*). On restoring the window by clicking on its taskbar entry, a window frame and appropriate decorations (minimize, maximize, and close icons created by the window manager [e.g., Gnome or KDE managers], for example) are drawn. The interior of the window contains whatever was inside the area outlined by the window frame, prior to its being drawn. More importantly, no tide graphs are drawn. This is consistent with the app's behavior under Windows, where asking the app to draw, again, the last graph displayed is treated as a "no action" event.
From a user interface design standpoint, this "no action" action is flawed (I
see no reason not to restore the same graph twice or more in a row) but it's what the app's author wrote and it's not about to be changed. However, poor UI design is not the central issue here.
The central issue is simply: does Wine support "minimize to tray" and, if it does, why does this not happen with WXTide32. If "minimize to tray" is not presently supported, development of such support seems indicated. Further, if "minimize to tray" is supported under Wine and doesn't happen, then WXTide32 has encountered a bug.
See the attached images in Bug 11563 for examples of WXTide32 under Windows(XP), and under Wine (0.9.56).
- - - (*) The workaround for the "restore to an empty window" problem is to use an existing popup menu,tied to the tray icon, to open the window with any other format than the one checked in the list of four formats. With the window opened and filled, right click in the window and pick the original, desired format, which is then displayed as expected.