[Bug 273744] sysutils/xfce4-settings: cursor themes being listed twice
Date: Thu, 14 Sep 2023 21:22:46 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273744
Guido Falsi <madpilot@FreeBSD.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Flags|maintainer-feedback?(xfce@F |maintainer-feedback+
|reeBSD.org) |
--- Comment #4 from Guido Falsi <madpilot@FreeBSD.org> ---
Hi,
I had some spare time and had a look. I did discover something, and a simple
workaround that is not a solution but is a little proof I'm on to something.
xfce4-mouse-settings looks up the themes in the filesystem, based on a search
path, that by default contains multiple, colon separated paths.
It gets the path via XcursorLibraryPath() provided by x11/libXcursor.
This library function returns the path provided by the XCURSOR_PATH env
variable or, if undefined, a default compiled in path.
If I run:
env XCURSOR_PATH=/usr/local/share/icons xfce4-mouse-settings
forcing a single directory search path, there are no duplicates.
So, for some reason, the default value returned by libXcursor has some
duplicate path, and xfce4-mouse-settings ends up finding duplicated.
Ti investigate more I need to patch xfce components and add some printf
functions around to see what is happening behind the scenes.
--
You are receiving this mail because:
You are the assignee for the bug.