Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Sub-headings with IDs wreak havoc on UI #297

Open
frankjonen opened this issue Jun 29, 2023 · 2 comments
Open

[BUG] Sub-headings with IDs wreak havoc on UI #297

frankjonen opened this issue Jun 29, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@frankjonen
Copy link

frankjonen commented Jun 29, 2023

Background

I have some level 2 headings that have an ID in their properties drawer as the only key / value pair.

Issue

Each time I click on one of them, the linked references in the sidebar run wild with uncounted duplicates.

Browsers

  • Safari
  • Brave

Example

:PROPERTIES:
:ID: the file ID 
:END:

#+title: Lord of the Rings

* Lord of the Rings
** The Two Towers 
   :PROPERTIES:
   :ID: the heading ID 
   :END: 

Causes that node to be rendered in UI like so

Linked references (1)

  • The Two Towers
  • The Two Towers

And once clicked, the fun begins. Randomly these or other links get added to the linked reference of nodes that aren't connected to the linked context. As an example Ducktales Adventures would have Home Alone: The Musical linked. The reference count doesn't change from the correct count though. It only adds the phantom linkage.

@frankjonen frankjonen added the bug Something isn't working label Jun 29, 2023
@PatrickNorton
Copy link

I can confirm this is happening on Firefox as well.

@uncomfyhalomacro
Copy link

I can confirm this as well. the contents of the subheadings are also duplicated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants