Topic title duplicated in header is a bug that has been reported and fixed. The issue occurs when editing a topic, and the topic title is duplicated in the header.
Several users, including jomaxro and joebuhlig, reported the issue and provided steps to reproduce it. sam requested eviltrout to look into the issue, and nbianca eventually fixed it by submitting a pull request to GitHub.
The fix involves modifying the code to trigger header:show-topic only if the topic title is not visible, preventing the duplication of the topic title in the header. eviltrout confirmed that the fix has been merged.
I’ve started noticing this about a week or so ago. I’ve yet to get a consistent repro - but it seems to occur after editing a topic (as TL3 here on Meta, or Moderator at Stonehearth).
On a topic that can scroll, moving down (go to a later post) then back up resolves it. On a topic without scroll, I have to refresh the page to resolve it.
Has anyone else seen this?
Edit: just made a ninja edit to fix a typo, got the bug in this very topic!
EDIT: To explain a little bit how I tracked the bug:
I tried reproducing and found out that it actually reproduces by changing a topic’s title.
I found out that there are two events that control the header and if the topic title is shown or not: header:show-topic and header:hide-topic.
Searched where header:show-topic is triggered and found a match when a topic is reloaded (which happens when a topic is edited).
I changed the code to trigger header:show-topic only if the the topic title is not visible (not the one from the header, but the proper one, #topic-title).