I had an issue with panel not displaying menu category icons (displaying the 'unknown' icon instead). I've been able to nail it down to the value of XDG_DATA_DIRS being: XDG_DATA_DIRS=/usr/local/share:/usr/share On my system /usr/local/share was not world-readable (I never needed it), and it seemed to cause xfce4 to stop before looking for other locations. Both removing that location from XDG_DATA_DIRS or 'chmod a+rx' fixed it, so I believe this is the problem. From what I can see, Xfce correctly handles non-existent directories in XDG_DATA_DIRS. While I have my icons back, I believe it would be good to fix the issue as well, and make Xfce treat non-readable and non-existent directories equally here.
-- GitLab Migration Automatic Message -- This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/xfce/xfce4-panel/-/issues/70. Please create an account or use an existing account on one of our supported OAuth providers. If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev