Improve handling of unrecognized files

Bug #1828237 reported by Jon Evans
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KiCad
New
Unknown

Bug Description

It is possible to send "wrong" files to KiCad apps via the command line.
See: https://bugs.launchpad.net/kicad/+bug/1390561
Another user recently reported the same thing:
They were trying to open a PCB via command line, and did `kicad <filename.kicad_pcb>` instead of `pcbnew <filename.kicad_pcb>`

The KiCad project manager does not handle this well (spits out a confusing parser error)

We should at least give a slightly better error here "This doesn't look like a KiCad project file" or something like that. We could also go beyond that and (a) either recognize other KiCad file types and alert the user to how to open them, or (b) just directly launch the relevant KiCad program and pass the desired file to it.

Jon Evans (craftyjon)
Changed in kicad:
importance: Undecided → Wishlist
status: New → Triaged
Revision history for this message
KiCad Janitor (kicad-janitor) wrote :

KiCad bug tracker has moved to Gitlab. This report is now available here: https://gitlab.com/kicad/code/kicad/-/issues/2411

Changed in kicad:
status: Triaged → Expired
Changed in kicad:
importance: Wishlist → Unknown
status: Expired → New
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.