refdes labels in new layout can't be moved without restart
Bug #699478 reported by
Jared Casper
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pcb |
Fix Released
|
Medium
|
Unassigned |
Bug Description
The .pcb file that gsch2pcb creates does not have a font in it. When
loading files, the bounding box for all the text is calculated as the
file is read. In the case that there is no font, this is before the
default font is installed, so the bounding box is way too small.
This is remedied by looping through all the text and resetting the
bouding box after the default font is installed (if there was no font
in the file).
Changed in pcb: | |
status: | New → Confirmed |
summary: |
- Fix for pr2976245, refdes labels in new layout can't be mov + refdes labels in new layout can't be moved in new layout without restart |
summary: |
- refdes labels in new layout can't be moved in new layout without restart + refdes labels in new layout can't be moved without restart |
Changed in pcb: | |
milestone: | future-bug-release → next-bug-release |
Changed in pcb: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Hrm, there still appears to be a problem that after loading a file with no font, text not associated with an element is only grabable in a small box in the far left of the text. The bounding box is set correctly, but for some reason you can't grab it anywhere in that box, just on the far left.
Not sure what is going on there, but that may be another bug/patch since the bounding box is indeed being set correctly (verified by putting in a printf when it is set, and by the outline drawn when moving it around).