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).
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.
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.
@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.