Good to hear that you've fixed the issue.
But yes, modern dual flush cable or air pressure operated flushing systems are quite complex, and prone to leakage into the toilet which can then go unnoticed for a long time.
I assume these systems replaced the older, very dependable, siphon flush system which cannot leak into the cistern, because siphons don't work well (or at all ) with the modern very small volume cisterns.
The irony is, these small volume cisterns were mandated in a bid to save water, but their propensity to leak water unnoticed rather defeats this aim!