Second Window not applying Custom window names

Whenever I send an image to a customized Second Window, the name of the poped up window still remains the name of the image file and the obsidian version instead of the custom name of the screen.

In my workflow I use OBS to pick up different images that I switch around showing, that’s where Second Window comes in. I have created 3 different named windows: Background, Portrait, and Item. I switch the images whenever the location changes or when a new NPC is talking to my players their picture gets sent to the “Portrait” window.

Problem is that despite having checked for custom names, tried opening in any of the Second Windows, and trying to make changes on the appearance tab of Obsidian, the windows still get named after the image that’s being sent to them.

This should be called “Portrait” and nothing else.

image

Any idea of what I’m doing wrong? Thanks

It looks like that’s a community, yeah? I’d check their GitHub page for issues and post one if you don’t find anything.

Managed to solve it over there. I’ll leave the solution here for whoever comes next with the same issue, as the plugin does not get regular updates. It’s a workaround, but works.

The files for the plugins are stored in a subfolder under the directory that contains your vault. for example: “C:\Obsidian\WildBeyondTheWitchlight.obsidian\plugins\image-window”. (Note that the “.obsidian” directory is hidden. Click View - Show - Hidden Items to make it visible.) That directory contains the file main.js that contains the logic of this plugin.

! Make a copy of that file before you start messing with it so you can restore it easily if you break it.
Add “await sleep(200)” after the following line so it loks like

this.window.rootEl.querySelector(".status-bar")?.detach(),this.adjust(this.leaf,/image/.test((0,q.getType)(e.extension)));await sleep(200);