Conversation
`Preview` builds its pipeline around a `gtk4paintablesink` element
(gui/src/preview.rs), but neither the Arch nor the Debian package declares
the plugin that provides it. Because the element is resolved at runtime via
`ElementFactory::make`, a clean install builds and launches fine and only
fails when the preview is first shown:
failed to find element factory with name 'gtk4paintablesink'
gtk4paintablesink ships in gst-plugins-rs, packaged separately from
gst-plugins-{base,good}: gst-plugin-gtk4 on Arch, gstreamer1.0-gtk4 on
Debian/Ubuntu.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
The GUI package doesn't declare the plugin that provides
gtk4paintablesink, so thelive preview is broken on a clean install.
Symptom
Fresh install of the released 0.1.4 Arch packages, then opening the preview:
Why a build doesn't catch it
Previewresolves the sink at runtime (gui/src/preview.rs:150):so the package builds, installs and launches fine — only showing the preview fails.
Nothing at compile or package time references the plugin.
Cause
gtk4paintablesinkships in gst-plugins-rs, which distros package separately fromgst-plugins-{base,good}:gst-plugin-gtk4(extra)/usr/lib/gstreamer-1.0/libgstgtk4.sogstreamer1.0-gtk4libgstgtk4.sopackaging/nfpm-gui.yamldeclaresgtk4andlibadwaita, but not this.Verification
Built the GUI package both ways with nfpm 2.47 and read
.PKGINFO:openeffects-0.1.4-1-x86_64.pkg.tar.zstopeneffectsd gtk4 libadwaitaopeneffectsd gtk4 libadwaita(faithful repro)openeffectsd gtk4 libadwaita gst-plugin-gtk4Then end-to-end in a clean
archlinux:latestcontainer, installingopeneffectsdplusthe GUI package:
error: package 'gst-plugin-gtk4' was not found;gtk4paintablesinkMISSINGgst-plugin-gtk4 0.15.3-1fromextra;gtk4paintablesinkOKNote on the rpm override
I left
overrides.rpmuntouched on purpose. I couldn't find a Fedora package shipping thisplugin —
gstreamer1-plugins-rsandgstreamer1-plugin-gtk4don't resolve in Fedora'spackage index.