← All bug reports

FS#2407App stalling for Trace Bitmap with no image in selection or a mixed selection

Type
Bug
Status
Closed
Resolution
Fixed
Category
QCAD (main)
Severity
Low
Priority
Low
Reported version
3.27.8
Operating system
All
Reported
2022-10-10 by CVH
Closed
2022-10-10 by andrew

Andrew,

Trace Bitmap requires a selection.
QCAD stalls when the first entity id is not an RImageEntity .

The prevImageEntity.getFileName() in the beginEvent will throw an exception for all but an RImageEntity.

The odds are against us that in a multiple selection an image is the first id.

I think you need to filter on image entities like later in the applyOperation function.

Regards,
CVH