You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Audio with its own picture is drawn with DeckCraft's speaker icon on top of it #2324
What happens. An audio clip opened from a .pptx shows two icons in the editor: the clip's own picture, which the file stores with the audio, and DeckCraft's built-in speaker drawn over it. Confirmed by hand with a presentation containing audio, saved by another presentation app and opened in DeckCraft.
Cause. The renderer draws a media shape's picture (MediaClip::poster) when it has one. For audio it then always draws the built-in glyph as well (crates/render/src/renderer.rs, the ShapeKind::Media arm: if !mc.video || mc.poster.is_none() { paint::media_glyph(…) }). PPTX import reads the picture of an audio shape into poster and export writes it back, so every imported audio clip with a picture gets both.
Expected. A clip with its own picture shows only that picture. The built-in speaker (audio) or film glyph (video) is drawn only when the clip has no picture. Video already works this way.
Scope. Drawing only. Setting or resetting an audio clip's picture from the app is the separate feature in #2209.
Activity
xaoseric commentedon Nov 22, 2026
Working on this: a clip with its own picture will show only that picture, and the built-in glyph only when there is none.