You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Image source not updating when original file is delete then replaced with the same filename #10700
I expect that the image source in OBS will be updated in about 1-2 seconds after overwriting the source file.
Current Behavior
When the source file is deleted and replaced with the same filename, image source in OBS does not update
Steps to Reproduce
Create image source in OBS
Select any image file as source
Delete image file
Create new image file with the same filename
OBS does not update image source
...
Anything else we should know?
This workflow is different from saving/overwriting from imaging software like Photoshop. My workflow requires the original file to be deleted and then replaced with another file of the same filename. My workflow is similar to GrandyB sheets.io
Just noting that I would not expect this to work. I don't think we're watching image sources for file changes once loaded, and doing so is likely non-trivial.
I don't think we're watching image sources for file changes once loaded, and doing so is likely non-trivial.
OBS is comparing file timestamps to watch image sources for changes. If the file timestamps changes, which should happen if the file is deleted and recreated, then OBS should reload the image.
This could be related to the bug I encountered and opened a PR for: #8783
Activity
Fenrirthviti commentedon May 20, 2024
Just noting that I would not expect this to work. I don't think we're watching image sources for file changes once loaded, and doing so is likely non-trivial.
adampoit commentedon Oct 14, 2024
OBS is comparing file timestamps to watch image sources for changes. If the file timestamps changes, which should happen if the file is deleted and recreated, then OBS should reload the image.
This could be related to the bug I encountered and opened a PR for: #8783