Re: [MBS] NSWorkspaceMBS.iconForFile way too buggy

2020-02-06 Thread Marnaud
> Le 5 févr. 2020 à 15:53, Tim Jones a écrit: > > Hi Arnaud, > > Very few non-Xojo apps have 1024x1024 icons images. The 1024 Icons in Xojo > are part of the Windows needs more than the macOS needs. For the highest > level of success, you should only get the 512 icon and then manipulate it

Re: [MBS] NSWorkspaceMBS.iconForFile way too buggy

2020-02-05 Thread Tim Jones
> On Feb 3, 2020, at 3:34 AM, Marnaud wrote: > > >> Le 23 janv. 2020 à 17:21, Marnaud a écrit: >> >> Christian, have you checked whether it works on your side? >> On 2 of my computers (running 10.14.6), 1024 sized icons produce the same >> bug… > > Even if you haven't tried, please tell me.

Re: [MBS] NSWorkspaceMBS.iconForFile way too buggy

2020-02-05 Thread Marnaud
> Le 3 févr. 2020 à 16:11, Christian Schmitz a > écrit: > > Your choice, but 1024 pixel is the maximum resolution currently for file > icons on MacOS. > > It's 512 point at 2x resolution. > Eventually Apple could go to 3x or 4x and get even more pixels. My goal is to archive files, including

Re: [MBS] NSWorkspaceMBS.iconForFile way too buggy

2020-02-03 Thread Christian Schmitz
> > Even if you haven't tried, please tell me. I don't know whether I can rely on > 1024 icons. Are they important? Your choice, but 1024 pixel is the maximum resolution currently for file icons on MacOS. It's 512 point at 2x resolution. Eventually Apple could go to 3x or 4x and get even mo

Re: [MBS] NSWorkspaceMBS.iconForFile way too buggy

2020-02-03 Thread Marnaud
> Le 23 janv. 2020 à 17:21, Marnaud a écrit: > > Christian, have you checked whether it works on your side? > On 2 of my computers (running 10.14.6), 1024 sized icons produce the same bug… Even if you haven't tried, please tell me. I don't know whether I can rely on 1024 icons. Are they import

Re: [MBS] NSWorkspaceMBS.iconForFile way too buggy

2020-01-23 Thread Marnaud
> Le 22 janv. 2020 à 08:16, Christian Schmitz > a écrit: > >> With this method, trying with the same folder as the “old” way (which >> contains only 25 files), each call to obtain an icon takes around 4-5 >> seconds, > > Sounds like something is broken. Christian, have you checked whether i

Re: [MBS] NSWorkspaceMBS.iconForFile way too buggy

2020-01-22 Thread Marnaud
> Le 22 janv. 2020 à 08:16, Christian Schmitz > a écrit: > >> With this method, trying with the same folder as the “old” way (which >> contains only 25 files), each call to obtain an icon takes around 4-5 >> seconds, > > Sounds like something is broken. OK, I've done some more tests with a

Re: [MBS] NSWorkspaceMBS.iconForFile way too buggy

2020-01-22 Thread Marnaud
> Le 22 janv. 2020 à 08:16, Christian Schmitz > a écrit: > >> With this method, trying with the same folder as the “old” way (which >> contains only 25 files), each call to obtain an icon takes around 4-5 >> seconds, > > Sounds like something is broken. > Have you tried to reset the icon dat

Re: [MBS] NSWorkspaceMBS.iconForFile way too buggy

2020-01-21 Thread Christian Schmitz
> With this method, trying with the same folder as the “old” way (which > contains only 25 files), each call to obtain an icon takes around 4-5 seconds, Sounds like something is broken. Have you tried to reset the icon database? > Clearly, the NSWorkspace way isn't the good one for my needs (i

[MBS] NSWorkspaceMBS.iconForFile way too buggy

2020-01-21 Thread Marnaud
Hello, In the past, I used FolderItem.IconFamily to get icons of files/folders inside a given folder and stored that into a file (using a BinaryStream). This was really fast, used very low CPU and the resulting file were compressed; all was nice. Now that IconFamily is gone, I use the NSWorksp

Re: [MBS] NSWorkspaceMBS.iconForFile

2019-07-28 Thread Garth Hjelte
At 02:15 PM 7/28/2019, you wrote: >>I also need PPC support, but if I have to upgrade to 1.8.3, does that still >>support PPC? >No. PPC was dropped after 15.4, I think. Thanks for the link. >>The elephant in the room is, when I say "need PPC support", I obviously don't >>need PPC support for

Re: [MBS] NSWorkspaceMBS.iconForFile

2019-07-28 Thread Christian Schmitz
> > I checked your site and I fully understand I"m the only person using RS2011r3 > anymore... > It says for 2011r3 it handles "12.3 and newer", then says "Plugins for Real > Studio and REALbasic on our download page". The page is Older Real Studio plugins are on request. I'll send you a link

Re: [MBS] NSWorkspaceMBS.iconForFile

2019-07-28 Thread Garth Hjelte
At 09:53 AM 7/25/2019, you wrote: >>Please update. Your license covers 18.x. > >I have to consider that I'm using RS2011r3 still, and need it to support PPC >too. (I'm short time so I can't check if 18.x helps with that) > >>18.3 got a fix for NSImage and mask handling. I checked your site and I

Re: [MBS] NSWorkspaceMBS.iconForFile

2019-07-25 Thread Garth Hjelte
At 01:34 AM 7/25/2019, you wrote: >> Am 25.07.2019 um 06:49 schrieb Garth Hjelte : >> (Please don't laugh that I'm using MBS 16.4) >Please update. Your license covers 18.x. I have to consider that I'm using RS2011r3 still, and need it to support PPC too. (I'm short time so I can't check if 18.x

Re: [MBS] NSWorkspaceMBS.iconForFile

2019-07-25 Thread Christian Schmitz
> > That's very strange. I've just upgraded to Mojave one month ago; the “first” > thing I noticed in my apps were the icons had a black background, using the > old FolderItem.Icon (I didn't update my code); so I refactored my code to use > the new NSWorkspace function (the same code you have

Re: [MBS] NSWorkspaceMBS.iconForFile

2019-07-25 Thread Marnaud
> Le 25 juil. 2019 à 06:49, Garth Hjelte a écrit: > > (Please don't laugh that I'm using MBS 16.4) > > This is good code that works for me for extracting a icon from a FolderItem. > The context here is extracting the icons from the Volume() function. > > This is an example function. > >

Re: [MBS] NSWorkspaceMBS.iconForFile

2019-07-24 Thread Christian Schmitz
> Am 25.07.2019 um 06:49 schrieb Garth Hjelte : > > (Please don't laugh that I'm using MBS 16.4) Please update. Your license covers 18.x. > > My question is this: this works fine in all macOS, but it seems just in > Mojave that the mask doesn't exist - the background is black. Well, it wor

[MBS] NSWorkspaceMBS.iconForFile

2019-07-24 Thread Garth Hjelte
(Please don't laugh that I'm using MBS 16.4) This is good code that works for me for extracting a icon from a FolderItem. The context here is extracting the icons from the Volume() function. This is an example function. Dim f As FolderItem Dim P As Picture f = Volume(row)