radiant-player / radiant-player-mac

:notes: Turn Google Play Music into a separate, beautiful application that integrates with your Mac.
http://radiant-player.github.io/radiant-player-mac/
MIT License
3k stars 264 forks source link

Radiant 1.9.0 crashes when exiting full screen #582

Open AmigaAbattoir opened 7 years ago

AmigaAbattoir commented 7 years ago

I accidentally set Radiant to fullscreen, and now whenever I try exiting fullscreen, either by the menu, or the green button, it just crashes

Here's an except from the crash report:

Process: Radiant Player [50208] Path: /Applications/Radiant Player.app/Contents/MacOS/Radiant Player Identifier: com.sajidanwar.Radiant-Player Version: 1.9.0 (1.9.0) Code Type: X86-64 (Native) Parent Process: ??? [1] Responsible: Radiant Player [50208] User ID: 502

Date/Time: 2016-08-04 13:24:40.581 -0400 OS Version: Mac OS X 10.11.6 (15G31) Report Version: 11 Anonymous UUID: C2AD96ED-92CF-7CBF-F6F7-02B69ED73F0A

Sleep/Wake UUID: AEDCCAC5-3704-45E7-B82E-062CB0BC7273

Time Awake Since Boot: 35000 seconds Time Since Wake: 1200 seconds

System Integrity Protection: disabled

Crashed Thread: 0 Dispatch queue: com.apple.main-thread

Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Exception Note: EXC_CORPSE_NOTIFY

Application Specific Information: *\ Terminating app due to uncaught exception 'CALayerInvalidGeometry', reason: 'CALayer position contains NaN: [840 nan]' abort() called terminating with uncaught exception of type NSException

jacobwgillespie commented 7 years ago

Can you check this again on Radiant v1.10.0 (just released)? Thanks!

AmigaAbattoir commented 7 years ago

If try leaving full screen, it still gives me the same results:

Application Specific Information: *\ Terminating app due to uncaught exception 'CALayerInvalidGeometry', reason: 'CALayer position contains NaN: [840 nan]' abort() called terminating with uncaught exception of type NSException

jacobwgillespie commented 7 years ago

Thanks for checking.

Do you have any more details on your setup? Which Mac model, are you using an external monitor, any software installed that manages windows, etc.

AmigaAbattoir commented 7 years ago

This was on my work's laptop, (haven't had time to test at home). It's a Macbook Pro (Retina, 13-inch, Early 2015) with Intel Iris Graphics 6100. I was using an external Samsung 1080P monitor. There's no window management software installed. I also tried with just the laptop and it still happens.

ghost commented 7 years ago

I also am having this issue. It seems to be associated with the custom title bar. When turning that off in preferences it works just fine.

jacobwgillespie commented 7 years ago

Can you check this with v1.11.0?

ghost commented 7 years ago

Just checked. Still crashing with custom title bar on.

AmigaAbattoir commented 7 years ago

I just tried with v1.11.0, and I was able to use both the green window gadget to go full screen and back, and with both the "custom title bar" on and off.