#48 accepted
Taldar

Split view toggleCollapse doesn't work with image toolbar buttons

Reported by Taldar | December 26th, 2009 @ 07:53 PM

While the splitView's toggleCollapse: work's perfectly when called from a regular button, it doesn't work when called from an image toolbar button.

When the app starts, the first time I click the button, nothing happens, and I get two identical errors:

-[NSToolbarItem cell]: unrecognized selector sent to instance 0x100131270

After that, the button begins working, but every time it gets clicked, four identical errors get logged:

-[NSToolbarItem setState:]: unrecognized selector sent to instance 0x100131270

It looks like the splitView instance is trying to tell the toolbar button to do something a normal button could do, but that the toolbar button can't. The errors do not necessarily correspond to mouse-down-mouse-up events, but to the button sending its high-level action.

Comments and changes to this ticket

  • Brandon Walkin

    Brandon Walkin December 26th, 2009 @ 07:57 PM

    • State changed from “new” to “accepted”
    • Tag changed from bwsplitview, nstoolbaritem, togglecollapse: to bwsplitview
    • Title changed from “BWSplitView chokes on Image Toolbar Button” to “Split view toggleCollapse doesn't work with image toolbar buttons”

    Thanks for filing this.

  • David Kaminsky

    David Kaminsky August 25th, 2010 @ 05:29 PM

    • Milestone order changed from “0” to “0”

    Same problem, Im toggling with a normal button though:

    2010-08-25 17:26:28.127 FriendPool[6886:a0f] -[FriendPool_AppDelegate cell]: unrecognized selector sent to instance 0x1037549f0
    2010-08-25 17:26:28.129 FriendPool[6886:a0f] -[FriendPool_AppDelegate cell]: unrecognized selector sent to instance 0x1037549f0

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

BWToolkit is an Interface Builder plugin that contains commonly used UI elements and other objects designed to simplify Mac development.

Shared Ticket Bins

Pages