|
From: Chad P. <par...@gm...> - 2018-02-24 14:40:49
|
** Changed in: pcb
Status: In Progress => Fix Committed
--
You received this bug notification because you are a member of PCB Bug
Team, which is subscribed to pcb.
https://bugs.launchpad.net/bugs/1748679
Title:
Increments are incorrect after loading file
Status in pcb:
Fix Committed
Bug description:
Reported by Richard Rasker on geda-user:
Hello,
PCB appears to have a small bug with sizes and steps, at least when
opening files with metric sizes. Here's how to reproduce it:
- Save a .pcb file with e.g. a 0.1 mm grid setting, and quit PCB.
- Start PCB, and open the file.
- Grid is correctly set at 0.1 mm, units are correctly set to mm as well.
- Press G to increase grid according to step size as defined in File -> Preferences -> Steps for the units used (0.05 mm in my case)
- Grid does NOT increase to 0.15 mm as expected, but to 0.2270 mm - so the imperial step setting is used.
(The same happens with other steps, e.g. line widths -- which actually is more annoying, because I sometimes only notice that I'm using the wrong line width after several minutes' work.)
- Fix: choose View -> Grid Size -> 0.1 mm, and from then on, G (and Shift+G, and L etcetera) behave as expected.
So after start-up, imperial step sizes are used, even if the file
explicitly specifies metric sizes. This is somewhat annoying because
one always has to explicitly set the grid size via the View menu
before doing anything.
Also, it appears that the Route Styles option "Save as Default" for new designs does not work(*). PCB always starts with the same (imperial) Route Styles and default sizes.
This latter is not so much of a problem any more, because I created a script 'pcbcreate' which takes a project name, and then copies PCB, gschem and BOM template files to the project directory, with several attributes already set correctly.
*: This has been mentioned here before, IIRC
Anyway, it's not really a big deal, just a small bug...
Best regards,
Richard
To manage notifications about this bug go to:
https://bugs.launchpad.net/pcb/+bug/1748679/+subscriptions
|