[Flatpak] Pitivi not launching in a native Wayland window
I'm using Fedora 32 on GNOME Wayland. The program doesn't want to start when I'm opening it in a Wayland window.
This is the error I get:
$ flatpak run org.pitivi.Pitivi
Gdk-Message: 12:15:22.936: Unable to load tcross from the cursor theme
Traceback (most recent call last):
File "/app/lib/python3.7/site-packages/matplotlib-3.0.3-py3.7-linux-x86_64.egg/matplotlib/backends/backend_gtk3.py", line 31, in <module>
cursors.SELECT_REGION : Gdk.Cursor.new(Gdk.CursorType.TCROSS),
TypeError: constructor returned NULL
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/app/bin/pitivi", line 166, in <module>
_run_pitivi()
File "/app/bin/pitivi", line 143, in _run_pitivi
from pitivi import application
File "/app/lib/pitivi/python/pitivi/application.py", line 32, in <module>
from pitivi.mainwindow import MainWindow
File "/app/lib/pitivi/python/pitivi/mainwindow.py", line 29, in <module>
from pitivi.editorperspective import EditorPerspective
File "/app/lib/pitivi/python/pitivi/editorperspective.py", line 41, in <module>
from pitivi.timeline.timeline import TimelineContainer
File "/app/lib/pitivi/python/pitivi/timeline/timeline.py", line 35, in <module>
from pitivi.timeline.elements import Clip
File "/app/lib/pitivi/python/pitivi/timeline/elements.py", line 29, in <module>
from matplotlib.backends.backend_gtk3cairo import FigureCanvasGTK3Cairo as FigureCanvas
File "/app/lib/python3.7/site-packages/matplotlib-3.0.3-py3.7-linux-x86_64.egg/matplotlib/backends/backend_gtk3cairo.py", line 1, in <module>
from . import backend_cairo, backend_gtk3
File "/app/lib/python3.7/site-packages/matplotlib-3.0.3-py3.7-linux-x86_64.egg/matplotlib/backends/backend_gtk3.py", line 37, in <module>
raise ImportError(exc)
ImportError: constructor returned NULL
The only workaround I found was to open it in an X11 window:
flatpak override --nosocket=wayland org.pitivi.Pitivi
Edited by Ghost User