All-polymer solar cells (all-PSCs) possess attractive merits including superior thermal stability and mechanical flexibility for large-area roll-to-roll processing. Introducing flexible conjugation-break spacers (FCBSs) into backbones of polymer donor (P-D) or polymer acceptor (P-A) has been demonstrated as an efficient approach to enhance both the photovoltaic (PV) and mechanical properties of the all-PSCs. However, length dependency of FCBS on certain all-PSC related properties has not been systematically explored. In this regard, we report a series of new non-conjugated P(A)s by incorporating FCBS with various lengths (2, 4, and 8 carbon atoms in thioalkyl segments). Unlike common studies on so-called side-chain engineering, where longer side chains would lead to better solubility of those resulting polymers, in this work, we observe that the solubilities and the resulting photovoltaic/mechanical properties are optimized by a proper FCBS length (i.e., C2) in P-A named PYTS-C2. Its all-PSC achieves a high efficiency of 11.37%, and excellent mechanical robustness with a crack onset strain of 12.39%, significantly superior to those of the other P(A)s. These results firstly demonstrate the effects of FCBS lengths on the PV performance and mechanical properties of the all-PSCs, providing an effective strategy to fine-tune the structures of P(A)s for highly efficient and mechanically robust PSCs.