← Back to team overview

ubuntustudio-bugs team mailing list archive

[Bug 1687180] [NEW] MyPaint does not work under Wayland

 

You have been subscribed to a public bug:

lsb_release -rd
Description:    Ubuntu 17.04
Release:        17.04

apt-cache policy mypaint
mypaint:
  Installed: 1.2.0-4
  Candidate: 1.2.0-4


When running MyPaint under a GNOME Wayland session, the application does not start. When launched from the command line, the following output is generated:

INFO: mypaint: Installation layout: conventional POSIX-like structure with prefix u'/usr'
INFO: lib.i18n: POSIX: LANG='en_US.UTF-8'
INFO: lib.i18n: POSIX: LANGUAGE=None
Gdk-Message: Unable to load bogosity from the cursor theme
Traceback (most recent call last):
  File "/usr/bin/mypaint", line 462, in <module>
    main.main(datapath, iconspath, old_confpath, version=version)
  File "/usr/share/mypaint/gui/main.py", line 95, in main
    from gui import application
  File "/usr/share/mypaint/gui/application.py", line 53, in <module>
    import gui.device
  File "/usr/share/mypaint/gui/device.py", line 25, in <module>
    import gui.mode
  File "/usr/share/mypaint/gui/mode.py", line 809, in <module>
    class SingleClickMode (InteractionMode):
  File "/usr/share/mypaint/gui/mode.py", line 813, in SingleClickMode
    cursor = gdk.Cursor(gdk.BOGOSITY)
  File "/usr/lib/python2.7/dist-packages/gi/overrides/Gdk.py", line 329, in __new__
    return cls.new(*args, **kwds)
TypeError: constructor returned NULL


This bug can be worked around by setting the environment variable GDK_BACKEND to x11 when running MyPaint; the patch does this.

** Affects: mypaint (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: patch wayland-regression
-- 
MyPaint does not work under Wayland
https://bugs.launchpad.net/bugs/1687180
You received this bug notification because you are a member of Ubuntu Studio Bugs, which is subscribed to mypaint in Ubuntu.