CPPopUpButton Bug: Title doesn't change upon changing selection

48 views
Skip to first unread message

Daniel Juanda

unread,
Feb 2, 2012, 10:55:56 PM2/2/12
to Cappuccino & Objective-J
Hi,

I believe there is a bug in CPPopUpButton.
The title displayed doesn't change when the selection in changed.
Although the variable 'title' does change when i check it, but not the
displayed title. Everything else works just fine.

It is highly susceptible that the changes to CPButton causes this,
because i tried reverting CPPopUpButton to an older version and it
still doesn't work. I can't test CPButton much because there has been
lots of changes.

Can somebody care to fix this?

Thanks
Daniel

Randy Luecke

unread,
Feb 4, 2012, 3:28:45 PM2/4/12
to Cappuccino & Objective-J
Make sure you're not calling setPullsDown:YES because I believe that
causes the behaviour you're seeing (by design)... Generally those pull
down buttons are for showing an image as the button, instead of the
title.

Daniel Juanda

unread,
Feb 5, 2012, 5:13:23 PM2/5/12
to Cappuccino & Objective-J
I'm sure I've setPullsDown:NO.

I also ran the CPPopUpButtonTest test file in the cappuccino source
and it behaves the same.

maport

unread,
Feb 6, 2012, 5:25:52 AM2/6/12
to Cappuccino & Objective-J
I've also seen this and can confirm that the problem doesn't occur
when run with the Frameworks supplied with the Starter 0.9.5
distribution.

Mike.

cacaodev

unread,
Feb 7, 2012, 4:54:29 AM2/7/12
to objec...@googlegroups.com
The problem started after this commit https://github.com/cappuccino/cappuccino/pull/1438

aradabaugh

unread,
Feb 9, 2012, 2:01:15 PM2/9/12
to Cappuccino & Objective-J
Reply all
Reply to author
Forward
0 new messages