Re: NSOpenPanel weirdness
Re: NSOpenPanel weirdness
- Subject: Re: NSOpenPanel weirdness
- From: Stéphane Sudre <email@hidden>
- Date: Thu, 8 Jan 2004 00:24:17 +0100
It's not coming from the MOKit after close examination.
Further investigation brought the following information:
* The Contextual Menu Item issue was due to the fact that the file name
really got broken I don't know how
* The /mach_kernel bug: it's really a bug in the AppKit, it's occurring
in other applications.
* The gray ghost lines bug: it's not occurring in 10.3 but is also
occurring both in 10.2.6 & 10.2.8 with my app only. I tried a lot of
things to see where it was coming from. Still no success, I need to
keep on investigating.
On mercredi, janvier 7, 2004, at 10:20 PM, Mike Ferris wrote:
There's a compile-time macro and/or a runtime user default you can set
in MOKit to disable the funky stuff it is doing... Try running your
code with the user default MOKitAllowsMethodReplacement set to "NO".
This should at least help to definitely eliminate MOKit from the
potential causes of your problems.
Mike Ferris
Begin forwarded message:
From: Stiphane Sudre <email@hidden>
Date: January 6, 2004 4:25:25 PM PST
To: email@hidden
Subject: NSOpenPanel weirdness
I'm getting some really weird behaviors with NSOpenPanel in an
application I'm writing (Mac OS X 10.2 / ProjectBuilder):
It's a Multi-documents application.
I display the Open Panel with this code:
[...]
The strange behaviors are:
* When I scroll a Open Panel file browser column vertically, I have
horizontal ghost lines in the column
* When I display the /Library content, the Contextual Menu Item line
is displayed as if there was a \r before it and the same vertical
offset appears in the PopupButton
* When I select the mach kernel file at /mach_kernel, I get this in
the Run log:
*** -[NSFileManager fileSystemRepresentationWithPath:]: nil or empty
path argument
I'm using the MOKit.framework which is doing some hacky thing with
the NSView but since I haven't seen any issue with other widgets or
UI part, I'm not sure it's related.
Has someone seen something like this?
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.