Mac OS Sonoma 14.5
Blocs 5.2.4
M2 Pro
TL;DR
- Blocs not showing styles on design canvas
- Tried current beta, problem still exists
- Corrupt class found
- Class removed
- Project back to normal (I hope)
Hopefully this will save someone the grief, I have had over the last few days.
Longer read:
I had to work on an update for an existing website I had made for a Client, this had very short time constraints.
I saved the client some money, by basing everything off the existing site, that was built in Blocs over 2 years ago. This is what I totally regret, as I have other tools in my toolbox, and I should have rebuilt this from scratch with one of those. This would have worked out better for me, even if I didn’t charge my client for that initial rebuild, thats how stupid this got. This is a massive trust issue for me, it can damage our reputations with our clients, because they do not care about buggy software.
Basically this is not the first time, I have had issues with Blocs projects causing me grief. And this once again has cost me hundreds of $$ of time, I cannot bill out.
Somewhere along the line, Blocs decided to corrupt something, eventually to the point where I could see no styling updated on the design canvas.
So here I am, working on an urgent - time critical project for a client, that requires rolling updates over a couple of weeks. I did not have the time or want to take the gamble by going through the backups to find a stable version, and then work through all the modifications I need to make again.
Instead I built 3 new pages, with no visible styles changes showing on the design canvas. Going back and forwards to preview. - Not my definition of fun. and you can imagine how much longer it took to build the site, which I can not bill my client for.
I managed to get this part of the project completed and uploaded. I now had some relief, to go back and see what was wrong.
My first thinking - the design canvas was not showing any new classes or style changes. But would on preview. So I thought something is up with the classes.
I decide to delete all unused classes… a ton show up, most of which I was actively using!!! ![]()
So as a test, I delete all of them. And now suddenly Blocs is working again ![]()
So I reload a copy of the project that had all these classes still… as most of them I was already using and Blocs incorrectly says they were unused.
I scroll through them and I spot this…
A class called
[1
I never made that, so either Blocs added it, or its a class that became corrupt.
Either way, the project is now working, or as much as I can tell right now.
So if you come across this issue, it could be a corrupt class. Maybe we need some checks in the system @norm for this, or if there is already, something wasn’t working. It also showed a lot of classes I was actively using as unused!! So I wouldnt trust that feature without being very careful with what you tick for deletion.
I hope someone will be able to resolve a similar issue they may have without going through this misery, my loss you gain - I hope ![]()
— Pete
