diff --git a/checkin_notes b/checkin_notes index fc2baacf23..bce45e4128 100755 --- a/checkin_notes +++ b/checkin_notes @@ -24510,3 +24510,16 @@ David 10 Feb 2005 boinc_cmd.C (new) gui_rpc_client.C,h gui_test.C (removed) + +Rom 10 Feb 2005 + - Bug Fix: Inconsistant window state was causing the BOINC Manager to + be blank on startup, basically either wxWidgets or Windows wasn't + properly dealing with the Window state changes and the client + would believe it was not being displayed when in fact it was on + the screen. When the window was hidden from view, it would + skip updating any of the controls. + + clientgui/ + BOINCGUIApp.cpp + BOINCTaskBar.cpp + MainFrame.cpp diff --git a/clientgui/BOINCGUIApp.cpp b/clientgui/BOINCGUIApp.cpp index 8cc57d7ca6..225a3d3dd5 100644 --- a/clientgui/BOINCGUIApp.cpp +++ b/clientgui/BOINCGUIApp.cpp @@ -156,6 +156,12 @@ bool CBOINCGUIApp::OnInit() SetTopWindow(m_pFrame); if (m_bFrameVisible) m_pFrame->Show(); + else + { + m_pFrame->Show(); + m_pFrame->Show(false); + } + return true; } diff --git a/clientgui/BOINCTaskBar.cpp b/clientgui/BOINCTaskBar.cpp index 39965fed70..3a3f067ce0 100644 --- a/clientgui/BOINCTaskBar.cpp +++ b/clientgui/BOINCTaskBar.cpp @@ -83,7 +83,10 @@ void CTaskBarIcon::OnOpen( wxCommandEvent& WXUNUSED(event) ) wxASSERT(wxDynamicCast(pFrame, CMainFrame)); if ( NULL != pFrame ) + { pFrame->Show(); + pFrame->SendSizeEvent(); + } } @@ -277,7 +280,10 @@ void CTaskBarIcon::OnLButtonDClick( wxTaskBarIconEvent& event ) wxASSERT(wxDynamicCast(pFrame, CMainFrame)); if ( NULL != pFrame ) + { pFrame->Show(); + pFrame->SendSizeEvent(); + } }