Hey Quentin,On 2010-02-02, at 6:11 AM, Quentin Mathé wrote: On Fri, Jan 29, 2010 at 4:11 AM, Eric Wasylishen <address@hidden> wrote:
Author: ericwa
Date: Fri Jan 29 04:11:43 2010
New Revision: 29435
URL: http://svn.gna.org/viewcvs/gnustep?rev=29435&view=rev
Log:
NSSegmentedCell themeing support
I'm observing a weird bug I don't understand with this revision. Some table views don't drawn their table header and content.
I have attached a screenshot that shows how the broken table view looks.
I can eliminate the issue with the attached patch, but I don't understand why. -[NSSegmentedCell encode/initWithCoder:] doesn't seem to be called in my code too.
If I update to a more recent revision, it seems to get worse. This corrupts the left table view in my example too and the thin black border in the right table view header (visible in the screenshot) disappears.
The wrongly positioned icons in the toolbar are due to a completely unrelated issue with -drawInRect:, I'm running my example with a clean AppKit build (without my local fixes).
Cheers, Quentin.
<tableView-bug-with-r29435.png><fixTableViewIssueWith29435.patch> I'll try to figure out what's going on.
-Eric |