PolarizedLightFieldMicroscopy / napari-LF

Light field imaging plugin for napari
BSD 3-Clause "New" or "Revised" License
9 stars 3 forks source link

Animation for Presets and Comments fields is glitchy #30

Closed gschlafly closed 1 year ago

gschlafly commented 1 year ago

Description

The CollapsibleBox method works great for minimizing the space that the Presets and Comments fields consume within the widget. However, the animation is glitchy, as shown in the screen recording below.

napari-LF collapsible presets

Files

https://github.com/PolarizedLightFieldMicroscopy/napari-LF/blob/1cc187856aa351e8041b799eb10574338decd67d/src/napari_lf/_widgetLF_gui.py#L1172 https://github.com/PolarizedLightFieldMicroscopy/napari-LF/blob/1cc187856aa351e8041b799eb10574338decd67d/src/napari_lf/_widgetLF_gui.py#L1767-L1837

Solution ideas

https://user-images.githubusercontent.com/23206511/215195478-71a3448d-79fe-4784-92ef-2a98cab2eb4a.mp4

amitabhverma commented 1 year ago

That jitter looks so much better on your end, here's mine.. will look into your suggestion.

ice_video_20230127-161442.webm

haesleinhuepf commented 1 year ago

Hi all,

I presume it's a qt-issue or a napari issue. To know which of the two, I recommend reaching out to the napari-core devs to ask them about their opinion. They have weekly open community meetings, the perfect place to show stuff and ask for support:

https://napari.org/stable/community/meeting_schedule.html

I hope that helps. 🌞

Best, Robert

gschlafly commented 1 year ago

Thanks!! @haesleinhuepf

amitabhverma commented 1 year ago

@gschlafly with the latest GUI changes, this seems more acceptable now.

ice_video_20230131-201422.webm