obsidian-initiative-tracker icon indicating copy to clipboard operation
obsidian-initiative-tracker copied to clipboard

'Start Encounter' does not create a new log file

Open ftrx opened this issue 1 year ago • 0 comments

Check for existing bug reports before submitting.

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

Expected Behavior

In a named encounter block the 'Start Encounter' button should create a new encounter, which on play creates a new log file with the name of the encounter.

Current behaviour

The 'Start Encounter' button creates a new encounter, but no new log file is created. Instead the last log file will be continued.

One needs to first create a new encounter in the 'Initiative Tracker' (submenu 'New Encounter') window and than the 'Start Encounter' button will update the encounter and also create the correct log file when starting the encounter.

Reproduction

  1. Create two differently named encounters
  2. Start the first encounter.
  3. A new log file is created with the correct name
  4. End the encounter and start the second encounter.
  5. Instead of creating a new log file, it continues the previous one.
  6. Create a new Encounter in the Initiative Tracker Window.
  7. Start the second encounter again and it now creates the right log file.

Which Operating Systems are you using?

  • [ ] Android
  • [X] iPhone/iPad
  • [ ] Linux
  • [ ] macOS
  • [X] Windows

Obsidian Version Check

1.5.3 (Windows) and 1.4.16 (iOS)

Plugin Version

12.4.2

Confirmation

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

Possible solution

No response

ftrx avatar Jan 10 '24 13:01 ftrx