Thanks for the clear report. I’ve reproduced and fixed this.
The _Pressed method names are internal plumbing that Studio uses to wire event handlers, and they shouldn’t normally appear in the member sidebar. The bug was that, when reopening the window tab, Studio rebuilt the member tree before it had wired up the project-defined events for custom controls. Because of that, handlers like CanvasButton1_Pressed and CanvasSwitch1_Pressed weren’t recognised as control event handlers and leaked into Methods.
The fix makes sure custom control events are available before the sidebar is rebuilt. I’ve also added a regression test with two Canvas subclasses that both declare Pressed, so this case should stay covered.
Fixed in the next release: https://feedback.objo.dev/bug/557