You are right, there is an error in TJvTrayIcon . If AnimateToTray is in the Visibility options, it does not restore the states of Application.ShowMainForm and Application.MainForm.Visible . It shows a window, but "Visible" is still false for your form after it is restored. This leads to any attempt to show that hidden controls fail because their parent does not seem to show.
Bug fixes are beyond the scope of this answer. For workaround:
Application.ShowMainForm := True; Visible := True;
somewhere. For a quick test in the click1 event before showing the frame. But you will want to place it after restoring the main form for the absence of other side effects.
source share