← Back to team overview

ubuntustudio-bugs team mailing list archive

[Bug 1687180] Re: MyPaint does not work under Wayland

 

Just FYI, Fedora package has backported several patches to make it work
with Wayland. Feel free to pull those patches into Debian/Ubuntu:
https://src.fedoraproject.org/rpms/mypaint/tree/master

-- 
You received this bug notification because you are a member of Ubuntu
Studio Bugs, which is subscribed to mypaint in Ubuntu.
Matching subscriptions: Ubuntu Studio Bugs
https://bugs.launchpad.net/bugs/1687180

Title:
  MyPaint does not work under Wayland

Status in mypaint package in Ubuntu:
  New

Bug description:
  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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mypaint/+bug/1687180/+subscriptions