← Back to team overview

kicad-developers team mailing list archive

Last change about listbox layers creates flicker in main horizontal

 

Dick,
You wrote (in changelog)

* Layer names were not being set into the htoolbar listbox properly if the
BOARD was loaded via the command line as happens when kicad chain loads
pcbnew. Also, layer names were not being set if a second board was loaded that had the same number of layers as the previous board. The solution was
to comment out the listbox rebuild test in WinEDAChoiceBox*
WinEDA_PcbFrame::ReCreateLayerBox( WinEDA_Toolbar* parent )

Unfortunaltely, comment out the listbox rebuild test creates a problem under Windows. Because without this test, the listbox is rebuild when the mouse is moving, the rebuild creates a very important flicker when displaying the layer list. So the listbox must be rebuild only if necessary (at least, not for each mouse move event). This is not a calculation time problem, only a display problem for the main horizontal toolbar.

Thanks,

--
Jean-Pierre CHARRAS
Maître de conférences
Directeur d'études 2ieme année.
Génie Electrique et Informatique Industrielle 2
Institut Universitaire de Technologie 1 de Grenoble
BP 67, 38402 St Martin d'Heres Cedex

Recherche :
Grenoble Image Parole Signal Automatique (GIPSA - INPG)
46, Avenue Félix Viallet
38031 Grenoble Cedex






Follow ups