Re: NSToolbar in Catalina

2020-03-23 Thread Tom Doan via Cocoa-dev
On looking at the particulars of the icons that are working and those that are not, it looks like anything that has a high resolution (128 x 128) is displaying wrong, while the ones that I never updated from 48 x 48 work correctly. > I had a similar problem with .icns files showing weird graphi

Re: NSToolbar in Catalina

2020-03-23 Thread St John, David R via Cocoa-dev
I had a similar problem with .icns files showing weird graphics but on Mojave and earlier they were fine. I resolved the issue by using Icon Composer (on macOS 10.10) to extract the '.icns' file(s) to iconsets and then importing them into an Asset Library. The NSImage creation changed to use i

Re: NSToolbar in Catalina

2020-03-23 Thread Tom Doan via Cocoa-dev
To provide a bit of additional information, the toolbar icons are fetched with image = [[NSImage alloc] initByReferencingFile:[mainBundle pathForResource:identifier ofType:@"icns"]]; > I'm having a very odd problem. I use NSToolbar/NSToolbarItem to > manage toolbars in my applic