AXStatusItemPopup icon indicating copy to clipboard operation
AXStatusItemPopup copied to clipboard

Crash if user double clicks to close

Open plaetzchen opened this issue 10 years ago • 1 comments

Hi there,

The component crashes if the user (for what ever reason) double clicks the NSStatusItem to close the popover. This is a fixed hidePopover method:

- (void)hidePopover
{
    if (_popover && _popover.isShown && self.active) {
        [_popover close];
        [NSEvent removeMonitor:_popoverTransiencyMonitor];
    }

    self.active = NO;

}

plaetzchen avatar Jun 25 '14 18:06 plaetzchen

:+1: This should be fixed.

dennispassway avatar Jun 21 '15 12:06 dennispassway