I personally wouldn't care: whatever is simpler to implement, I'd say.
I will go with the mainwindow approach because I think it is easier to recognize for the users.
- Dropping project files would open the project as they opened by
the file menu
Before implementing that, I think it would be useful to combine the
"open layer(s)" and "open project" into a single "open" functionality.

If the file starts with "(gerbv-file-version", it's a project file;
otherwise treat it as a layer file.
I have started to implement it. Do you want to check the file contents or the extension check (*.gvp) could be sufficient?
What if the same layer file had been opened multiple times (e.g. as
part of a panel)?  Reload all of them?
I think when opening an already opened layer file a dialog should be shown with the following options:
- Reload the affected layer(s)
- Open as a new layer
- Skip


In my opinion we should be KISS here: give option to reload all instances (or open as new).

Technically the reload only matters if the file modified. I do not feel as real life scenario after modifying a gerber only reload one of the instances in the viewer.

Best regards,
Miklos Marton


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Gerbv-devel mailing list
Gerbv-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gerbv-devel

Reply via email to