Hi Germán,

> Some weeks ago I tried to solve a problem with native Open/Save panels at 
> WinUXTheme. These panels don't have "accessory view", so the user can't 
> select other type of document. Then I tried use the methods +writableTypes 
> and +readableTypes in NSDocument. However, these methods not always return 
> the corresponding types. I tested WinUXTheme (my local copy) with Ink, Gorm 
> and Gemas. Ink works perfectly. Gorm only show the types at Open panels, but 
> in Save panels +writableTypes return an empty array. In Gemas both methods, 
> +readableTypes and +writableTypes, return an empty array. I tested this on my 
> GNU/Linux machine, and I can confirm that these methods sometimes return an 
> empty array. Even when readable/writable types are clearly declared at 
> info.plist. Is this the expected behavior?

No this isn't the expected behavior and I couldn't reproduce it on a few quick 
tests. Are you sure that you are calling this method against the right class 
object?

Wolfgang


_______________________________________________
Gnustep-dev mailing list
Gnustep-dev@gnu.org
https://lists.gnu.org/mailman/listinfo/gnustep-dev

Reply via email to