Toggle open blocks (collapse or expand all blocks) not working

Hello,

Right clicking a block and clicking the “Expand All” or “Collapse All” menu item works. However, the equivalent keyboard shortcut for this operation, “t o” consistently opens or closes the last block on the page. For all pages I use this shortcut - it consistently fires on the last block only.

For example: I want to expand all child blocks for “Governance & Security Operations”, and upon entering “t o” on that selection, the last block opens, not the block selected.
Before

After

Any ideas?

1 Like

This question appeared earlier
Have the same problem with t o. And it looks like this happens with large pages. It’s like a time-out or something. I found a workaround:

  • I press left mouse button between menu and blocks so I could select all the blocks with Ctrl + A

    • Option 1 Call the right-click menu with dedicated keyboard shortcut. Because right-clicking one of the blocks deselects other blocks. Not all keyboard have this shortcut although I believe it can be additionally configured on the OS level. In the menu select Expand All. All child blocks regardless of the nested level now should be seen.
    • Option 2 Ctrl + ↓ is the shortcut for the Expand All. But it expands only the first level of nested blocks. So this should be repeated while there are still nested blocks starting from deselecting and then selecting all the blocks again. This workaround is slow. And even then sometimes some blocks are not visible till Logseq is restarted or Re-indexed from the menu.