Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A MPR MIP bug? #633

Open
liangaili opened this issue Feb 12, 2025 · 1 comment
Open

A MPR MIP bug? #633

liangaili opened this issue Feb 12, 2025 · 1 comment

Comments

@liangaili
Copy link

Describe the bug. What happened?

Hi,

I am using source code from Dec 27, 2024.

This is how I reproduce the bug:

  1. Open any DICOM series
  2. Open MPR
  3. Set MIP thickness to 20
  4. Set MIP type to NONE
  5. Set MIP thickness to 20
  6. 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?

a1eff30

On which system the problem occurs?

Windows

Relevant log output

Additional contextual elements

No response

@nroduit
Copy link
Owner

nroduit commented Feb 12, 2025

Please don't report bugs on features under development that don't refer to the status of the current branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants