-
-
Notifications
You must be signed in to change notification settings - Fork 978
Description
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
- 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.
- Refresh the browser (to make sure that this new setting is being used, particularly if using multiple tabs)
- Open a scene, with preexisting tags and performers or not, and enter the Edit tab.
- If the Auto-Start is not enabled, press Play.
- 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.
- At this point, the new entry may have already disappeared, without any further action, but most likely not.
- 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
Labels
Type
Projects
Status