← Back to team overview

kicad-developers team mailing list archive

MacOSX - Pcbnew: Refresh issues with onload

 

Pcbnew suffers of weird refresh issues. Those weird refresh issues are evident when loading board files and when cancelling tracks (
http://www.mdx4.org/uploads/elettronics/Kicad/kicad_OSX_onload_issue.tiff ).
This issue is caused by some restriction with wxDC reentrancy.

My proposal is to avoid to cause refresh of the statusbox in RedrawActiveWindow in both WinEDA_ModuleEditFrame and WinEDA_PcbFrame.

Index: tracepcb.cpp
===================================================================
--- tracepcb.cpp	(revision 1680)
+++ tracepcb.cpp	(working copy)
@@ -48,9 +48,9 @@
{
module->Draw( DrawPanel, DC, GR_OR );
}
-
+#ifndef __WXMAC__
Affiche_Status_Box();
-
+#endif
if( DrawPanel->ManageCurseur )
DrawPanel->ManageCurseur( DrawPanel, DC, FALSE );
 
@@ -88,9 +88,9 @@
DrawGeneralRatsnest( DC );
 
GetScreen()->ClrRefreshReq();
-
+#ifndef __WXMAC__ 
Affiche_Status_Box();
-
+#endif
if( DrawPanel->ManageCurseur )
DrawPanel->ManageCurseur( DrawPanel, DC, FALSE );







Follow ups