Private landlords should be, gently, run out of the business.
There are, undoubtedly, many good ones, but the level of non-compliance is very high.
Much better to have a well regulated company providing private rentals, along with a massive increase in council run housing and housing associations.
For long term rentals, a council, a housing association, or regulated private company, will offer more security. They will have a professional team of maintenance contractors, electricians, carpenters, painters, plumbers. They will provide regular preventative maintenance, with communal areas manged properly.
Obviously, this should be managed in a gradual, controlled programme of change. We really shouldn't have rich, wealthy individuals telling a vulnerable family of five to vacate the house, because they want to sell it, for a villa in the Algarve,