Skip to content

Unsaved entries intermittently lost in Scene Edit Tags or Performers boxes #6466

@gregttx

Description

@gregttx

Describe the bug

When adding new tags or performers to a scene while the video is playing, all unsaved entries may disappear. This is happens intermittently issue. It can potentially go unnoticed and lead to loss of manual data entry. It happens more likely when the number of items to show in select dropdowns is high.
I started to notice the problem with version 0.30.1 after upgrading from 0.29.3.

Steps to reproduce

  1. In the Interface Editing Settings, set "Maximum number of items to show in select dropdowns" to a large value, like 1000 or more. This significantly increases the likelihood of witnessing problem very quickly. The problem is less likely to happen with smaller values, but it can still happen occasionally.
  2. Refresh the browser (to make sure that this new setting is being used, particularly if using multiple tabs)
  3. Open a scene, with preexisting tags and performers or not, and enter the Edit tab.
  4. If the Auto-Start is not enabled, press Play.
  5. Select the Tags edit box and enter at least one new entry without saving it. Keep the focus in the edit box, while the pulldown is close. Note: The pulldown will now take a noticeable fraction of a second to load. If not, check that step 1 and 2 have registered properly.
  6. At this point, the new entry may have already disappeared, without any further action, but most likely not.
  7. Press the first letter of the next entry to enter. Preferably using a different initial than the previous entry to defeat caching of the list. This will open of the pulldown list after displaying "Loading" briefly again. Select the next entry in the list. Repeat step 7 until the problem appears, pressing a different initial each time. It is not necessary to select a new entry. Just the action of triggering a new list in the pulldown and canceling the list is enough. It typically happens in less than 5-10 attempts.

Expected behaviour

No loss of data entry.

Screenshots or additional context

If unsaved entries exist in both Tags and Performers, both may be lost, but not always.
The same problem happens with the Performers entry box, but seems to takes more attempts.
The bug does not seem to reproduce when the video is paused, but it may just be less likely.
This happens on a variety of MP4 h264 videos of different lengths, resolutions and fps. Not sure about other formats.

Stash version

0.30.1

Device details

Chrome Version 143.0.7499.170 (Official Build) (64-bit) on Windows 11 Pro 25H2

Relevant log output

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug reportBug reports that are not yet verified

    Type

    No type

    Projects

    Status

    To triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions