Bug 2225973

Summary: Plugin doesn't load when added to a scene
Product: [Fedora] Fedora Reporter: Diego Herrera <dherrera>
Component: obs-studio-plugin-webkitgtkAssignee: Neal Gompa <ngompa13>
Status: CLOSED ERRATA QA Contact:
Severity: high Docs Contact:
Priority: unspecified    
Version: 38CC: multimedia-sig, ngompa13
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: obs-studio-plugin-webkitgtk-0~git20230910.a2bc475-1.fc40 obs-studio-plugin-webkitgtk-0~git20201202.0e32b92-4.fc37 obs-studio-plugin-webkitgtk-0~git20201202.0e32b92-4.fc38 obs-studio-plugin-webkitgtk-0~git20230910.a2bc475-1.fc39 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-09-11 22:04:35 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Diego Herrera 2023-07-25 18:23:19 UTC
When adding a WebkitGtk component to the scene and configuring a URL, no result is shown on the Scene.

Reproducible: Always

Steps to Reproduce:
1. Open OBS
2. Add a WebkitGtk to the scene
3. Configure a valid url and a viewable size
Actual Results:  
Nothing loads, the component size is 0x0

Expected Results:  
The url loads and it's showed on the scene at the configured size.

If you run obs on a terminal, when you add the WebkitGTK component to the scene you get the following message

`error: Could not find obs-webkitgtk-helper application`

Comment 1 Diego Herrera 2023-07-25 18:28:11 UTC
Checking the code, this message is shown when the plugin isn't able to detect the location of the `obs-webkitgtk-helper` executable.

By default it first gets the path where the obs app is located (`/usr/bin`), then it looks for `obs-webkit-helper` on `../lib/obs-plugins/` and on the same path as the executable. If the file is not found on those locations, it fails with the error message described above [0]. In the case of this package, the `obs-webkit-helper` program is installed on `/usr/lib64/obs-plugins/`

[0] https://github.com/fzwoch/obs-webkitgtk/blob/master/obs-webkitgtk.c#L90-L113

Comment 2 Fedora Update System 2023-09-08 22:44:18 UTC
FEDORA-2023-91393801d5 has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-91393801d5

Comment 3 Fedora Update System 2023-09-08 22:44:20 UTC
FEDORA-2023-e225678f73 has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2023-e225678f73

Comment 4 Fedora Update System 2023-09-09 01:50:34 UTC
FEDORA-2023-91393801d5 has been pushed to the Fedora 38 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-91393801d5`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-91393801d5

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2023-09-09 02:34:38 UTC
FEDORA-2023-e225678f73 has been pushed to the Fedora 37 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-e225678f73`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-e225678f73

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 6 Fedora Update System 2023-09-11 22:01:54 UTC
FEDORA-2023-9ddc758446 has been submitted as an update to Fedora 40. https://bodhi.fedoraproject.org/updates/FEDORA-2023-9ddc758446

Comment 7 Fedora Update System 2023-09-11 22:04:35 UTC
FEDORA-2023-9ddc758446 has been pushed to the Fedora 40 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 8 Fedora Update System 2023-09-11 22:06:21 UTC
FEDORA-2023-543c5612db has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2023-543c5612db

Comment 9 Fedora Update System 2023-09-12 01:24:13 UTC
FEDORA-2023-543c5612db has been pushed to the Fedora 39 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-543c5612db`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-543c5612db

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 10 Fedora Update System 2023-09-12 01:55:35 UTC
FEDORA-2023-e225678f73 has been pushed to the Fedora 37 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 11 Fedora Update System 2023-09-12 02:32:24 UTC
FEDORA-2023-91393801d5 has been pushed to the Fedora 38 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 12 Fedora Update System 2023-09-15 19:54:11 UTC
FEDORA-2023-543c5612db has been pushed to the Fedora 39 stable repository.
If problem still persists, please make note of it in this bug report.