MMTabBarView icon indicating copy to clipboard operation
MMTabBarView copied to clipboard

viewDidEndLiveResize in MMTabBarView causes window to freeze on Mojave when entering full screen window mode.

Open brendand opened this issue 7 years ago • 3 comments

It seems to have something to do with viewDidEndLiveResize:

    for (MMAttachedTabBarButton *aButton in [self attachedButtons]) {
		[[aButton indicator] startAnimation:self];
	}

	[self _checkWindowFrame];
	[self update:NO];
}

If you comment out [[aButton indicator] startAnimation:self]; then it no longer freezes.

brendand avatar Sep 14 '18 01:09 brendand

If the window is frozen, clicking outside the app allows it to complete the transition to full screen mode. So even just clicking on an icon in the Dock allows it to continue.

brendand avatar Sep 14 '18 01:09 brendand

I confirm the problem, and that removing the animations in -viewDidEndLiveResize: work around it.

barijaona avatar Jan 05 '19 15:01 barijaona

I switched:

[[aButton indicator] startAnimation:self];

to

[[aButton indicator] performSelector:@selector(startAnimation:) withObject:nil afterDelay:0.0];

And that sorted the issue as well.

hankinsoft avatar Sep 20 '19 14:09 hankinsoft