SelectTool subclass not drawing in background?

I have a tool plugin that is a subclass of SelectTool. In Glyphs 2, it could draw in the background, but in Glyphs 3, the background(self, layer) method seems not to be called …?

Could you send me that plugin for testing? The API has changed and I need to adapt the plugin wrapper.

You can see it in this minimal plugin that I made from the SelectTool template to isolate the issue: Demo.glyphsTool.zip (18.0 KB). It should draw a red bounding box rectangle in the background.

Now in 3048 it seems like neither the foreground nor background methods are called for tool plugins …

I fixed it. Thanks.

Still doesn’t work for me in 3050 …?