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 report) Issue with overwriting tags/relationships while using specific shortcuts #4077

Closed
YestermorrowONill opened this issue Jul 3, 2023 · 6 comments

Comments

@YestermorrowONill
Copy link

Trilium Version

0.60.4

What operating system are you using?

Windows

What is your setup?

Local (no sync)

Operating System Version

Windows 11

Description

When using the shortcuts Alt+L or Alt+R consecutively to create tags or relationships, the previously edited tags or relationships are automatically carried over to the current note. This issue does not occur when the shortcuts are not used. Additionally, it even results in the current note’s edited tags being overwritten by the previously edited ones. This issue has been present since very early versions.

Could you please assist in resolving this issue? Thank you!

Error logs

No response

@zadam
Copy link
Owner

zadam commented Jul 9, 2023

Hello, would it be possible to record a screencast? I'm not able to reproduce this ...

@YestermorrowONill
Copy link
Author

YestermorrowONill commented Jul 10, 2023

Sorry, I’m not able to upload videos at the moment. However, it is easy to reproduce this issue. My previous description may not have been accurate, which led to your inability to reproduce the problem. Here are the steps to reproduce the issue:

  1. Create a note A and use Alt + L to create a tag, for example, alias = test.
  2. Create a second note B and use Alt + L to try to create a tag, and you will notice that the tag from step 1 appears in the second note.

@zadam

@zadam
Copy link
Owner

zadam commented Jul 15, 2023

Unfortunately still no success. If you press Alt+L, it will create a label with the default name "myLabel". But other than that I don't see how the label is being copied from the note A to note B :-(

@YestermorrowONill
Copy link
Author

issue
@zadam

@zadam
Copy link
Owner

zadam commented Jul 17, 2023

Thanks. The part I was missing is that you press ALT+L without first activating the "Owned attributes" ribbon tab. Now I can reproduce the issue.

@zadam
Copy link
Owner

zadam commented Jul 17, 2023

Fixed, will be in 0.61.

@zadam zadam closed this as completed Jul 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants