From nobody Thu Sep 14 21:22:46 2023 X-Original-To: xfce@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RmqzV5nq0z4sRtf for ; Thu, 14 Sep 2023 21:22:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RmqzV4lx7z3FCT for ; Thu, 14 Sep 2023 21:22:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1694726566; a=rsa-sha256; cv=none; b=nqzoPyUqX93rBu4AqF6NMJcWNpWohTrrSwBVzcE8dYBZ8DNfz9/Jnm8Bp2mEdkUsxpK7KR xFE2Yj8pxsk+79wrW+R9tndgret5iQAUeJpgt3pEMhBlqgpvY74RbkMyV2NbVncjD9GglZ soMhMG9GRRbnKRnk9QsMIBeOgwzPgi/npsq/BtdHVQDAh0LyTHpb680k3VzHWhFRXw1heD xLp/1pgCtysv1KeYM2DndGRqPcMB7Pq6zxI7ece7JlGOsAqGnfNprfgJ6+aP7L/wBWelnt rxiXW6MsKW195IIN4ZA2VrZgDBw+HuJZbhLVo22UzLf3Gsh9kiQ9zQprWvNQpw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1694726566; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=j6rLKAT6mF9mfrUoTJfAnebBET1eVDWlAd22oH7FdFE=; b=oKMDOGXw42y5mGIkqgzaEc3SofbRwONR7yzPfhBtWEY5c5LYpgBo0gYaEuJ+3wonO0jjPV KaJHohUNKWN/GOqEWzkVrWyqm/xzYmJk8iZGE1RHyBf30YEGRnhylpLZ0H9eOmb5BlnStL FNp9obCoqR0scr/Pd1jDTJqpx65FjOWhTgYNAFg0ZWjBMFXw7afYrrnroeBjqbntyKMLyz 42oanrnaSey/LqOf/2+bj4OJl9riTipeCzpO6XyBdDO8zuzXb0C4ILTief9rv/wbSAzGJn N06z2dbSpZ4W2bhjuRJNOSJBM4lM5AO440SqU6B7vk5woZKrw3jtXps99rdejQ== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4RmqzV3s2qz1CL1 for ; Thu, 14 Sep 2023 21:22:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 38ELMkoI005674 for ; Thu, 14 Sep 2023 21:22:46 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 38ELMkuE005673 for xfce@FreeBSD.org; Thu, 14 Sep 2023 21:22:46 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: xfce@FreeBSD.org Subject: [Bug 273744] sysutils/xfce4-settings: cursor themes being listed twice Date: Thu, 14 Sep 2023 21:22:46 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: madpilot@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: xfce@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback+ X-Bugzilla-Changed-Fields: flagtypes.name Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: XFCE List-Archive: https://lists.freebsd.org/archives/freebsd-xfce List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-xfce@freebsd.org X-BeenThere: freebsd-xfce@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D273744 Guido Falsi changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|maintainer-feedback?(xfce@F |maintainer-feedback+ |reeBSD.org) | --- Comment #4 from Guido Falsi --- 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 sear= ch 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=3D/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. --=20 You are receiving this mail because: You are the assignee for the bug.=