interface builder issue making connections

  • It has been a while since I worked in IB.  I am on Tiger and have IB
    2.5.4 (446.1)

    The last I worked in IB was probably in 10.3 days and XCode 1.  I am
    working on a project I started a few years ago in the hopes of
    releasing it really soon.

    Anyway, I am trying to connect outlets to interface items (buttons,
    text fields, etc) and also to set up the nextKeyView connections.  I
    want to set up an outlet with a button, for example, so I select the
    object instance that contains the outlet I want to connect with in
    the main nib window  and CONTROL-DRAG up to the button that I want to
    associate with the outlet.  In the past, the buttons and various
    interface elements would highlight as I CONTROL-DRAGGED over them
    until I let off the mouse button and stopped the drag. The items
    would then be associated and I could click the connect button in the
    Inspector.

    But now the interface elements do NOT highlight when I control drag
    over them. This happens no matter what -- trying to connect an outlet
    in any object with an interface element, trying to connect the
    nextKeyView from one text field to another textfield, etc.

    What am I doing wrong?

    Thanks
    Chad
  • Check your IB preferences under the Editing tab and make sure that
    "Lock all connections (Cocoa Only)" isn't checked.

    Robert La Ferla
    OS X Consultant

    On Nov 4, 2006, at 8:25 PM, Chad Leigh wrote:

    >
    > It has been a while since I worked in IB.  I am on Tiger and have
    > IB 2.5.4 (446.1)
    >
    > The last I worked in IB was probably in 10.3 days and XCode 1.  I
    > am working on a project I started a few years ago in the hopes of
    > releasing it really soon.
    >
    > Anyway, I am trying to connect outlets to interface items (buttons,
    > text fields, etc) and also to set up the nextKeyView connections.
    > I want to set up an outlet with a button, for example, so I select
    > the object instance that contains the outlet I want to connect with
    > in the main nib window  and CONTROL-DRAG up to the button that I
    > want to associate with the outlet.  In the past, the buttons and
    > various interface elements would highlight as I CONTROL-DRAGGED
    > over them until I let off the mouse button and stopped the drag.
    > The items would then be associated and I could click the connect
    > button in the Inspector.
    >
    > But now the interface elements do NOT highlight when I control drag
    > over them. This happens no matter what -- trying to connect an
    > outlet in any object with an interface element, trying to connect
    > the nextKeyView from one text field to another textfield, etc.
    >
    > What am I doing wrong?
    >
    > Thanks
    > Chad
  • On Nov 14, 2006, at 6:42 PM, Robert La Ferla wrote:

    > Check your IB preferences under the Editing tab and make sure that
    > "Lock all connections (Cocoa Only)" isn't checked.

    Hi

    Thanks for the suggestion; however,  that is not it.  If I check that
    the behavior is different.  I can get this to start working by
    quitting running apps.  Really strange.

    As a followup (because the omni lists were down I asked this on an
    Apple list a week and a half ago and have more test results to report):

    It only seems to happen as this user.  If I log in to a different
    user on this G5 or copy the nib to my intel mini the problem goes
    away.  However, it does not seem to be tied to any specific user
    preference -- I totally removed ~/Library and logged back in and the
    problem still existed.  I also tried getting rid of all IB and XCode
    prefs etc.

    The problem is not tied to this nib file. All nib files and even new
    nib files show the problem.

    If I start quitting apps that are also running, eventually IB will
    start working (without relaunching -- same running IB that was not
    working starts working after X number of apps are quit, where X is
    not a constant -- sometimes  2, sometimes 7, etc)

    Without any specific inside knowledge, it kind of feels like a window
    server issue ???

    Chad

    >
    > Robert La Ferla
    > OS X Consultant
    >
    > On Nov 4, 2006, at 8:25 PM, Chad Leigh wrote:
    >
    >>
    >> It has been a while since I worked in IB.  I am on Tiger and have
    >> IB 2.5.4 (446.1)
    >>
    >> The last I worked in IB was probably in 10.3 days and XCode 1.  I
    >> am working on a project I started a few years ago in the hopes of
    >> releasing it really soon.
    >>
    >> Anyway, I am trying to connect outlets to interface items
    >> (buttons, text fields, etc) and also to set up the nextKeyView
    >> connections.  I want to set up an outlet with a button, for
    >> example, so I select the object instance that contains the outlet
    >> I want to connect with in the main nib window  and CONTROL-DRAG up
    >> to the button that I want to associate with the outlet.  In the
    >> past, the buttons and various interface elements would highlight
    >> as I CONTROL-DRAGGED over them until I let off the mouse button
    >> and stopped the drag. The items would then be associated and I
    >> could click the connect button in the Inspector.
    >>
    >> But now the interface elements do NOT highlight when I control
    >> drag over them. This happens no matter what -- trying to connect
    >> an outlet in any object with an interface element, trying to
    >> connect the nextKeyView from one text field to another textfield,
    >> etc.
    >>
    >> What am I doing wrong?
    >>
    >> Thanks
    >> Chad
    >
  • What about your ~/.MacOSX/environment.plist file?  Is that
    different?  Are any custom palettes loaded?  Any console messages?
    Try moving the NIB to the home directory and then open that with IB.
    This way it is disassociated from the XCode project.  Also, try
    deleting the username.mode1 and username.pbxuser files in the
    app.xcodeproj.

    Robert La Ferla
    OS X Consultant

    On Nov 14, 2006, at 8:57 PM, Chad Leigh wrote:

    >
    > On Nov 14, 2006, at 6:42 PM, Robert La Ferla wrote:
    >
    >> Check your IB preferences under the Editing tab and make sure that
    >> "Lock all connections (Cocoa Only)" isn't checked.
    >
    > Hi
    >
    > Thanks for the suggestion; however,  that is not it.  If I check
    > that the behavior is different.  I can get this to start working by
    > quitting running apps.  Really strange.
    >
    > As a followup (because the omni lists were down I asked this on an
    > Apple list a week and a half ago and have more test results to
    > report):
    >
    > It only seems to happen as this user.  If I log in to a different
    > user on this G5 or copy the nib to my intel mini the problem goes
    > away.  However, it does not seem to be tied to any specific user
    > preference -- I totally removed ~/Library and logged back in and
    > the problem still existed.  I also tried getting rid of all IB and
    > XCode prefs etc.
    >
    > The problem is not tied to this nib file. All nib files and even
    > new nib files show the problem.
    >
    > If I start quitting apps that are also running, eventually IB will
    > start working (without relaunching -- same running IB that was not
    > working starts working after X number of apps are quit, where X is
    > not a constant -- sometimes  2, sometimes 7, etc)
    >
    > Without any specific inside knowledge, it kind of feels like a
    > window server issue ???
    >
    > Chad
  • On Nov 14, 2006, at 8:20 PM, Robert La Ferla wrote:

    > What about your ~/.MacOSX/environment.plist file?  Is that
    > different?  Are any custom palettes loaded?  Any console messages?
    > Try moving the NIB to the home directory and then open that with
    > IB.  This way it is disassociated from the XCode project.  Also,
    > try deleting the username.mode1 and username.pbxuser files in the
    > app.xcodeproj.

    Thanks, I will try these things.  It does seem to not be associated
    with XCode as I can log in fresh and run IB alone and create a new
    nib and the problem still occurs.

    I'll report back later after Little Boy™ is in bed.

    thanks
    Chad

    >
    >
    > Robert La Ferla
    > OS X Consultant
    >
    > On Nov 14, 2006, at 8:57 PM, Chad Leigh wrote:
    >
    >>
    >> On Nov 14, 2006, at 6:42 PM, Robert La Ferla wrote:
    >>
    >>> Check your IB preferences under the Editing tab and make sure
    >>> that "Lock all connections (Cocoa Only)" isn't checked.
    >>
    >> Hi
    >>
    >> Thanks for the suggestion; however,  that is not it.  If I check
    >> that the behavior is different.  I can get this to start working
    >> by quitting running apps.  Really strange.
    >>
    >> As a followup (because the omni lists were down I asked this on an
    >> Apple list a week and a half ago and have more test results to
    >> report):
    >>
    >> It only seems to happen as this user.  If I log in to a different
    >> user on this G5 or copy the nib to my intel mini the problem goes
    >> away.  However, it does not seem to be tied to any specific user
    >> preference -- I totally removed ~/Library and logged back in and
    >> the problem still existed.  I also tried getting rid of all IB and
    >> XCode prefs etc.
    >>
    >> The problem is not tied to this nib file. All nib files and even
    >> new nib files show the problem.
    >>
    >> If I start quitting apps that are also running, eventually IB will
    >> start working (without relaunching -- same running IB that was not
    >> working starts working after X number of apps are quit, where X is
    >> not a constant -- sometimes  2, sometimes 7, etc)
    >>
    >> Without any specific inside knowledge, it kind of feels like a
    >> window server issue ???
    >>
    >> Chad
    >
  • On Nov 14, 2006, at 8:20 PM, Robert La Ferla wrote:

    > What about your ~/.MacOSX/environment.plist file?  Is that different?

    Ok. I don't have one of those files

    [family:~/.MacOSX] chad% ls -alh
    total 0
    drwxr-xr-x    2 chad  chad  68B Apr 30  2005 .
    drwxr-xr-x  197 chad  chad    6K Nov  7 20:04 ..
    [family:~/.MacOSX] chad%

    > Are any custom palettes loaded?

    no

    > Any console messages?

    no

    > Try moving the NIB to the home directory and then open that with
    > IB.  This way it is disassociated from the XCode project.

    same issue.  Happens when I just run IB and create a new nib without
    XCode even being involved.

    > Also, try deleting the username.mode1 and username.pbxuser files in
    > the app.xcodeproj.

    no change.  Same issue

    Thanks for your suggestions!
    Chad

    >
    >
    > Robert La Ferla
    > OS X Consultant
    >
    > On Nov 14, 2006, at 8:57 PM, Chad Leigh wrote:
    >
    >>
    >> On Nov 14, 2006, at 6:42 PM, Robert La Ferla wrote:
    >>
    >>> Check your IB preferences under the Editing tab and make sure
    >>> that "Lock all connections (Cocoa Only)" isn't checked.
    >>
    >> Hi
    >>
    >> Thanks for the suggestion; however,  that is not it.  If I check
    >> that the behavior is different.  I can get this to start working
    >> by quitting running apps.  Really strange.
    >>
    >> As a followup (because the omni lists were down I asked this on an
    >> Apple list a week and a half ago and have more test results to
    >> report):
    >>
    >> It only seems to happen as this user.  If I log in to a different
    >> user on this G5 or copy the nib to my intel mini the problem goes
    >> away.  However, it does not seem to be tied to any specific user
    >> preference -- I totally removed ~/Library and logged back in and
    >> the problem still existed.  I also tried getting rid of all IB and
    >> XCode prefs etc.
    >>
    >> The problem is not tied to this nib file. All nib files and even
    >> new nib files show the problem.
    >>
    >> If I start quitting apps that are also running, eventually IB will
    >> start working (without relaunching -- same running IB that was not
    >> working starts working after X number of apps are quit, where X is
    >> not a constant -- sometimes  2, sometimes 7, etc)
    >>
    >> Without any specific inside knowledge, it kind of feels like a
    >> window server issue ???
    >>
    >> Chad
    >
  • Am 05.11.2006 um 02:25 schrieb Chad Leigh:
    > I am on Tiger and have IB 2.5.4 (446.1)

    Just to cover all bases: You have updated to the latest OS X, right?
    Generally, a particular version of Xcode corresponds to a particular
    OS version, and installing the OS "over" a newer Xcode can
    (potentially) downgrade files. Have you checked for any other stuff
    (APE extensions, SIMBL hacks etc.) installed on your system for the
    current user? Are there any other dot-files in your user folder? Did
    you install any additional command-line tools, PrefPanes etc. for
    that user?

    If you really deleted your ~/Library folder, that may be a possible
    cause, too. I'm not sure the system can recreate all the files in
    that folder it needs. Also, have you checked your hard disk using
    Disk Utility?

    Cheers,
    -- M. Uli Kusterer
    http://www.zathras.de
  • Am 05.11.2006 um 02:25 schrieb Chad Leigh:
    > But now the interface elements do NOT highlight when I control drag
    > over them. This happens no matter what -- trying to connect an
    > outlet in any object with an interface element, trying to connect
    > the nextKeyView from one text field to another textfield, etc.

      Oh, one more thing: Do you have any other partitions with other
    system versions? Does it still happen if you unmount them before
    starting any apps? I thought this was fixed, but for a while Launch
    Services would pick up the newest app (based on version number), and
    if you had any seeds installed, your regular system would then launch
    newer versions of apps on that other partition, which promptly
    refused to run on that older system.

    Cheers,
    -- M. Uli Kusterer
    http://www.zathras.de
  • On Nov 15, 2006, at 12:48 AM, Uli Kusterer wrote:

    > Am 05.11.2006 um 02:25 schrieb Chad Leigh:
    >> I am on Tiger and have IB 2.5.4 (446.1)
    >
    > Just to cover all bases: You have updated to the latest OS X, right?

    yes

    > Generally, a particular version of Xcode corresponds to a
    > particular OS version, and installing the OS "over" a newer Xcode
    > can (potentially) downgrade files.

    I also updated XCode thereafter just in case -- issue was the same
    with 2.3 and 2.4.1

    > Have you checked for any other stuff (APE extensions, SIMBL hacks
    > etc.) installed on your system for the current user?

    There are none installed that I can see or know of.  I have never
    done it myself and do not see anything running of that sort of
    thing.  I even went in and turned off the WO/OPenbase/FrontBase stuff

    > Are there any other dot-files in your user folder?

    drwxr-xr-x  198 chad  chad          6K Nov 15 23:48 .
    drwxr-xr-x    5 chad  chad        170B Jan  7  2005 ..
    -rw-r--r--    1 chad  chad          3B Dec 21
    2004 .CFUserTextEncoding
    -rw-r--r--    1 chad  chad          21K Nov 13 13:27 .DS_Store
    drwxr-xr-x    2 chad  chad          68B Apr 30  2005 .MacOSX
    drwx------    2 chad  chad          68B Nov 15 00:28 .Trash
    -rw-------    1 chad  chad          2K Nov  5 00:40 .bash_history
    drwxr-xr-x    28 chad  chad        952B Jun  8 01:25 .dvdcss
    -rw-r--r--    1 chad  chad          17B Jan 10  2006 .lpoptions
    -rw-r--r--    1 chad  chad        226B Oct  6
    12:07 .monetra_admin.conf
    -rw-r--r--    1 chad  chad        927B Nov 15
    17:09 .monetra_client.conf
    -rw-r--r--    1 chad  chad        102B May 22
    2005 .monetra_qt_admin.conf
    -rw-r--r--    1 chad  chad        168B May 22
    2005 .monetra_qt_client.conf
    -rw-r--r--    1 chad  chad        684B Aug 27 14:57 .sql92History.sql
    drwx------    5 chad  chad        170B Aug 16 14:59 .ssh
    -rw-------    1 root  chad          5K Jul 22 00:00 .viminfo

    > Did you install any additional command-line tools, PrefPanes etc.
    > for that user?

    No

    >
    > If you really deleted your ~/Library folder, that may be a possible
    > cause, too.

    I just renamed it for a test and then logged out and back in to see
    if it was dependent on any prefs that I had not already deleted or
    located.  I deleted all the IB and Xcode related stuff I could find
    in the ~/Library and then renamed the whole ~/Library and logged in
    again to make sure.  I then moved it back.

    > I'm not sure the system can recreate all the files in that folder
    > it needs.

    It does seem to create a new one with everything but I moved the
    original back after the issue was still there.

    > Also, have you checked your hard disk using Disk Utility?

    After I saw the suggestion I did a permissions verify.  I have not
    done the disk verify yet as I do not want to reboot yet as I have
    some stuff running I don't want to quite quit yet (and I have to find
    my installer :-)...  I will do this soon

    Chad

    >
    > Cheers,
    > -- M. Uli Kusterer
    > http://www.zathras.de
    >
    >
    >
    > _______________________________________________
    > MacOSX-dev mailing list
    > <MacOSX-dev...>
    > http://www.omnigroup.com/mailman/listinfo/macosx-dev
  • On Nov 15, 2006, at 12:52 AM, Uli Kusterer wrote:

    > Am 05.11.2006 um 02:25 schrieb Chad Leigh:
    >> But now the interface elements do NOT highlight when I control
    >> drag over them. This happens no matter what -- trying to connect
    >> an outlet in any object with an interface element, trying to
    >> connect the nextKeyView from one text field to another textfield,
    >> etc.
    >
    > Oh, one more thing: Do you have any other partitions with other
    > system versions?

    no

    > Does it still happen if you unmount them before starting any apps?
    > I thought this was fixed, but for a while Launch Services would
    > pick up the newest app (based on version number), and if you had
    > any seeds installed, your regular system would then launch newer
    > versions of apps on that other partition, which promptly refused to
    > run on that older system.

    I don't have any seeds or other system versions in other partitions
    on this machine.  Good thought though

    Thanks
    gruss aus Utah

    Chad
  • Another thought:  What does "File->Compatibility checking..."
    report?  Also, have you tried running IB from gdb or a Terminal to
    look for any error messages?
  • On Nov 16, 2006, at 6:49 AM, Robert La Ferla wrote:

    > Another thought:  What does "File->Compatibility checking..."
    > report?  Also, have you tried running IB from gdb or a Terminal to
    > look for any error messages?
    >
    >
    >

    set to 10.4

    no incompatibilities found

    set to 10.3 same

    set to 10.2

    some warnings about 2 textfields/views that have hidden checked which
    will be ignored

    Thanks
    Chad
  • Am 16.11.2006 um 09:44 schrieb Chad Leigh:
    > After I saw the suggestion I did a permissions verify.  I have not
    > done the disk verify yet as I do not want to reboot yet as I have
    > some stuff running I don't want to quite quit yet (and I have to
    > find my installer :-)...  I will do this soon

      You can verify a disk without restarting, you just can't fix it
    while you're booted from it.

    Cheers,
    -- M. Uli Kusterer
    http://www.zathras.de
  • On Nov 16, 2006, at 6:49 AM, Robert La Ferla wrote:

    > Another thought:  What does "File->Compatibility checking..." report?

    No incompatibilities in 10.4 or 10.3

    > Also, have you tried running IB from gdb or a Terminal to look for
    > any error messages?

    I ran IB from a terminal and got no messages.  I then attached to it
    in gdb and cont and got no messages.

    Thanks!

    Chad

    >
    >
    >
    > _______________________________________________
    > MacOSX-dev mailing list
    > <MacOSX-dev...>
    > http://www.omnigroup.com/mailman/listinfo/macosx-dev
  • On Nov 16, 2006, at 5:44 PM, Uli Kusterer wrote:

    > Am 16.11.2006 um 09:44 schrieb Chad Leigh:
    >> After I saw the suggestion I did a permissions verify.  I have not
    >> done the disk verify yet as I do not want to reboot yet as I have
    >> some stuff running I don't want to quite quit yet (and I have to
    >> find my installer :-)...  I will do this soon
    >
    > You can verify a disk without restarting, you just can't fix it
    > while you're booted from it.

    Yes, I also tried that after I sent the mail and it showed some
    inconsequential things.  I then booted from the install disk and did
    a repair and another verify just in case and the disk shows OK now.
    Problem persists.

    The user login dir is on a second disk (redirected in netinfo) and
    this second disk also verifies in Disk Utility.  I also tried to use
    another user who has their login dir on this same disk and it works
    ok so not related to having login dir on a separate disk from the
    system.

    Thanks
    Chad
  • On Nov 14, 2006, at 8:57 PM, Chad Leigh wrote:

    >
    > It only seems to happen as this user.  If I log in to a different
    > user on this G5 or copy the nib to my intel mini the problem goes
    > away.  However, it does not seem to be tied to any specific user
    > preference -- I totally removed ~/Library and logged back in and
    > the problem still existed.  I also tried getting rid of all IB and
    > XCode prefs etc.
    >
    > The problem is not tied to this nib file. All nib files and even
    > new nib files show the problem.
    >
    > If I start quitting apps that are also running, eventually IB will
    > start working (without relaunching -- same running IB that was not
    > working starts working after X number of apps are quit, where X is
    > not a constant -- sometimes  2, sometimes 7, etc)
    >
    > Without any specific inside knowledge, it kind of feels like a
    > window server issue ???

    I'm thinking that the key to solving this lies in the fact that this
    happens to only that specific user.  Therefore, try creating a new
    account for that user and copying over everything but Library and
    dotfiles.  If this works, you can delete the old account.
previous month november 2006 next month
MTWTFSS
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30      
Go to today