Until there's a hotfix, this appeares to fix this as it changes the trouble causing widgets to qt widgets:
1.) Install qt5ct and qt5 style plugins: sudo apt-get install qt5ct and sudo apt-get install qt5-style-plugins
2.) In the terminal: export QT_QPA_PLATFORMTHEME=qt5ct
3.) In the terminal: obs
This just saved my day. Thanks.
I kept running into segmentation faults whenever I tried to edit existing image sources after switching to the PPA version.
The OBS log basically stops right before the crash. The system log however had this:
Code:
Apr 7 17:46:14 ****** dbus-daemon[1416]: [system] Activating via systemd: service name='org.freedesktop.hostname1' unit='dbus-org.freedesktop.hostname1.service' requested by ':1.420' (uid=1000 pid=6292 comm="obs " label="unconfined")
Apr 7 17:46:14 ****** systemd[1]: Starting Hostname Service...
Apr 7 17:46:14 ****** kernel: [39660.291343] CrBrowserMain[6315]: segfault at 0 ip 0000000000000000 sp 00007fce88dfc788 error 14 in obs[55e38f867000+26f000]
Apr 7 17:46:14 ****** kernel: [39660.291349] obs[6292]: segfault at 0 ip 0000000000000000 sp 00007ffdc09d8438 error 14
Apr 7 17:46:14 ****** kernel: [39660.291351] in obs[55e38f867000+26f000]
Apr 7 17:46:15 ****** gnome-shell[3704]: Object .Gjs_AppIndicatorIconActor__1 (0x55c951426dc0), has been already finalized. Impossible to set any property to it.
Apr 7 17:46:15 ****** org.gnome.Shell.desktop[3704]: == Stack trace for context 0x55c94f49b320 ==
Apr 7 17:46:15 ****** org.gnome.Shell.desktop[3704]: #0 0x7ffe38a3f2e0 I resource:///org/gnome/gjs/modules/_legacy.js:83 (0x7f19ac2b5de0 @ 87)
Apr 7 17:46:15 ****** org.gnome.Shell.desktop[3704]: #1 0x55c94f848fa0 i /usr/share/gnome-shell/extensions/ubuntu-appindicators@ubuntu.com/indicatorStatusIcon.js:93 (0x7f195c067098 @ 58)
Apr 7 17:46:15 ****** org.gnome.Shell.desktop[3704]: #2 0x7ffe38a3ff00 I resource:///org/gnome/gjs/modules/_legacy.js:82 (0x7f19ac2b5de0 @ 71)
Apr 7 17:46:15 ****** org.gnome.Shell.desktop[3704]: #3 0x7ffe38a3ff00 I self-hosted:916 (0x7f19ac2f12b8 @ 367)
Apr 7 17:46:15 ****** org.gnome.Shell.desktop[3704]: #4 0x7ffe38a3ff80 I resource:///org/gnome/gjs/modules/signals.js:128 (0x7f19ac2d2230 @ 386)
Apr 7 17:46:15 ****** org.gnome.Shell.desktop[3704]: #5 0x55c94f848f18 i /usr/share/gnome-shell/extensions/ubuntu-appindicators@ubuntu.com/appIndicator.js:190 (0x7f195c04fcd0 @ 22)
Apr 7 17:46:15 ****** org.gnome.Shell.desktop[3704]: #6 0x7ffe38a40b60 I resource:///org/gnome/gjs/modules/_legacy.js:82 (0x7f19ac2b5de0 @ 71)
Apr 7 17:46:15 ****** org.gnome.Shell.desktop[3704]: #7 0x55c94f848e70 i /usr/share/gnome-shell/extensions/ubuntu-appindicators@ubuntu.com/statusNotifierWatcher.js:176 (0x7f195de44f78 @ 26)
Apr 7 17:46:15 ****** org.gnome.Shell.desktop[3704]: #8 0x7ffe38a41740 I resource:///org/gnome/gjs/modules/_legacy.js:82 (0x7f19ac2b5de0 @ 71)
Apr 7 17:46:15 ****** org.gnome.Shell.desktop[3704]: #9 0x55c94f848dd0 i /usr/share/gnome-shell/extensions/ubuntu-appindicators@ubuntu.com/statusNotifierWatcher.js:170 (0x7f195de44ef0 @ 68)
Apr 7 17:46:15 ****** org.gnome.Shell.desktop[3704]: #10 0x7ffe38a42330 I resource:///org/gnome/gjs/modules/_legacy.js:82 (0x7f19ac2b5de0 @ 71)
Apr 7 17:46:15 ****** org.gnome.Shell.desktop[3704]: #11 0x7ffe38a423e0 I self-hosted:918 (0x7f19ac2f12b8 @ 394)
The AppIndicatorIcon stuff lead me to believe that there could be an issue with the tray icon so I disabled that and got stuck with this error instead:
Code:
Apr 7 18:01:00 ****** obs[26256]: GtkDialog mapped without a transient parent. This is discouraged.
Apr 7 18:01:00 ****** org.gnome.Shell.desktop[3704]: Window manager warning: Invalid WM_TRANSIENT_FOR window 0x2400bf1 specified for 0x3800007 (Bilddatei).
Apr 7 18:01:00 ****** org.gnome.Shell.desktop[3704]: Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0x3800007 (Bilddatei)
Apr 7 18:01:00 ****** kernel: [40545.563582] obs[26256]: segfault at 0 ip 00007f8a2e722760 sp 00007ffddbf07a88 error 4 in libcef.so[7f8a2c578000+61ea000]
In both cases, the file browser window (which I think is provided by Nautilus) briefly pops up before OBS crashes.
The Qt file browser widget appears to work, but it's giving me retro vibes.
Also, running OBS from the command line as described in the workaround above has side effects on my machine like increased UI font size.
That's still better than not being able to edit image sources anymore, of course.