Re: Picture missing in About dialog on cocoa ui

2021-08-17 Thread Peter Maydell
On Mon, 16 Aug 2021 at 21:55, Programmingkid wrote: > > > > > On Jul 8, 2021, at 2:38 PM, Programmingkid > > wrote: > > > > > > > >> On Jul 8, 2021, at 1:50 PM, Peter Maydell wrote: > >> > >> On Thu, 8 Jul 2021 at 17:28, Programmingkid > >> wrote: > >>> The problem with e31746ecf8dd2f25f687c9

Re: Picture missing in About dialog on cocoa ui

2021-08-16 Thread Programmingkid
> On Jul 8, 2021, at 2:38 PM, Programmingkid wrote: > > > >> On Jul 8, 2021, at 1:50 PM, Peter Maydell wrote: >> >> On Thu, 8 Jul 2021 at 17:28, Programmingkid >> wrote: >>> The problem with e31746ecf8dd2f25f687c94ac14016a3ba5debfc is it requires a >>> picture file to be found in a certa

Re: Picture missing in About dialog on cocoa ui

2021-07-09 Thread Akihiko Odaki
On Sat, Jul 10, 2021 at 11:43 AM Programmingkid wrote: > > > > > On Jul 8, 2021, at 8:15 PM, Akihiko Odaki wrote: > > > > I tried [NSApp applicationIconImage] but had no luck. I suspect it is > > because Rez is for Carbon development and deprecated while NSApp is > > from AppKit. Loading from the

Re: Picture missing in About dialog on cocoa ui

2021-07-09 Thread Programmingkid
> On Jul 8, 2021, at 8:15 PM, Akihiko Odaki wrote: > > I tried [NSApp applicationIconImage] but had no luck. I suspect it is > because Rez is for Carbon development and deprecated while NSApp is > from AppKit. Loading from the filesystem is inevitable. Totally disagree. I'm on a new MacBook A

Re: Picture missing in About dialog on cocoa ui

2021-07-08 Thread Akihiko Odaki
I tried [NSApp applicationIconImage] but had no luck. I suspect it is because Rez is for Carbon development and deprecated while NSApp is from AppKit. Loading from the filesystem is inevitable. By the way, I knew Rez is from Carbon but didn't know it is deprecated, which I have figured out just no

Re: Picture missing in About dialog on cocoa ui

2021-07-08 Thread Programmingkid
> On Jul 8, 2021, at 1:50 PM, Peter Maydell wrote: > > On Thu, 8 Jul 2021 at 17:28, Programmingkid wrote: >> The problem with e31746ecf8dd2f25f687c94ac14016a3ba5debfc is it requires a >> picture file to be found in a certain path. My original code used QEMU's >> icon to obtain a picture. The

Re: Picture missing in About dialog on cocoa ui

2021-07-08 Thread Peter Maydell
On Thu, 8 Jul 2021 at 17:28, Programmingkid wrote: > The problem with e31746ecf8dd2f25f687c94ac14016a3ba5debfc is it requires a > picture file to be found in a certain path. My original code used QEMU's > icon to obtain a picture. The reason why the picture in the About dialog > stopped appearing

Re: Picture missing in About dialog on cocoa ui

2021-07-08 Thread Programmingkid
> On Jul 8, 2021, at 1:37 AM, Akihiko Odaki wrote: > > Hi, > > My installation correctly shows the picture. Please make sure you > install it and run the installed binary (not the binary located in the > build directory). The new code should work reliably once you install > it while the old c

Re: Picture missing in About dialog on cocoa ui

2021-07-08 Thread Programmingkid
> On Jul 8, 2021, at 4:58 AM, Peter Maydell wrote: > > On Thu, 8 Jul 2021 at 06:38, Akihiko Odaki wrote: >> >> Hi, >> >> My installation correctly shows the picture. Please make sure you >> install it and run the installed binary (not the binary located in the >> build directory). The new c

Re: Picture missing in About dialog on cocoa ui

2021-07-08 Thread Peter Maydell
On Thu, 8 Jul 2021 at 06:38, Akihiko Odaki wrote: > > Hi, > > My installation correctly shows the picture. Please make sure you > install it and run the installed binary (not the binary located in the > build directory). The new code should work reliably once you install > it while the old code ma

Re: Picture missing in About dialog on cocoa ui

2021-07-07 Thread Akihiko Odaki
Hi, My installation correctly shows the picture. Please make sure you install it and run the installed binary (not the binary located in the build directory). The new code should work reliably once you install it while the old code may or may not work depending on how you execute the binary. Rega

Picture missing in About dialog on cocoa ui

2021-07-07 Thread Programmingkid
Hello, now that the code to add the icon to QEMU has been restored for Mac OS, I think it is time to revert patch e31746ecf8dd2f25f687c94ac14016a3ba5debfc. This patch was made to fix the missing icon in the About dialog but it doesn't seem to work any more. I do not see a picture in the About di