Public bug reported:

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: ubuntu
     Importance: Undecided
         Status: New


** Tags: wayland-regression

** Patch added: "diff -U5 output of old and new version"
   
https://bugs.launchpad.net/bugs/1687180/+attachment/4869468/+files/mypaint.desktop.patch

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

Title:
  MyPaint does not work under Wayland

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to