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

Selecting a volume in the inspector is very slow, triggers Running extension SwingVolumeProperties #606

Open
smlpt opened this issue Sep 17, 2024 · 1 comment
Labels

Comments

@smlpt
Copy link
Contributor

smlpt commented Sep 17, 2024

When selecting any object that that is not a volume, it gets selected almost immediately. When clicking on a volume object, Running extension SwingVolumeProperties is logged and it takes 4-5 seconds before the volume settings are shown; while waiting, the UI is frozen.

Maybe this is caused by the histogram being recalculated internally, even if it is not shown?

@smlpt smlpt added the bug label Sep 17, 2024
@moreApi
Copy link
Member

moreApi commented Sep 17, 2024

At least looking at this https://github.com/scenerygraphics/sciview/blob/e9ace2b470832b0bcaad381f3a69f04a5d80156e/src/main/kotlin/sc/iview/commands/edit/SwingVolumeProperties.kt it seems the histogram generation should not be triggerd by accident.

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

No branches or pull requests

2 participants