In 1592 Scotland, not exactly the jolly tearoom in a time of turmoil, someone used that word potluck to refer to a meal served to a guest the host did not specifically prepare for. In other words, I didn't expect you, so it's luck of the draw what I've got in the pot. And given economic conditions in Scotland at that time, you would be lucky if you got a bit of boiled oatmeal.
Fast forward centuries later, and the word now refers to an event where everyone brings a different (one hopes!) dish. Thus, supposedly, one can enjoy a choice, but at the same time, unless the host or hostess decides to notify in advance who is bringing what (often the etiquette these days), it's the luck of the draw what is in all those pots ( really, tupperware, chafing dishes, foil trays et al.) Or, in the case of some office potlucks, what's in the 2-liter bottle of soda and bag of chips someone (usually a male) picked up at the downstairs convenience store at the last minute.
I was reading on an admittedly snarky LGBTQ board about an event called the lesbian potluck, and apparently such an event was and is so popular it has become a stereotype. Apparently gay men, in contrast to lesbians, tend to eat out or cook at home specific menus, or if their culinary skills are less than stellar, hire a caterer. Perhaps this set up allows more time for extra-food events such as sex upstairs (or in the slings in the basement) between most of the guests. Or more time to finesse with the crudites and the specific décor.
Lesbians, however, for a variety of social and cultural reasons, prefer to view these meals as community bonding rituals (I've heard winter or summer solstice ones are popular). They will eat in, but the food comes from other lesbians, lovers, and sometimes, to add drama to those events, an ex-lover or two. I must admit I've never been to one, but I've heard stories, alas. Let's just say perhaps reverting to Prohibition might be a good idea at some of these events.