Skip to content

Fix several issues related to imageseries#1991

Open
psavery wants to merge 1 commit intomasterfrom
image-series-fixes
Open

Fix several issues related to imageseries#1991
psavery wants to merge 1 commit intomasterfrom
image-series-fixes

Conversation

@psavery
Copy link
Copy Markdown
Collaborator

@psavery psavery commented Mar 27, 2026

  1. The image series slider at the bottom no longer has a fixed minimum width. Previously, this could make the GUI take up more horizontal space than is available on a monitor, and would not allow you to resize. It is better if it just takes up the amount of available width, and allow the window to be resized, rather than forcing a minimum width.

  2. The omage label now only takes up the maximum amount of space that it could take up for the particular imageseries that was loaded. Previously, it would take up potentially more space than would be needed. Now, we iterate through the possibilities and determine the max space.

  3. Render flash in the raw view when changing image series frames is now fixed. It was only present for the raw view because the raw view is loaded synchronously in the main thread (as opposed to the other views which are loaded in a background thread).

  4. Remove the new_images_loaded connection in the rotation series overlays and instead call the relevant function from the main window. Since the rotation series overlays are not QObjects, they would not disconnect properly when they were deleted. Iterating through them in the main window fixes this issue.

Fixes: #1990

1. The image series slider at the bottom no longer has a fixed minimum width.
Previously, this could make the GUI take up more horizontal space than is
available on a monitor, and would not allow you to resize. It is better if it
just takes up the amount of available width, and allow the window to be resized,
rather than forcing a minimum width.

2. The omage label now only takes up the maximum amount of space that it could
take up for the particular imageseries that was loaded. Previously, it would
take up potentially more space than would be needed. Now, we iterate through
the possibilities and determine the max space.

3. Render flash in the raw view when changing image series frames is now fixed.
It was only present for the raw view because the raw view is loaded
synchronously in the main thread (as opposed to the other views which are
loaded in a background thread).

4. Remove the `new_images_loaded` connection in the rotation series overlays and
instead call the relevant function from the main window. Since the rotation series
overlays are not QObjects, they would not disconnect properly when they were
deleted. Iterating through them in the main window fixes this issue.

Signed-off-by: Patrick Avery <patrick.avery@kitware.com>
@psavery
Copy link
Copy Markdown
Collaborator Author

psavery commented Mar 27, 2026

@saransh13 I'm pretty sure this should fix #1990. Can you verify?

@psavery psavery requested a review from saransh13 March 27, 2026 18:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Main plot window resizing when using Simple Image series

1 participant