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

🐞 Auto Roll dice setting issues with "Always Render Dice" and "Log All Rolls to Dice Tray" #353

Open
6 of 7 tasks
deathau opened this issue Oct 29, 2024 · 0 comments
Open
6 of 7 tasks

Comments

@deathau
Copy link

deathau commented Oct 29, 2024

Check for existing bug reports before submitting.

  • I searched for existing Bug Reports and found no similar reports.

Expected Behavior

When I set "Dice Rollers" > "Auto Roll dice" to "Empty", I expect that next time I open a file containing dice rollers (or restart Obsidian) that the rollers will appear empty and no rolls will be logged to the Dice Tray

Current behaviour

When I set "Dice Rollers" > "Auto Roll dice" to "Empty", and "Always Render Dice" is on (I like the pretty 3D dice), all dice rollers on a given page have values next to them.

When I set "Log All Rolls to Dice Tray" on, all dice rollers on the page push a result to the dice tray.

If "Always Render Dice" off, the dice rollers on the page remain empty, but rolls still populate the dice tray (unless "Log All Rolls to Dice Tray" is also off)

Reproduction

  • Set "Dice Rollers" > "Auto Roll dice" to "Empty"

  • Set "Dice Rollers" > "Always Render Dice" to on

  • Set "Dice Rollers" > "Log all Rolls to Dice Tray" to on

  • Show the dice tray

  • Create a new note

  • type `dice: 1d6`

  • type enter for a new line or click somewhere else to de-focus the code and render the roller

  • The roll result is shown in the document and a roll result is shown in the dice tray

  • Set "Dice Rollers" > "Always Render Dice" to off

  • Focus the dice code

  • De-focus the code to render the roller

  • There is no roll result shown in the document, but a roll result is added to the dice tray anyway

Which Operating Systems are you using?

  • Android
  • iPhone/iPad
  • Linux
  • macOS
  • Windows

Obsidian Version Check

1.7.4 (Installer 1.4.13)

Plugin Version

11.3.4

Confirmation

  • I have disabled all other plugins and the issue still persists.

Possible solution

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant