import rumps
class BarApp(rumps.App):
@rumps.clicked("Test")
def test(self, _):
rumps.alert("Now click BarApp twice, then click OK.\nResult: segfault")
BarApp("BarApp").run()
To reproduce:
Select BarApp -> Test on the BarApp menu.
An alert box appears. Without dismissing the alert, click BarApp twice in the menu bar. The menu appears after the first click (with all menu items disabled, strangely), and is then dismissed after the second click.
Click OK in the alert box to get Segmentation fault: 11.
Changing rumps.alert to rumps.window gives the same behaviour.
On OS X 10.13, the following gives me a segfault.
To reproduce:
Segmentation fault: 11
.Changing
rumps.alert
torumps.window
gives the same behaviour.