Created attachment 7252 UID documented patch Cannot reopen this bug report so opening new one: https://bugzilla.xfce.org/show_bug.cgi?id=12970 RECAP: The reason why the first patch was proposed was because some programs start as root and later change to a different effective UID. Unbound is an example of such program. This was previously incorrectly reported as root by taskmanager. The patch that was already committed apparently fixes the issue but using a non-documented method. My patch fixes the issue as described in "man proc". (The UID is extracted by parsing /proc/*/status not by using stat() on /proc/*/task). Also, my patch can easily be extended to also report other UIDs besides the "effective" UID: real, effective, saved set, and filesystem UIDs. That is up to the taskmanager developers to implement because I don't know GTK. See attached patch.
I think your patch was commited in https://git.xfce.org/apps/xfce4-taskmanager/commit/?id=946be336114ed84ad5d24838b4ae14a0bfc0f0fe, closing this bug.