• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Problems with 10.1
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problems with 10.1


  • Subject: Re: Problems with 10.1
  • From: Chris Garaffa <email@hidden>
  • Date: Sun, 26 Oct 2003 01:14:52 -0400

On Oct 25, 2003, at 11:56 PM, Chad Armstrong wrote:

I'm working on an application, and it works fine under Jaguar, but it
has two problems under 10.1.

First off, the menu is not coming into focus (it looks like when a
window is in the background). I originally resolved this problem with
Jaguar by adding this line to the awakeFromNib window:

[[indicator window] makeKeyAndOrderFront:self];

I'm not sure what kind of application you're developing -- I've been working on a status item (in other words, an app with LSUIElement = 1 and an NSStatusItem) and ran into the same problem. To fix it, I used [NSApp activateIgnoringOtherApps:YES]. Hopefully this will help you as well.

I tried a few commands to try and bring the window to the front, but
either I'm not quite sure what to use, or there is no command quite
what I'm looking for. This is not imperative that I get it working, it
just would look better if the window was focused when the program was
running.

The second problem is that I want the Trash icon to update itself. I
used this command before:

[[NSWorkspace sharedWorkspace] noteFileSystemChanged:[@"~/.Trash/"
stringByExpandingTildeInPath]];

Under Jaguar, this worked fine and the Trash icon was updated.
However, under Mac OS 10.1.5, it doesn't update. Is this a bug in the
system?

AFAIK, this was (and is still?) a bug.

--
Chris Garaffa
email@hidden
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Problems with 10.1 (From: Chad Armstrong <email@hidden>)

  • Prev by Date: Re: XCode for Jaguar?
  • Next by Date: Re: Where is Xcode?
  • Previous by thread: Re: Problems with 10.1
  • Next by thread: Xcode build styles don't override build settings in target?
  • Index(es):
    • Date
    • Thread