The R14 branch should not have this problem because of the many
XDG
related changes (e.g., OnlyShowIn=TDE). Environment variables all have been renamed in R14 too (KDEDIR->TDEDIR, etc.).
seems changes to stop run files with OnlyShowIn=KDE wasn't
performed yet.
here are lines with such checks: tdelibs/kinit/autostart.cpp:181 tdelibs/kio/kio/kservicegroup.cpp:87
Should I fill a bug to track it/make it fixed sooner?
Probably.
One more about this script, have you considered to move this functionality as well as functionality of the r14-xdg-update to kconf_update?
That sounds encouraging, but I don't know how to do that.
Darrell