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

gif animation remains visible after changing the slide #321

Open
wallscheid opened this issue Jun 22, 2024 · 0 comments
Open

gif animation remains visible after changing the slide #321

wallscheid opened this issue Jun 22, 2024 · 0 comments

Comments

@wallscheid
Copy link

wallscheid commented Jun 22, 2024

Describe the bug
When showing a presentation slide which incorporates a gif animation, the animation sticks to the front of the presentation output screen after moving to the next (or any other) slide. Hence, the animation remains overimposed to the screen after its first appearance and a restart of pympress is required to be able to navigate through the slides normally. The behavior is independent of a specific gif and pops up for arbitrary animations.

Here, an arbitrary minimal example how I integrated the animated gifs into the LaTeX document:

\begin{frame}
 \frametitle{Visualization of the asynchronous IM operation}
    \begin{figure}
        \centering
        \movie{\includegraphics[height=0.85\textheight]{fig/lec06/IM_slip_0_load_angle_90_preview.png}}{fig/lec06/IM_slip_0_load_angle_90_animation.gif}
        \caption{Exemplary IM operation at $\omega=2 \pi \SI{50}{\per\second}$ in motoric operation (positive average torque)}
        \label{fig:Clarke_Park_animation}
    \end{figure}
\end{frame}

Expected behavior
When changing the slides, the animation from the old slide should discontinue being present.

Environment (please complete the following information):

  • OS: Win11
  • Pympress version: 1.8.5
  • Installation method: windows installer

Log:

INFO:pympress.app:Pympress: 1.8.5 ; Python: 3.11.7 ; OS: Windows 10 10.0.22621 ; Gtk 3.24.39 ; GLib 2.78.0 ; Poppler 23.12.0 cairo ; Cairo 1.18.0 , pycairo 1.25.1
INFO:pympress.extras:Medienunterstützung: GdkPixbuf GIF-Player, GStreamer not available, VLC 3.0.19 Vetinari
WARNING:pympress.ui:Gtk.Application.inhibit konnte Bildschirmschoner nicht verhindern, probiere hartes Deaktivieren

Config:

click to expand
[content]
xalign = 0.5
yalign = 0.5
geometry = 1900x1079+1+1
start_blanked = off
start_fullscreen = on
white_blanking = off

[presenter]
geometry = 1902x1070+3200+0
start_fullscreen = off
pointer = red
pointer_mode = manual
show_bigbuttons = on
show_annotations = on
scroll_number = off
slide_ratio = 0.75
next_slide_count = 1

[deck-overview]
max-slides-per-row = 6
distinct-labels-only = on

[layout]
plain = {
	    "resizeable": true,
	    "children": [
	        "current",
	        {
	            "resizeable": true,
	            "children": [
	                "next",
	                "annotations"
	            ],
	            "proportions": [
	                0.55,
	                0.44999999999999996
	            ],
	            "orientation": "vertical"
	        }
	    ],
	    "proportions": [
	        0.6697916666666667,
	        0.3302083333333333
	    ],
	    "orientation": "horizontal"
	}
highlight_tools = vertical
highlight = {
	    "resizeable": true,
	    "orientation": "horizontal",
	    "children": [
	        "highlight",
	        {
	            "resizeable": true,
	            "orientation": "vertical",
	            "children": [
	                "next",
	                "annotations"
	            ],
	            "proportions": [
	                0.55,
	                0.45
	            ]
	        }
	    ],
	    "proportions": [
	        0.67,
	        0.33
	    ]
	}
notes = {
	    "resizeable": true,
	    "children": [
	        "notes",
	        {
	            "resizeable": false,
	            "children": [
	                "current",
	                "next"
	            ],
	            "orientation": "vertical"
	        }
	    ],
	    "proportions": [
	        0.6,
	        0.4
	    ],
	    "orientation": "horizontal"
	}
highlight_notes_tools = vertical
highlight_notes = {
	    "resizeable": true,
	    "orientation": "horizontal",
	    "children": [
	        "highlight",
	        {
	            "resizeable": true,
	            "orientation": "vertical",
	            "children": [
	                "notes",
	                "next",
	                "annotations"
	            ],
	            "proportions": [
	                0.5,
	                0.3181818181818181,
	                0.18181818181818182
	            ]
	        }
	    ],
	    "proportions": [
	        0.67,
	        0.33
	    ]
	}
note_pages = {
	    "resizeable": true,
	    "children": [
	        "notes",
	        {
	            "resizeable": false,
	            "children": [
	                "next",
	                "annotations"
	            ],
	            "orientation": "vertical"
	        }
	    ],
	    "proportions": [
	        0.6,
	        0.4
	    ],
	    "orientation": "horizontal"
	}

[notes position]
horizontal = right
vertical = bottom
page number = after

[cache]
maxpages = 200

[highlight]
width_eraser = 90
color_1 = rgba(255,255,0,0.5)
width_1 = 90
color_2 = rgba(128,255,0,0.5)
width_2 = 90
color_3 = rgba(255,0,128,0.5)
width_3 = 90
color_4 = rgba(48,48,255,0.5)
width_4 = 90
color_5 = rgb(239,41,41)
width_5 = 5
color_6 = rgb(0,96,255)
width_6 = 5
color_7 = rgb(0,187,0)
width_7 = 5
color_8 = rgb(0,0,0)
width_8 = 5
color_9 = rgb(136,136,136)
width_9 = 48
active_pen = 5
mode = single-page
page_change_exits = on

[gstreamer]
enabled = on
init_options = 
mime_types = 

[vlc]
enabled = on
init_options = --no-video-title-show,--no-xlib
mime_types = 

[shortcuts]
next-page = Right Down Page_Down space
prev-page = Left Up Page_Up
first-page = Home
last-page = End
next-label = <ctrl>Right <ctrl>Down <ctrl>Page_Down <ctrl>space
prev-label = <ctrl>Left <ctrl>Up <ctrl>Page_Up
hist-back = <alt>Left
hist-forward = <alt>Right
goto-page = g
jumpto-label = j
content-fullscreen = F11 f F5 <ctrl>l
presenter-fullscreen = <ctrl>f
zoom = z
unzoom = u
notes-mode = n
annotations = a
highlight = h
deck-overview = d
swap-screens = s
blank-screen = b
quit = q
validate-input = Return KP_Enter
cancel-input = Escape
pick-file = o
close-file = <ctrl>w
save-file = <ctrl>s
save-file-as = <ctrl><shift>s
pointer-mode::toggle = l
pause-timer = p Pause
reset-timer = r
edit-talk-time = t
timing-report = 
highlight-undo = <ctrl>z
highlight-redo = <ctrl>r
highlight-use-pen::1 = 1
highlight-use-pen::2 = 2
highlight-use-pen::3 = 3
highlight-use-pen::4 = 4
highlight-use-pen::5 = 5
highlight-use-pen::6 = 6
highlight-use-pen::7 = 7
highlight-use-pen::8 = 8
highlight-use-pen::9 = 9
highlight-use-pen::eraser = 0
highlight-hold-to-erase = <ctrl>
highlight-clear = 
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

No branches or pull requests

1 participant