Users reported a bug where the pin/unpin functionality from the topic header no longer works, despite the pin icon being clickable. ondrej noted this behavior changed in the latest Discourse version and provided screenshots showing the issue on desktop and mobile (Chrome). Benjamin_D confirmed the issue on Firefox with version 2.8.0.beta10, even in safe mode, with no console errors. JammyDodger verified the bug across multiple Discourse instances (Meta, test site, live site, and a hosted forum) using Android/Chrome. Osama clarified that this was never a supported feature and submitted a commit (https://github.com/discourse/discourse/commit/61bb0df3f638963e331af4c4722216695ad6b295) to add the functionality, labeling it as a new feature. They also fixed a related issue with pin toggling in topic lists caused by a theme component (https://github.com/discourse/discourse-topic-thumbnails/pull/13). ondrej thanked Osama for the fix. The issue affects both desktop and mobile users across browsers and Discourse versions.
Previously (I’m 99% sure) if a topic was pinned and you scrolled down the title would appear in the header (as you can see in image 1) and you could press icon and it would pin/unpin. However it does not allow you to do this despite the pin still being clickable. In image 2 it works fine you can pin/unpin
I prefixed the commit with FEATURE because I couldn’t find anything in the codebase that suggested this worked before so the only way to “fix” this was to add support for it which means it’s a new feature
I also noticed that toggling the pin from topics lists wasn’t working here on Meta due to a theme component so I fixed that as well: