Unable to close plugin window

I’m the author of an internal plugin that is a hosted web app (not bundled) displayed within a single window.

Myself and my users have noticed in the last couple versions of Sketch that the window is unable to be closed as expected via the traffic close button. Others have reported this behavior with other windowed plugins, so it doesn’t appear to be specific to my plugin. I have also not changed anything with the Sketch plugin code in quite some time (most of my updates are to the web-based UI).

Anyone else running into this?

Running Sketch 101.8 on macOS Sequoia

CleanShot 2025-04-25 at 15.27.03

Same Here. Open a new Sketch File, Open a plugin, Close the plugin worked. Then Close the new Sketch File an Open the Sketch File i worked on before. Then the Bug was gone… I could Open and Close Plugins as usal.

Hey folks, do you mind sending one of the affected plugins my way? I’ll try my best to troubleshoot.

Could be a private/proprietary one – doesn’t matter as I’m mostly interested in the way window-related events are handled. Thanks

1 Like

Thanks for following up, Dmitry. I’m not able to share my plugin, but I have noticed this issue also occurs with the Sketch Dev Tools plugin: Release v0.9.9 · skpm/sketch-dev-tools · GitHub

As Christian stated above, I’ve also noticed it sometimes works and, unfortunately, haven’t determined the specific scenario when it doesn’t, but it does happen regularly.

I will also do some more testing on my end to see what specific steps can repro it.

2 Likes

Hi Dmitry,

Here are two plugins where the problem occurred. I have not tested any others …

1 Like

Hello, does anyone from the Sketch team actually care? The problem persists … even in the current beta it occurs.

@Xhaust Sorry that no-one from the team has got to this thread yet. We’ve spent most of the day discussing plugins internally and coming up with a plan to make sure issues like this one get addressed properly. Will definitely be sharing more details as soon as we’ve finalized them, but overall I can assure you that we do care. I’m sorry if we’ve given you any other impression.

1 Like