In a fresh debian10 installation with xfce4 when i try:
$ sudo apt-get remove xfce4will present me with a maybe a hundred of packages that 'were automatically installed and no longer needed' and that i should remove if i want with 'apt autoremove'. And the only packages that would be removed are xfce4 and task-xfce-desktop.
In my eyes i'd be more logical apt to remove the depedencies xfce4 have. I cant understand the logic of the message presented to me.
Alexandros.