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

[BUG] manim-slides present not pausing properly between animation #364

Closed
mmcilree opened this issue Jan 29, 2024 · 6 comments
Closed

[BUG] manim-slides present not pausing properly between animation #364

mmcilree opened this issue Jan 29, 2024 · 6 comments
Labels
bug Something isn't working duplicate This issue or pull request already exists qt Related to Qt (or its Python binding)

Comments

@mmcilree
Copy link

Description

Just updated to the latest version and the manim-slides present doesn't seem to be working correctly:

It will play each animation on self.next_slide() as expected but then everything disappears until the next keypress. This happens with any of the examples I've tried, including BasicExample where I see the GrowFromCenter animation, but then the display goes black until I press to continue.

Version

manim-slides, version 5.1.0
Manim Community v0.18.0

Platform

macOS Monterey on an M1 Pro MacBook

Screenshots

No response

Additional information

No response

@mmcilree mmcilree added the bug Something isn't working label Jan 29, 2024
@mmcilree mmcilree changed the title [BUG] main-slides present not pausing properly between animation [BUG] manim-slides present not pausing properly between animation Jan 29, 2024
@jeertmans
Copy link
Owner

Hello, could you provide the source code of your slides?

Also, if you could include a small video recording, that would help!
Thanks!

@mmcilree
Copy link
Author

Had a look at the other issues and haved fixed it by downgrading PySide6 to version 6.5.0.

pip install pyside6==6.5.0 

I guess it's related to #315 and #293

@jeertmans
Copy link
Owner

Aah yeah, nevermind this is probably because you use a Qt version that has this issue :/
You have a flashing black screen at the end of each video?

@jeertmans
Copy link
Owner

Yes indeed @mmcilree, you replied faster than me 😅
I thought that I restricted the PySide6 version correctly.. how did you install PySide6?

@mmcilree
Copy link
Author

I think what happened is I had manim-slides installed previously (via pip, a few months ago), hadn't updated it until today, then did

pip3 install -U manim-slides

which maybe kept the version of PySide6 I had already?

@jeertmans
Copy link
Owner

Actually, as of v5.1, pip install manim-slides does not install PySide6 anymore, so this explains why the version constraint was not applied. To install PySide6, you now need pip install manim-slides[pyside6].

This change was mainly motivated by the fact that correct PySide6 bindings are not available on all platforms and Python versions, and I didn't want to limit people from installing Manim Slides, when they only every only the manim-slides convert features.

I am closing this issue as this is indeed a duplicate of #293, and I already filed an issue to Qt: https://bugreports.qt.io/browse/QTBUG-118501.

Because this is a Qt bug, it is present with both PySide6 and PyQt6 bindings :-/

@jeertmans jeertmans added duplicate This issue or pull request already exists qt Related to Qt (or its Python binding) labels Jan 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working duplicate This issue or pull request already exists qt Related to Qt (or its Python binding)
Projects
None yet
Development

No branches or pull requests

2 participants