# Inconsistent 'Show more context' results following blocks with bullets

**URL:** <https://forum.obsidian.md/t/inconsistent-show-more-context-results-following-blocks-with-bullets/84289>\
**Category:** Bug graveyard\
**Tags:** tracked\
**Created:** [June 25, 2024, 4:19pm UTC](https://forum.obsidian.md/t/inconsistent-show-more-context-results-following-blocks-with-bullets/84289 "2024-06-25T16:19:18Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![lglassburn](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/l/858c86/32.png) [@lglassburn](https://forum.obsidian.md/u/lglassburn)\
**Post date:** [June 25, 2024, 4:19pm UTC](https://forum.obsidian.md/t/inconsistent-show-more-context-results-following-blocks-with-bullets/84289/1 "2024-06-25T16:19:18Z")

</div>

### Steps to reproduce

Create a callout block with some text and a bulleted list, and further down the page create a block or callout block with more text. Use a keyword in the first line of the blocks to search for them, and ‘Show more context’ in the search pane. For the block following the bulleted list, the ‘show context’ will show a partial context. See the search pane in the picture, where there’s a partial line of text printed for the second ‘block’ search

### Did you follow the [troubleshooting guide](https://forum.obsidian.md/t/about-the-bug-reports-category/24/10)? [Y/N]

Y  
Did you try the above steps in the sandbox vault (or just any vault started in restricted mode, no snippets and default theme)?  
Yes, in picture

### Expected result

What do you expect to see after carrying out the steps above?  
For a searched keyword/tag in the title of a block, the ‘Show more context’ option used to show everything that was within a block. I use this for to do lists tagged by week, and the search pane is my favorite way to see my whole to do list that might be scattered across different files.

### Actual result

Instead of the full context, it shows some seemingly random number of characters following the search term.

### Environment

SYSTEM INFO:  
Obsidian version: v1.6.3  
Installer version: v1.6.3  
Operating system: Windows 10 Pro 10.0.19045  
Login status: not logged in  
Insider build toggle: off  
Live preview: on  
Base theme: light  
Community theme: none  
Snippets enabled: 0  
Restricted mode: on

RECOMMENDATIONS:  
none

* * *

### Additional information

Example from my vault - incomplete context in search pane on left, when it should show the full line of text from the block on the right.  
 ![image](https://forum.obsidian.md/uploads/default/original/3X/7/f/7f0aeee924743211542d790359ccd05e244cd234.png)

Example from sandbox vault - see second search result

 ![image](https://forum.obsidian.md/uploads/default/original/3X/d/c/dca09fce8528a01148e6d42abd4b164c849809f7.png)

---

<div class="post-metadata">

**Author:** ![WhiteNoise](https://forum.obsidian.md/user_avatar/forum.obsidian.md/whitenoise/32/11_2.png) [@WhiteNoise](https://forum.obsidian.md/u/WhiteNoise)\
**Post date:** [June 25, 2024, 4:20pm UTC](https://forum.obsidian.md/t/inconsistent-show-more-context-results-following-blocks-with-bullets/84289/2 "2024-06-25T16:20:57Z")

</div>

Does it happen in 1.6.5?

---

<div class="post-metadata">

**Author:** ![lglassburn](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/l/858c86/32.png) [@lglassburn](https://forum.obsidian.md/u/lglassburn)\
**Post date:** [June 25, 2024, 4:26pm UTC](https://forum.obsidian.md/t/inconsistent-show-more-context-results-following-blocks-with-bullets/84289/3 "2024-06-25T16:26:50Z")

</div>

Yes, I just downloaded 1.6.5 and still have the same issue.

---

<div class="post-metadata">

**Author:** ![WhiteNoise](https://forum.obsidian.md/user_avatar/forum.obsidian.md/whitenoise/32/11_2.png) [@WhiteNoise](https://forum.obsidian.md/u/WhiteNoise)\
**Post date:** [June 25, 2024, 4:27pm UTC](https://forum.obsidian.md/t/inconsistent-show-more-context-results-following-blocks-with-bullets/84289/4 "2024-06-25T16:27:16Z")

</div>

ok, attach here a copy of the note where this happens, because i am not sure I understand your problem.

---

<div class="post-metadata">

**Author:** ![lglassburn](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/l/858c86/32.png) [@lglassburn](https://forum.obsidian.md/u/lglassburn)\
**Post date:** [June 25, 2024, 4:34pm UTC](https://forum.obsidian.md/t/inconsistent-show-more-context-results-following-blocks-with-bullets/84289/5 "2024-06-25T16:34:37Z")

</div>

[Troubleshoot.md](https://forum.obsidian.md/uploads/short-url/6Cl9ZYmUtx64k56eaYfYKnxCXdj.md) (636 Bytes)

When searching for the word ‘context’ in the search bare, and checking ‘Show more context’, the search shows incomplete lines for the second block.

---

<div class="post-metadata">

**Author:** ![WhiteNoise](https://forum.obsidian.md/user_avatar/forum.obsidian.md/whitenoise/32/11_2.png) [@WhiteNoise](https://forum.obsidian.md/u/WhiteNoise)\
**Post date:** [June 25, 2024, 4:36pm UTC](https://forum.obsidian.md/t/inconsistent-show-more-context-results-following-blocks-with-bullets/84289/6 "2024-06-25T16:36:34Z")

</div>

Works for me

 ![Obsidian_ftIBwqIoQ1](https://forum.obsidian.md/uploads/default/original/3X/3/b/3bbfa389cb68e2ef2f3a74ab912715fbaa9df15f.png)

---

<div class="post-metadata">

**Author:** ![lglassburn](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/l/858c86/32.png) [@lglassburn](https://forum.obsidian.md/u/lglassburn)\
**Post date:** [June 25, 2024, 4:41pm UTC](https://forum.obsidian.md/t/inconsistent-show-more-context-results-following-blocks-with-bullets/84289/7 "2024-06-25T16:41:53Z")

</div>

Hmmm I’m really not sure why it works for you and not me. I have the sandbox open, and copy-pasted that troubleshoot text to a new note, and got the same incomplete context showing. I’m going to try to put together some different files to send over, and see if you can reproduce the problem. Thanks for looking into it!

 ![image](https://forum.obsidian.md/uploads/default/original/3X/c/e/ce5a9e62bfe057c250f0b2f2a4e29dcd9c8df64d.png)

---

<div class="post-metadata">

**Author:** ![lglassburn](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/l/858c86/32.png) [@lglassburn](https://forum.obsidian.md/u/lglassburn)\
**Post date:** [June 25, 2024, 5:07pm UTC](https://forum.obsidian.md/t/inconsistent-show-more-context-results-following-blocks-with-bullets/84289/9 "2024-06-25T17:07:06Z")

</div>

Well what I’m finding is that copy pasting text doesn’t reproduce the problem, and editing the text fixes the search bug.

The quick fix to my problem is slightly editing all my files that don’t show enough context in the search menu. I would love to hear if you have any thoughts on what might be going on, but the problem is extremely inconsistent and I’m not sure how to reproduce it.

Picture - search pane on left doesn’t match text on right

 ![image](https://forum.obsidian.md/uploads/default/original/3X/7/6/761717fd15c63928816ac4263f7a7f1bb9ddf8c3.png)

Picture - editing text on right made search pane show correct context

 ![image](https://forum.obsidian.md/uploads/default/original/3X/3/2/3292ccbfcd71fce7531e94c42ca358aae6daa079.png)

---

<div class="post-metadata">

**Author:** ![WhiteNoise](https://forum.obsidian.md/user_avatar/forum.obsidian.md/whitenoise/32/11_2.png) [@WhiteNoise](https://forum.obsidian.md/u/WhiteNoise)\
**Post date:** [June 25, 2024, 5:09pm UTC](https://forum.obsidian.md/t/inconsistent-show-more-context-results-following-blocks-with-bullets/84289/10 "2024-06-25T17:09:06Z")

</div>

Try this:

> [@Tasks inside callouts have incorrect positions in the cache](https://forum.obsidian.md/t/tasks-inside-callouts-have-incorrect-positions-in-the-cache/84057/5):
>
> In version 1.6.5 a new advanced settings will be introduced to force rebuild the metadata cache. If you are affected by this issue, go to Settings-\>Files and links-\>Advanced-\>Rebuild vault cache.

---

<div class="post-metadata">

**Author:** ![lglassburn](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/l/858c86/32.png) [@lglassburn](https://forum.obsidian.md/u/lglassburn)\
**Post date:** [June 25, 2024, 5:12pm UTC](https://forum.obsidian.md/t/inconsistent-show-more-context-results-following-blocks-with-bullets/84289/11 "2024-06-25T17:12:33Z")

</div>

Running that did fix all of the bad searches - thank you very much!!

---

<div class="post-metadata">

**Author:** ![system](https://forum.obsidian.md/uploads/default/original/3X/b/e/bec35fbd23ab28909bb6bfe62cb32eb82dd34019.png) [@system](https://forum.obsidian.md/u/system)\
**Post date:** [July 23, 2024, 5:13pm UTC](https://forum.obsidian.md/t/inconsistent-show-more-context-results-following-blocks-with-bullets/84289/12 "2024-07-23T17:13:32Z")

</div>

Closed on July 23, 2024, 5:13pm UTC

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
