INAppStoreWindow icon indicating copy to clipboard operation
INAppStoreWindow copied to clipboard

Exit full screen mode in Yosemite

Open TomLiu opened this issue 9 years ago • 7 comments

In Yosemite click the green traffic light can enter and exit full screen mode. INAppStoreWindow didn't show traffic light under full screen mode, users can't exit like other apps by clicking the green traffic light.

TomLiu avatar Jul 27 '14 10:07 TomLiu

I've hit the same issue too. Any ideas about a fix or a workaround?

mz2 avatar Sep 04 '14 10:09 mz2

I don't. I only use INAppStoreWindow for the ability to change title bar colour, so I'm probably going to abandon it and move to a textured window with custom content view.

martinjbaker avatar Sep 04 '14 11:09 martinjbaker

I was able to fix this issue and get the buttons to show for me by disabling these 3 lines in Yosemite: https://github.com/indragiek/INAppStoreWindow/blob/45c5f6bb9f07185b21bdd0dd7c7782d05ff46106/INAppStoreWindow/INAppStoreWindow.m#L1161-L1163.

As far as I can tell, the issue is caused by INAppStoreWindow trying to change the frame of the buttons (even if you didn't customise anything related to the window buttons). Disabling the change of frame of docIconButton might also be needed for document-based apps, not sure.

Unfortunately I don't have the time to look into this further and fix it properly (i.e. find a way to get the buttons to actually change frame reliably so they can be customised), so I can't submit a pull request.

Kapeli avatar Sep 04 '14 13:09 Kapeli

I can confirm that your workaround works on Yosemite. I've put our version of the workaround here: https://github.com/mekentosj/INAppStoreWindow/commit/23e06df5e9d5dba7afdab21bb94f62c7202fff1e

This needs some further work still -- the traffic light buttons don't center again after coming back from fullscreen with this workaround in place (they do center again after the window is resized after that).

mz2 avatar Sep 04 '14 17:09 mz2

Maybe this could be the answer: https://github.com/indragiek/INAppStoreWindow/pull/192

ingon avatar Oct 20 '14 08:10 ingon

@indragiek & @jakepetroules this seems to affect a lot of people, do you guys think we can get this fixed/merged?

ingon avatar Nov 12 '14 03:11 ingon

I have the same issue.

cparnot avatar May 07 '15 20:05 cparnot