napari / napari-animation

A napari plugin for making animations
https://napari.github.io/napari-animation/
Other
76 stars 27 forks source link

Grayscale and icons glitching after first recorded video frame #123

Closed kephale closed 2 years ago

kephale commented 2 years ago

I'm working on https://github.com/napari/napari/issues/4969, but am having some issues with the vanilla napari-animation on my M1. I am using the latest main of napari-animation and the latest main branch of napari.

When recording one of the napari-animation examples (https://github.com/napari/napari/issues/4969#issuecomment-1224953981)...

The first frame records well:

image

Then it becomes grayscale and some of the UI icons seem to go out of place:

image

@alisterburt does this happen on your M1 as well?

alisterburt commented 2 years ago

hey @kephale ! Can you try pulling from main and seeing if this still happens? I think what you're seeing might be the result of #111 not being fixed in the released version - I'm planning to spend a bit of time on this repo over the next couple evenings so will look into it more closely if it's still causing you trouble on main

alisterburt commented 2 years ago

side note: is this normal for you?

image
kephale commented 2 years ago

Hmm, I'm already working from main (commit a9555223bc7ca4cbeb5947d3d77e7ede056d6075).

alisterburt commented 2 years ago

eep, will investigate then - I developed on my M1 but under rosetta, will test natively

kephale commented 2 years ago

w.r.t. the question about the layout of the layer controls, the UI normally looks reasonable. Before recording that my napari was quite small, so maybe the layout didn't quite restore properly when running the script this time. I'm having a hard time recreating this interactively/manually though.

alisterburt commented 2 years ago

interesting, thanks! :)

kephale commented 2 years ago

It might be an issue with the Labels layer UI. If I add a Points layer that is active when I'm recording, then the UI looks normal.

image
alisterburt commented 2 years ago

closed by #126