In many environments, secret votes and public votes lead to different outcomes: requests to make regularly public votes secret is not that uncommon in elections for private groups: Everyone knows that there's a big percentage of people that want to vote in an unpopular way, and suddenly either an old leader is ousted, or a very corrupt choice is made.
So no, the ability to voluntarily make your own vote public and verifiable is a dealbreaker for elections in a modern state.
These combine with "at will" employment such that I could be fired for voting in the "wrong" primary for my company, with no laws broken. I'm not saying it has ever happened, but it could. Murphy's Law provides the rest.
In the general election, the only public information is whether I voted or not. So I vote as I please. I can still be fired for wearing only the minimum required amount of flair, but at least that's not interfering with democracy.
Public votes can also be sold. If you say you'll pay me $X if I vote for Y, making the Y vote public means they buyer can know that they got what they paid for.
Can someone explain why I am ignorant here: Is it not just feasible to open source and open access everything with only obfuscating voter identity as a hash? That way people can voluntarily make public their votes for third-party investigation?
Note: I'm not saying this is better than paper voting. But if voting is to be electronic then this seems like the best model?