Weasis
Weasis copied to clipboard
A MPR MIP bug?
Describe the bug. What happened?
Hi,
I am using source code from Dec 27, 2024.
This is how I reproduce the bug:
- Open any DICOM series
- Open MPR
- Set MIP thickness to 20
- Set MIP type to NONE
- Set MIP thickness to 20
- Interface will hang and will not respond to any click for a few seconds.
It seemes calling setSelectedItemWithoutTriggerAction instead of setSelectedItem can fix this, but I am not sure if I am doing it right.
public void setThicknessExtension(int extend) { if (extend > 0 && mprView != null && mprView.mprController.getMipTypeOption().getSelectedItem() == Type.NONE) { mprView.mprController.getMipTypeOption().setSelectedItemWithoutTriggerAction(Type.MAX); } this.thicknessExtension = extend; }
What version of Weasis are you running?
a1eff305d48b0805e433774463d4b8c24842ab08
On which system the problem occurs?
Windows
Relevant log output
Additional contextual elements
No response
Please don't report bugs on features under development that don't refer to the status of the current branch.