[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTableHeader bug & patch

From: Nicola Pero
Subject: Re: NSTableHeader bug & patch
Date: Wed, 17 Jan 2001 20:11:04 +0000 (GMT)

>>>>> "Pierre-Yves" == Pierre-Yves Rivaille <address@hidden> writes:

    Pierre-Yves> Hi, I have located a bug in NSTableViewHeader.m that
    Pierre-Yves> caused incoherent behaviour in the column resizing
    Pierre-Yves> code.

    Pierre-Yves> To be more explicit, when the user just clicked on
    Pierre-Yves> the resizing area (NSLeftMouseDown then NSLeftMouseUp
    Pierre-Yves> with no NSLeftMouseDragged in between), the variable
    Pierre-Yves> 'p' was left uninitialized and so the resizing occurs
    Pierre-Yves> with a wrong value.

    Pierre-Yves> The attached patch solve this problem (it was
    Pierre-Yves> generated with "diff -u NSTableHeaderView.m.old
    Pierre-Yves> NSTableHeaderView.m" )

Brilliant !

I slightly modified your patch to make sure the table view is not
retiled/redrawn if no resizing is done, and applied it.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]