← Back to team overview

kicad-developers team mailing list archive

Bug #793420 Modifying a board preferences don't set the 'unsaved' flag

 


Hi 

https://bugs.launchpad.net/kicad/+bug/793420 

In PcbNew there
is a menu "Dimensions" with the sub menues
 Grid
 Texts And Drawings

Pads
 Pad Mask Clearance
 Diffrential Pairs
 Save 

Kicad uses a project
file .pro and the pcbnew uses .kicad_pcb 

B)
 All the values in
Grid/Pads/Pad Mask Clearance/Differental Paris
 are saved in the .pro
file and does not affect the .kicad_pcb 

A)
 All the values in "Texts
And Drawings" is on the other hand
 saved in the .kicad_pcb file. 

This
mean that any changes in B) must be followed by using the "Save" menu

choice, however using Save will not save any changes made in B) 

But
any changes made in B) will not "modify" pcbnew and therefore
 these
changes will be lost if the pcb is not modified in any other wy
 like
adding a track. 

The follwing patch will "modify" the pcb if B) is
modified
 so the user can either save the changes in normal "pcb way"

or, at least, get a notification of unsaved data if exiting pcbnew
without saving 

 bzr push lp:~stol/kicad/bug793420 [1]
 Using default
stacking branch /+branch-id/324654 at chroot-67822224:///~stol/kicad/

Created new stacked branch referring to
/+branch-id/324654.

Links:
------
[1]
https://bugs.launchpad.net/+branch/%7Estol/kicad/bug793420