Perhaps you could try not assuming everyone is an idiot.
I never said sudo changed the theme, my point was that *from the point of view of the user*, code run through sudo, such as GTK, should act as though it is being run by the session user, not the current GID/UID, for all things except permissions. The purpose of sudo is usually to gain the permissions of another user, not to 'be' that user.
So yes GTK should not set the theme based on UID/GID.
Perhaps you could try not assuming everyone is an idiot.
I never said sudo changed the theme, my point was that *from the point of view of the user*, code run through sudo, such as GTK, should act as though it is being run by the session user, not the current GID/UID, for all things except permissions. The purpose of sudo is usually to gain the permissions of another user, not to 'be' that user.
So yes GTK should not set the theme based on UID/GID.