harsh handling of format version bumps
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gEDA project |
New
|
Wishlist
|
Unassigned | ||
pcb |
New
|
Undecided
|
Unassigned |
Bug Description
The current handling of file format mismatches is a pain in daily use. If PCB thinks, the file format of the file given on the command line is too old, it silently opens a new, empty layout. (Yes, there is a message in the log window. But you have to actively open the window to get a glimpse on it. If I open a layout and get presented an empty canvas, my panic level raises by an order of magnitude...
Suggestions:
1) Only bump the required format version if older versions of PCB are known to choke on the new format.
2) Pop up a big, fat error message in the GUI, rather than just drop a note in the log window.
3) Do not automatically open a new layout.
4) Ask the user what to do:
a) open the PCB anyway
b) present a help message that gives details on the change of format
c) quit
5) Make the parser more forgiving. E.g. issue warnings when it hits syntax, it does not understand but don't completely quit working. Yes, this is a pain to implement. But it will cushion the strain on users when pcb format will be bumped seriously.
---<)kaimartin(
Changed in geda-project: | |
importance: | Undecided → Wishlist |
tags: | added: file-format |
The first part of this suggestion is introduced with commit d2ae471045ac81b 6e97d5b44186008 1bc95eb2e7 by DJ Delorie on Mon, 2 May 2011