DRC reports have no file name and weird extension handling
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
KiCad |
Fix Released
|
Low
|
Unassigned |
Bug Description
If I start a new board and then open the DRC Control form, executing either "Start DRC" or "List Unconnected" will create a report. It's these report filenames that seem to reveal a bug.
The report file is ".rpt", with no file name. So I can't tell to which option the report file pertains in case Pcbnew would ideally be creating different report files for each option. (This may no intentional, I don't know.)
Also, if I create a report again (either one) the resulting report is named ".rpt.rpt", again with no file name but weirdly repeating the extension. Creating further reports overwrites this file name, and even if I delete both report files I must invoke Pcbnew again to avoid overwriting this file.
I suspect both resulting file names are an unintentional bug, but I don't know if there should ideally be different report files for each option in this dialog.
Application: kicad
Version: 4.0.3-stable release build
wxWidgets: Version 3.0.2 (debug,
Platform: Windows 8 (build 9200), 64-bit edition, 64 bit, Little endian, wxMSW
Boost version: 1.57.0
I reported what I think is a similar bug earlier - to trigger, you need a NEW session and no active File name.
Started like that, Windows has the wrong defaults in DRC, and it will try to save to \Program Files\... spitting an error.
If you save the design as something, that updates the default names & paths, & this issue goes away.
I thought this was fixed in a june Build, but the build I changed to r7005, seems to have back again
messages around trying to write to \Program Files\ - FWIR, it was windows only.