bugGNUstep - Bugs: bug #26277, Active NSColorWell sends its...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #26277: Active NSColorWell sends its action on setColor: (it shouldn't)

Submitted by:  Doug Simons <theeggcamefirst>
Submitted on:  Tue 21 Apr 2009 07:46:13 PM UTC  
 
Category: Gui/AppKitSeverity: 3 - Normal
Item Group: BugStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

Fri 24 Apr 2009 03:40:11 PM UTC, comment #2:

That works great for me. Thanks!

Doug Simons <theeggcamefirst>
Fri 24 Apr 2009 07:44:52 AM UTC, comment #1:

I made the change to send the action (and redisplay the well) only if the color changes.
Please give it a try.

Richard Frith-Macdonald <CaS>
Project Member
Tue 21 Apr 2009 07:46:13 PM UTC, original submission:

This is related to bug #25278 which was fixed in January. It turns out that when a color well has been activated, the setColor: method updates the color in the colorPanel, which in turn sends _takeColorFromPanel: back to the colorWell. That method then sends the action to the colorWell's target.

One simple solution would be to change the _takeColorFromPanel: method to only send the action if the color has actually been changed.

Doug Simons <theeggcamefirst>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by CaS (Posted a comment)
  • -unavailable- added by theeggcamefirst (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 24 Apr 2009 03:54:48 PM UTCCaSOpen/ClosedIn Test=>Closed
    Fri 24 Apr 2009 07:44:52 AM UTCCaSStatusNone=>Fixed
      Open/ClosedOpen=>In Test

    Back to the top


    Powered by Savane 3.1-cleanup1