← All bug reports

FS#1192print Dialog not shown on FreeBSD

Type
Bug
Status
Closed
Resolution
Fixed
Category
QCAD (main)
Severity
Low
Priority
Low
Reported version
3.9.1
Operating system
Other (Unsupported)
Reported
2015-03-15 by bsdphk
Closed
2015-03-15 by andrew

I compile git/trunk on FreeBSD, and the print dialog does not come up.

I tried the obvious fix in scripts/File/Print/Print.js:

  if (RS.getSystemId()==="osx" || RS.getSystemId()==="linux" || RS.getSystemId()==="freebsd") {

But that didn't work.

Maybe the test is better if reversed ?

  if (RS.getSystemId()==="win") {
      // slot 'dummy' is never called:
      Print.printDialog.open(this, "dummy");
  } else {
      Print.printDialog.exec();
  }

(PS: This should be "Operating System = FreeBSD" but that's not in the pull-down menu)