[Bug 253742] x11-toolkits/gtk30: requires runtime gsettings-desktop-schemas on Wayland

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Mar 16 16:35:41 UTC 2021


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253742

--- Comment #2 from commit-hook at FreeBSD.org ---
A commit references this bug:

Author: jbeich
Date: Tue Mar 16 16:35:12 UTC 2021
New revision: 568579
URL: https://svnweb.freebsd.org/changeset/ports/568579

Log:
  x11-toolkits/gtk30: depend on gsettings-desktop-schemas

  Gtk on Wayland uses gsettings to get cursor theme but without schemes
  installed it falls back to "default" theme which doesn't exist.

    $ gsettings get org.gnome.desktop.interface cursor-theme
    No such schema ?org.gnome.desktop.interface?

    $ MOZ_ENABLE_WAYLAND=1 firefox
    [...]
    Gdk-Message: 15:15:20.123: Unable to load hand2 from the cursor theme
    Gdk-Message: 15:15:20.300: Unable to load hand2 from the cursor theme
    Gdk-Message: 15:15:20.536: Unable to load hand2 from the cursor theme
    Gdk-Message: 15:15:52.250: Unable to load hand2 from the cursor theme
    Gdk-Message: 15:15:52.350: Unable to load hand2 from the cursor theme
    Gdk-Message: 15:15:52.834: Unable to load hand2 from the cursor theme
    Gdk-Message: 15:15:52.933: Unable to load hand2 from the cursor theme

    $ emacs -Q # --with-pgtk
    Gdk-Message: 15:16:34.736: Unable to load sb_v_double_arrow from the cursor
theme
    Gdk-Message: 15:16:34.736: Unable to load sb_h_double_arrow from the cursor
theme
    Gdk-Message: 15:16:35.272: Unable to load hand2 from the cursor theme
    Gdk-Message: 15:16:35.272: Unable to load sb_h_double_arrow from the cursor
theme
    Gdk-Message: 15:16:35.272: Unable to load sb_v_double_arrow from the cursor
theme

    $ truss emacs -Q 2>&1 | fgrep /cursor
    [...]
   
open("/home/foo/.icons/default/cursors/",O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC,00)
ERR#2 'No such file or directory'
   
open("/usr/share/icons/default/cursors/",O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC,00)
ERR#2 'No such file or directory'
   
open("/usr/share/pixmaps/default/cursors/",O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC,00)
ERR#2 'No such file or directory'
   
open("/home/foo/.cursors/default/cursors/",O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC,00)
ERR#2 'No such file or directory'
   
open("/usr/share/cursors/xorg-x11/default/cursors/",O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC,00)
ERR#2 'No such file or directory'
   
open("/usr/local/share/icons/default/cursors/",O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC,00)
ERR#2 'No such file or directory'
    [...]

  PR:           253742
  Submitted by: Evgeniy Khramtsov <2khramtsov at gmail.com>

Changes:
  head/x11-toolkits/gtk30/Makefile

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-desktop mailing list