Ticket #37378

macOS版 Viewメニューから"Enter Full Screen"を削除

오픈 날짜: 2017-07-17 23:09 마지막 업데이트: 2017-07-17 23:22

Reporter:
소유자:
Type:
Status:
Closed
Priority:
5 - Medium
Severity:
5 - Medium
Resolution:
Fixed
File:
None

Details

OS X 10.11(El Capitan)から、MIDITrailのViewメニューに"Enter Full Screen"が表示されるようになった。 このメニューを選択しても何も起こらないが、不要なので非表示にする。

Ticket History (3/4 Histories)

2017-07-17 23:09 Updated by: yknk
  • New Ticket "macOS版 Viewメニューから"Enter Full Screen"を削除" created
2017-07-17 23:22 Updated by: yknk
댓글 올리기

原因

OSの仕様変更によるもの。下記ページ参照。

Developer Release Notes
Cocoa Application Framework (macOS 10.12.2 and Earlier)
https://developer.apple.com/library/content/releasenotes/AppKit/RN-AppKitOlderNotes/
----
Full Screen Menu Item
AppKit automatically creates an "Enter Full Screen" menu item after 
the application finishes launching if an equivalent menu item isn't found. 
If this menu item should not be created for your app, 
before NSApplicationDidFinishLaunchingNotification is sent you may set 
the NSFullScreenMenuItemEverywhere default to NO.

- (void)applicationWillFinishLaunching:(nonnull NSNotification *)notification {
    [[NSUserDefaults standardUserDefaults] setBool:NO forKey:@"NSFullScreenMenuItemEverywhere"];
}
----

2017-07-17 23:22 Updated by: yknk
댓글 올리기

対策

MIDITrailAppDelegate

アプリケーション起動処理開始メソッド applicationWillFinishLaunching:aNotification に以下の処理を追加。

[[NSUserDefaults standardUserDefaults] setBool:NO forKey:@"NSFullScreenMenuItemEverywhere"];

2017-07-17 23:22 Updated by: yknk
  • Resolution Update from None to Fixed
  • Status Update from Open to Closed
  • Ticket Close date is changed to 2017-07-17 23:22

Attachment File List

No attachments

Edit

Please login to add comment to this ticket » Login