# Is there a workaround for Issue 1394- sidebar shows full content

**URL:** <https://org-roam.discourse.group/t/is-there-a-workaround-for-issue-1394-sidebar-shows-full-content/2171>\
**Category:** Troubleshooting\
**Created:** [November 2, 2021, 6:01pm UTC](https://org-roam.discourse.group/t/is-there-a-workaround-for-issue-1394-sidebar-shows-full-content/2171 "2021-11-02T18:01:13Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![jeep](https://yyz2.discourse-cdn.com/free1/user_avatar/org-roam.discourse.group/jeep/32/983_2.png) [@jeep](https://org-roam.discourse.group/u/jeep)\
**Post date:** [November 2, 2021, 6:01pm UTC](https://org-roam.discourse.group/t/is-there-a-workaround-for-issue-1394-sidebar-shows-full-content/2171/1 "2021-11-02T18:01:14Z")

</div>

The recent change in behavior of the side buffer has really thrown my workflow for a loop. Is there a workaround for this issue that anyone has found? [roam-buffer shows full content of backlinks/reflinks · Issue #1934 · org-roam/org-roam · GitHub](https://github.com/org-roam/org-roam/issues/1934)

If not, I will try to revert back to an older version, but I’m not sure how far back I will need to go. It was 2 weeks since I last updated.

---

<div class="post-metadata">

**Author:** ![nobiot](https://yyz2.discourse-cdn.com/free1/user_avatar/org-roam.discourse.group/nobiot/32/159_2.png) [@nobiot](https://org-roam.discourse.group/u/nobiot)\
**Post date:** [November 2, 2021, 6:35pm UTC](https://org-roam.discourse.group/t/is-there-a-workaround-for-issue-1394-sidebar-shows-full-content/2171/2 "2021-11-02T18:35:16Z")

</div>

Following Jethro’s comment for #1923, how about overriding the functions and revert the changes of this commit? [fix(org-roam-db-map-links): Consider link in properties drawers by rdrg109 · Pull Request #1868 · org-roam/org-roam · GitHub](https://github.com/org-roam/org-roam/pull/1868/files)

I’m stabbing in the dark; just an idea

---

<div class="post-metadata">

**Author:** ![jeep](https://yyz2.discourse-cdn.com/free1/user_avatar/org-roam.discourse.group/jeep/32/983_2.png) [@jeep](https://org-roam.discourse.group/u/jeep)\
**Post date:** [November 2, 2021, 7:34pm UTC](https://org-roam.discourse.group/t/is-there-a-workaround-for-issue-1394-sidebar-shows-full-content/2171/3 "2021-11-02T19:34:01Z")

</div>

Thanks for the suggestion. I overrode the two functions in that commit to match what they were before but when I try to sync the database I get an error that looks related. I don’t have time to troubleshoot this while on my lunch break, so I’ll look at it some more this evening. (about 5 hours after posting this message)

---

<div class="post-metadata">

**Author:** ![jeep](https://yyz2.discourse-cdn.com/free1/user_avatar/org-roam.discourse.group/jeep/32/983_2.png) [@jeep](https://org-roam.discourse.group/u/jeep)\
**Post date:** [November 3, 2021, 3:36am UTC](https://org-roam.discourse.group/t/is-there-a-workaround-for-issue-1394-sidebar-shows-full-content/2171/4 "2021-11-03T03:36:47Z")

</div>

Well, I’ve undone that one commit, but left everything else current. I can’t rebuild the database now, though. I don’t have the skill to immediately see what needs to be done to fix that and I don’t have the time to spend on this much longer, sadly. I might be able to try tomorrow, but this seems like it breaks org roam, though, right? Am I one of only a couple people seeing it?

---

<div class="post-metadata">

**Author:** ![nobiot](https://yyz2.discourse-cdn.com/free1/user_avatar/org-roam.discourse.group/nobiot/32/159_2.png) [@nobiot](https://org-roam.discourse.group/u/nobiot)\
**Post date:** [November 3, 2021, 7:21am UTC](https://org-roam.discourse.group/t/is-there-a-workaround-for-issue-1394-sidebar-shows-full-content/2171/5 "2021-11-03T07:21:18Z")

</div>

I can’t reproduce the issue.

Maybe it’s related to doom’s `+roam2` flag, if you use it?

- Normal backlinks do not reference itself.
- Reflinks reference themselves – issue?
- Neither get the whole buffer content

See my screen shot below. The buffer on top has `roam_refs` for [http://google.com](http://google.com), and the side-window on the left shows the backlinks for it. The buffer at the bottom has a URL [http://google.com](http://google.com) so the side-widow s showing it. As you can see, the side-window shows a self-reference and only the first paragraph, not the entire buffer content.

 ![image](https://global.discourse-cdn.com/free1/uploads/orgroam/original/1X/70502af4fe4a62eaecb1247056515ba85dc15ac0.png)

EDIT:  
Looks like it is a problem of Reflinks only? Backlinks don’t have the same problem:

 ![image](https://global.discourse-cdn.com/free1/uploads/orgroam/original/1X/dfc93ef5d66bf14a64077e568c1644680f1fc008.jpeg)

---

<div class="post-metadata">

**Author:** ![jeep](https://yyz2.discourse-cdn.com/free1/user_avatar/org-roam.discourse.group/jeep/32/983_2.png) [@jeep](https://org-roam.discourse.group/u/jeep)\
**Post date:** [November 3, 2021, 3:32pm UTC](https://org-roam.discourse.group/t/is-there-a-workaround-for-issue-1394-sidebar-shows-full-content/2171/6 "2021-11-03T15:32:19Z")

</div>

While I’ve been using this for a couple months now, I haven’t really dug into it enough to fully understand the difference between reflinks and backlinks. I added a screenshot of today’s behavior with some explanation of what I used to see to the ticket I linked in the original post.

---

<div class="post-metadata">

**Author:** ![nobiot](https://yyz2.discourse-cdn.com/free1/user_avatar/org-roam.discourse.group/nobiot/32/159_2.png) [@nobiot](https://org-roam.discourse.group/u/nobiot)\
**Post date:** [November 3, 2021, 6:11pm UTC](https://org-roam.discourse.group/t/is-there-a-workaround-for-issue-1394-sidebar-shows-full-content/2171/7 "2021-11-03T18:11:17Z")

</div>

[A short write-up](https://org-roam.discourse.group/t/understanding-file-refs/786/2) I did to explain reflinks a while back. It was for v1 but it should be still relevant—just replace `ref_key` (old term) with `roam_refs`. Hope it helps clarify its difference with backlinks.

---

<div class="post-metadata">

**Author:** ![nobiot](https://yyz2.discourse-cdn.com/free1/user_avatar/org-roam.discourse.group/nobiot/32/159_2.png) [@nobiot](https://org-roam.discourse.group/u/nobiot)\
**Post date:** [November 3, 2021, 6:15pm UTC](https://org-roam.discourse.group/t/is-there-a-workaround-for-issue-1394-sidebar-shows-full-content/2171/8 "2021-11-03T18:15:36Z")

</div>

Also the issue is now closed.

Solution: Downgrade Org mode to a stable version 9.5 from the bleeding edge commit that doom fetches.

---

<div class="post-metadata">

**Author:** ![jeep](https://yyz2.discourse-cdn.com/free1/user_avatar/org-roam.discourse.group/jeep/32/983_2.png) [@jeep](https://org-roam.discourse.group/u/jeep)\
**Post date:** [November 3, 2021, 6:34pm UTC](https://org-roam.discourse.group/t/is-there-a-workaround-for-issue-1394-sidebar-shows-full-content/2171/9 "2021-11-03T18:34:42Z")

</div>

That doesn’t solve the problem. I still see the same issue when I pin it to use org 9.5.

```auto
joe@jpeterso-mobl:~/.emacs.d/.local/straight/repos/org$ git log
commit 73875939a8b5545ac53a86ec467239f510d14de8 (HEAD, tag: release_9.5, replaced)

```

I will try to spend some more time tracking it down. You mentioned that you don’t see the issue from my screenshot. The text that says “This didn’t used to be here” used to not show up in the backlinks buffer. It only showed the one heading that had the link and the children to that heading. It sounds like it must be some interactions in doom.

---

<div class="post-metadata">

**Author:** ![jeep](https://yyz2.discourse-cdn.com/free1/user_avatar/org-roam.discourse.group/jeep/32/983_2.png) [@jeep](https://org-roam.discourse.group/u/jeep)\
**Post date:** [November 3, 2021, 7:13pm UTC](https://org-roam.discourse.group/t/is-there-a-workaround-for-issue-1394-sidebar-shows-full-content/2171/10 "2021-11-03T19:13:01Z")

</div>

I finally did get it working. Even though it showed the correct hash after a doom sync, it apparently wasn’t correct. After a doom upgrade, it now works. Thanks for the help! I greatly appreciate the time you spent helping with this.

---

<div class="post-metadata">

**Author:** ![J0ns4](https://avatars.discourse-cdn.com/v4/letter/j/eb9ed0/32.png) [@J0ns4](https://org-roam.discourse.group/u/J0ns4)\
**Post date:** [November 7, 2021, 5:04pm UTC](https://org-roam.discourse.group/t/is-there-a-workaround-for-issue-1394-sidebar-shows-full-content/2171/11 "2021-11-07T17:04:29Z")

</div>

How did you pin org to that commit - can you add the pin to packages.el even though it’s a doom module?

---

<div class="post-metadata">

**Author:** ![jeep](https://yyz2.discourse-cdn.com/free1/user_avatar/org-roam.discourse.group/jeep/32/983_2.png) [@jeep](https://org-roam.discourse.group/u/jeep)\
**Post date:** [November 7, 2021, 5:28pm UTC](https://org-roam.discourse.group/t/is-there-a-workaround-for-issue-1394-sidebar-shows-full-content/2171/12 "2021-11-07T17:28:02Z")

</div>

Yes, you can pin it. In ~/.doom.d/packages.el add this:

```auto
(package! org :pin "73875939a8b5545ac53a86ec467239f510d14de8")

```

---

<div class="post-metadata">

**Author:** ![J0ns4](https://avatars.discourse-cdn.com/v4/letter/j/eb9ed0/32.png) [@J0ns4](https://org-roam.discourse.group/u/J0ns4)\
**Post date:** [November 7, 2021, 6:05pm UTC](https://org-roam.discourse.group/t/is-there-a-workaround-for-issue-1394-sidebar-shows-full-content/2171/13 "2021-11-07T18:05:52Z")

</div>

Thanks!
