I have never experienced this myself. All members of department I’ve worked with have been encouraging, supportive and respectful. As a doctoral candidate I’ve worked in an exclusively female team. Given however, the the twenty-first century seems to be ushering in an age of uber-liberalism in terms of gender and sexuality equality, I think it says something that this discussion is still necessary.
We’re in a generation that is redefining gender boundaries and traditional concepts of sexuality (aided in no small way by social media). Sexual harassment, to all genders/gender identities, isn’t exclusive to universities obviously, but is the slog and toil you go through to get even to the position of an Early-Career Researcher, engendering a culture of tolerance with these incidents. I’m not quite sure – but this is a provocative read at the least. Take a look for yourself.