Bug 1435447 - Pitivi does not work with custom cursor themes under Wayland
Summary: Pitivi does not work with custom cursor themes under Wayland
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: pitivi
Version: 25
Hardware: x86_64
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Gwyn Ciesla
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-03-23 20:22 UTC by Rubén
Modified: 2017-03-23 23:02 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2017-03-23 23:02:05 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
FlatbedCursors Black Regular LH (42.46 KB, application/x-xz)
2017-03-23 20:22 UTC, Rubén
no flags Details

Description Rubén 2017-03-23 20:22:59 UTC
Created attachment 1265883 [details]
FlatbedCursors Black Regular LH

Description of problem:
Pitivi does not work with custom cursor themes under Wayland

Version-Release number of selected component (if applicable):
pitivi-0.98-5.fc25.x86_64

Steps to Reproduce:
1. Set a custom cursor theme with gnome-tweak-tool.
2. Open Pitivi.

Actual results:
This log:
Gdk-Message: Unable to load tcross from the cursor theme
Traceback (most recent call last):
  File "/usr/bin/pitivi", line 144, in <module>
    _run_pitivi()
  File "/usr/bin/pitivi", line 128, in _run_pitivi
    from pitivi import application
  File "/usr/lib64/python3.5/site-packages/pitivi/application.py", line 34, in <module>
    from pitivi.mainwindow import MainWindow
  File "/usr/lib64/python3.5/site-packages/pitivi/mainwindow.py", line 47, in <module>
    from pitivi.timeline.timeline import TimelineContainer
  File "/usr/lib64/python3.5/site-packages/pitivi/timeline/timeline.py", line 34, in <module>
    from pitivi.timeline.elements import Clip
  File "/usr/lib64/python3.5/site-packages/pitivi/timeline/elements.py", line 31, in <module>
    from matplotlib.backends.backend_gtk3cairo import FigureCanvasGTK3Cairo as FigureCanvas
  File "/usr/lib64/python3.5/site-packages/matplotlib/backends/backend_gtk3cairo.py", line 6, in <module>
    from . import backend_gtk3
  File "/usr/lib64/python3.5/site-packages/matplotlib/backends/backend_gtk3.py", line 61, in <module>
    cursors.SELECT_REGION : Gdk.Cursor.new(Gdk.CursorType.TCROSS),
TypeError: constructor returned NULL


Expected results:
Pitivi working.

Additional info:
I attach my current custom cursor theme "Flatbed Cursors". Please, notice that I'm left handed. I got it from https://gnome-look.org, although it's no longer available. I haven't got this problem with any other application.

Comment 1 Rubén 2017-03-23 23:02:05 UTC
Solved.
Somehow, this theme is incomplete. To solve this non-bug of Pitivi, change to the cursor theme installation directory and type:

sudo cp cross tcross
sudo cp hand2 hand1

Pitivi then will revive ;)

Regards.


Note You need to log in before you can comment on or make changes to this bug.