# Bookmarking a topic doesn't update the post controls

**URL:** https://meta.discourse.org/t/bookmarking-a-topic-doesnt-update-the-post-controls/47246
**Category:** Bug
**Created:** [July 13, 2016, 8:14pm UTC](https://meta.discourse.org/t/bookmarking-a-topic-doesnt-update-the-post-controls/47246 "2016-07-13T20:14:19Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [July 13, 2016, 8:14pm UTC](https://meta.discourse.org/t/bookmarking-a-topic-doesnt-update-the-post-controls/47246/1 "2016-07-13T20:14:19Z")

</div>

Not sure when it broke but when you bookmark a topic using the f keyboard shortcut it doesn’t update the UI. Requires a reload of the page to appear.

---

<div class="post-metadata">

### Author: ![TechnoBear](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/technobear/32/40546_2.png) [@TechnoBear](https://meta.discourse.org/u/TechnoBear)
#### Post date: [July 15, 2016, 10:32am UTC](https://meta.discourse.org/t/bookmarking-a-topic-doesnt-update-the-post-controls/47246/2 "2016-07-15T10:32:46Z")

</div>

Using b - as listed in the shortcut menu - seems to work correctly for bookmarking (unless I’ve misunderstood the issue).

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [July 15, 2016, 10:45am UTC](https://meta.discourse.org/t/bookmarking-a-topic-doesnt-update-the-post-controls/47246/3 "2016-07-15T10:45:14Z")

</div>

Yeah, b works fine, but f doesn’t. It should update the bookmark icon of the first post of a topic.

---

<div class="post-metadata">

### Author: ![TechnoBear](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/technobear/32/40546_2.png) [@TechnoBear](https://meta.discourse.org/u/TechnoBear)
#### Post date: [July 15, 2016, 10:54am UTC](https://meta.discourse.org/t/bookmarking-a-topic-doesnt-update-the-post-controls/47246/4 "2016-07-15T10:54:28Z")

</div>

Ah, sorry. I didn’t even realise f still existed as a shortcut, after the demise of starred topics. 😊

Testing just now (Firefox 47 on Ubuntu Gnome 16.04), it bookmarks the first post but requires a reload for the bookmark to show, as you say. Using it to toggle the bookmark off again produces a “Sorry, an error has occurred” message, although reloading the page reveals that sometimes the bookmark has cleared and sometimes it has not. 😕

---

<div class="post-metadata">

### Author: ![gerhard](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gerhard/32/119479_2.png) [@gerhard](https://meta.discourse.org/u/gerhard)
#### Post date: [July 15, 2016, 10:59am UTC](https://meta.discourse.org/t/bookmarking-a-topic-doesnt-update-the-post-controls/47246/5 "2016-07-15T10:59:06Z")

</div>

Also, you get a non-descriptive error message when you press f too often.

> Sorry, an error has occurred.

The error message for b is a lot better:

> We have a daily limit on how many times that action can be taken. Please wait 56 seconds before trying again.

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [May 9, 2017, 5:50pm UTC](https://meta.discourse.org/t/bookmarking-a-topic-doesnt-update-the-post-controls/47246/6 "2017-05-09T17:50:20Z")

</div>

> [@zogstrip](#):
>
> Yeah, b works fine, but f doesn’t. It should update the bookmark icon of the first post of a topic.

Confirmed, still the case, @eviltrout this looks like an easy fix.

---

<div class="post-metadata">

### Author: ![eviltrout](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/eviltrout/32/5275_2.png) [@eviltrout](https://meta.discourse.org/u/eviltrout)
#### Post date: [May 9, 2017, 7:44pm UTC](https://meta.discourse.org/t/bookmarking-a-topic-doesnt-update-the-post-controls/47246/7 "2017-05-09T19:44:28Z")

</div>

Okay I have two fixes here. One restores the keyboard shortcut, and one shows a better error message if you go over your rate limit:

[https://github.com/discourse/discourse/commit/ae15b10cf8c991ec0745a4d843ad243eafc9a4e5](https://github.com/discourse/discourse/commit/ae15b10cf8c991ec0745a4d843ad243eafc9a4e5)

[https://github.com/discourse/discourse/commit/a1baf739569841c030ffd15e84045ab5c1755630](https://github.com/discourse/discourse/commit/a1baf739569841c030ffd15e84045ab5c1755630)

---

<div class="post-metadata">

### Author: ![eviltrout](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/eviltrout/32/5275_2.png) [@eviltrout](https://meta.discourse.org/u/eviltrout)
#### Post date: [May 9, 2017, 7:44pm UTC](https://meta.discourse.org/t/bookmarking-a-topic-doesnt-update-the-post-controls/47246/8 "2017-05-09T19:44:31Z")

</div>


