#13 accepted
Brandon Walkin

Multiple BWSelectableToolbars cause problems

Reported by Brandon Walkin | August 28th, 2009 @ 01:58 AM

Adding multiple BWSelectableToolbars to my project (1 for the main window, 1 for an inspector window) caused a number of rather critical problems. Adding and modifying the second toolbar caused no problems, but when I went back to modify the first toolbar the 'Active Tab' drop-down still had a list of the tabs in the second toolbar, so I couldn't change the tabs. Then, after restarting interface builder and closing the window with the second tab in it, all of the contents of the first tab bar disappeared, you could still change the tabs, and the tabs all remembered their size, but they were all empty. Finally, when I resorted to a backup and tried to copy the window with the second toolbar into it, Interface Builder crashed (this has happened multiple times).

Comments and changes to this ticket

  • Brandon Walkin

    Brandon Walkin August 28th, 2009 @ 01:59 AM

    • State changed from “new” to “accepted”
  • doob

    doob October 12th, 2009 @ 07:22 AM

    I have the same problem:

    If I have two windows with a selectable toolbar on each the last created takes precedence over the first one. This results in when I select the first toolbar and tries to change the active tab it changes the active tab in the second toolbar. Also the list of active tabs for the first toolbar contains the items of the second one.

    This will also result in new views are added to the first window every time you change the active tab, whether you have chosen that tab before.

    Steps to reproduce:

    1. Create a new application in Interface Builder
    2. Add a selectable toolbar to the window
    3. Change the name of one of toolbar items
    4. Create a new window
    5. Add a selectable toolbar to the second window
    6. Select the toolbar in the first window and try to select the active bar (the active bar of the second window will change, also note what's in the list).

    Mac OS X 10.5.7
    Interface Builder Version 3.1.2 (677)

  • doob

    doob October 12th, 2009 @ 01:50 PM

    If I'm having the exact problem I don't think the problem is that content of a tab disappears. It inserts new views and the old view is still available. If you look in the project window (or what to call it) in Interface Builder in another view than the icon view you can see that the view containing all the controls is still there. But you can never show the view in a tab again.

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

People watching this ticket

Referenced by

Pages