I cannot duplicate this either on win 7 pro 64-bit using a 32 and 64 builds of kicad. I tried using the open gerber dialog from both the menu and the toolbar, entries in the mru list, and mixing them up. Everything worked as expected.
On 2/27/2018 9:33 AM, Jon Evans wrote: > This is so strange. I just installed the nightly build on a Windows > machine just to see if this is a Windows specific problem, and I still > don't see it. > > What I did: > > 1) Start GerbView (in OpenGL mode) > 2) Load one file (using File->Open Gerber File...) > 3) See that file appears on Layer 1 > 4) Load another file (without clicking anything in the layer manager) > 5) Second file appears in Layer 2, and all colors and file names are > correct. > > Regarding your last point, I think by default the active layer is set to > one past the last one loaded, so if you load files in sequence, they do > not overwrite each other, but if you click on a layer in the layer > manager (now there is a triangle indicator next to it) and then load a > file, it will replace the selected layer. > > I would much appreciate if anyone who can reproduce this can do any > debugging to see what is going on, since I can't reproduce it. > > I would expect that: > > 1) in GERBVIEW_FRAME::Read_GERBER_File() the first call to > GetActiveLayer() returns one higher than the last layer you loaded > 2) then a few lines down, GetGbrImage( layers ) returns NULL and a new > image is created. > > > -Jon > > On Tue, Feb 27, 2018 at 3:09 AM, jp charras <jp.char...@wanadoo.fr > <mailto:jp.char...@wanadoo.fr>> wrote: > > Le 27/02/2018 à 03:17, Jon Evans a écrit : > > Clemens, I still can't reproduce this. > > Can anyone else reproduce the layer manager in GerbView getting out of > sync with the loaded files? > > Yes, I can easily reproduce it ( OpenGL engine only ): > > It happens when files are loaded one after the other: > Run Gerbview > Load one file: no problem: the layer manager shows it. > The load a second file: incorrect loading with 2 issues: > - the second file is shown in first place in layer manager (it is > expected to be shown in the second > place) and the first file is shown in the second place. > - the color of items is the same (the first graphic layer) for all > loaded files in GAL mode. > (However, the legacy mode and the Cairo mode shows the right colors) > > When layers are loaded all in once, this issue does not exist. > > Also after load a file (and when starting Gerbview) the icon showing > the active layer is not displayed. > This is annoying because when loading an other file, it is loaded on > the active layer, and if the > active layer indicator is not shown, you don't really know what > happens when loading this file. > (You can replace a previously loaded file, an this is not always wht > you want) > > > > > > On Mon, Feb 26, 2018 at 7:11 PM, Clemens Koller <c...@embeon.de > <mailto:c...@embeon.de> <mailto:c...@embeon.de > <mailto:c...@embeon.de>>> wrote: > > > > Hello, Jon! > > > > I've tried the Gerber files from the KiCad source tree. The > behaviour is also erratic and > > reproducible. > > Try to load i.e. .../gerber_test_files/test-* files and then load > aperture* files and then Ucamco* > > > > It seems that filenames in the Tab View position 1 + 2 are stuck > and new filenames are shown on > > position 3++. > > > > Regards, > > > > Clemens > > > > -- > Jean-Pierre CHARRAS > > _______________________________________________ > Mailing list: https://launchpad.net/~kicad-developers > <https://launchpad.net/~kicad-developers> > Post to : kicad-developers@lists.launchpad.net > <mailto:kicad-developers@lists.launchpad.net> > Unsubscribe : https://launchpad.net/~kicad-developers > <https://launchpad.net/~kicad-developers> > More help : https://help.launchpad.net/ListHelp > <https://help.launchpad.net/ListHelp> > > > > > _______________________________________________ > Mailing list: https://launchpad.net/~kicad-developers > Post to : kicad-developers@lists.launchpad.net > Unsubscribe : https://launchpad.net/~kicad-developers > More help : https://help.launchpad.net/ListHelp > _______________________________________________ Mailing list: https://launchpad.net/~kicad-developers Post to : kicad-developers@lists.launchpad.net Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp