Minimizing all of an app's windows minimizes any Status Bar items as well
Originator: | jalkut | ||
Number: | rdar://29482498 | Date Originated: | 02-Dec-2016 12:40 PM |
Status: | Open | Resolved: | |
Product: | macOS + SDK | Product Version: | 10.12.2 (16C48b |
Classification: | UI/Usability | Reproducible: | Always |
Area: AppKit Summary: Because NSStatusItems are implemented as NSWindow, and appear in the window list of the host app, selecting Minimize All in an app that has status items installed will cause those status items to minimize to the Dock. In fact, the status item windows shouldn't minimize in any case, because they are not conceptually "windows" to a user. But the fact they do minimize is probably owing to another bug, rdar://problem/29482397, which causes an app's windows to be minimized even if the "miniaturizable" bit is not set on their styleMask. Steps to Reproduce: 1. Open attached project. 2. Build and run. 3. Hold the option key while either clicking the minimize button of the app's main window, or selecting Window -> Minimize All. Expected Results: Only the app's single window should minimize. Actual Results: The window, and status item "Hi" are minimized to the Dock. Version: 10.12.2 (16C48b) Notes: Configuration: Attachments: 'StatusItemWindowTest.zip' was successfully uploaded.
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!