javalent / dice-roller

Inline dice rolling for Obsidian.md
274 stars 28 forks source link

Rendering Differences #196

Open sigrunixia opened 1 year ago

sigrunixia commented 1 year ago
          I still experience the same issue. It there is a difference between the three places where the result is shown. rendered dice: 20. Top-right: 20. Text in obsidian, the only one that stays, btw, 3. 

But only with the first throw of a dice-set.

I can reproduce by adding these lines:

dice: 1d6
dice: 3d20k

Click upper one, should show difference between rendered and what is shown in the text-document. switch to the lower one, same. It is not happening though, when you use the same dice twice or more times. It's only the first time it is been used.

Originally posted by @ImmoNilsEckelt in https://github.com/javalent/dice-roller/issues/152#issuecomment-1517737895

sigrunixia commented 1 year ago

Creating new issue as @ImmoNilsEckelt is still continuing to have problems (and we're bumping this to newer versions of dice roller).

@ImmoNilsEckelt : Does dice roller produce any errors in the developer tools when you attempt this, and what is your current version of dice roller?

sigrunixia commented 1 year ago

Bugtesting

Obsidian Version: Insiders 1.2.5 Installer Version: 1.1.9 Dice Roller Version: 8.14.2

Plugins Enabled: Dice Roller

Entering Directly into a Note in Live preview

dice

Going from a different note then clicking in Live Preview

dice-2

Going from a different note then clicking in reading mode

dice-3

Opening Vault

dice-4

In my testing, the inline renders matched the rolls and the notification results. We may need to look at something deeper here.

PrestaJay commented 1 year ago

Hi, I just installed Dice Roller for the first time and I am also experiencing this issue. Below are my version details:

Obsidian Version: 1.1.16 Installer Version: 1.1.16 Dice Roller Version: 8.14.5

I am not seeing any errors in the Developer Console when I attempt this.

As with the original report, the rendered dice match the little black box that appears in the top-right, however the value shown inline in the document is different. I've attached a screenshot with the formatting set to include the results inline.

This is happening the first time I click on an inline button to roll, but subsequent clicks of the same button will not cause the issue. However, clicking a different dice button will cause the issue.

Please let me know any other information I can provide to help troubleshoot.

Dice Roller #196 Test

sigrunixia commented 1 year ago

Let's look at other factors as well...

@PrestaJay Can you include what your system language is, as well as keyboard layout?

PrestaJay commented 1 year ago

My system language is English (United States) and my keyboard layout is also U.S.

If it's helpful, I'm able to reproduce it on both MacOS 13 and Windows 10.

empro-nilseckelt commented 1 year ago

Just checked, still experiencing this issue.

Obsidian: Version 1.1.16 (Installer 0.15.8) Dice Roller Version: 8.14.5

German System Language Keyboard Layout is US

Thanks for continue looking into this issue.

PrestaJay commented 1 year ago

Hi, some quick extra info that I have updated to v1.2.7 today and I'm still experiencing the issue in that version.

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

PrestaJay commented 1 year ago

Is there any other information I can provide to help with diagnosing or isolating?

sigrunixia commented 1 year ago

Is there any other information I can provide to help with diagnosing or isolating?

Not at all. :) Summer is usually slow for Javalent, but this year it's been super busy. This is bunched to be worked with a major dice roller rewrite.