Qt & NSWorkspace bug
Qt & NSWorkspace bug
- Subject: Qt & NSWorkspace bug
- From: "Ted Barram" <email@hidden>
- Date: Thu, 31 Jan 2008 09:31:56 -0800
- Importance: normal
- Priority: normal
- Thread-topic: Qt & NSWorkspace bug
Hi all,
I'm working on a Qt-based app that uses some Cocoa calls. I've
discovered a bug such that any call to [NSWorkspace sharedWorkspace]
results in the app getting into a state where the main app window
doesn't have focus when the app becomes the active app. In other words:
1. Launch our app
2. Make a different app active in the Dock
3. Make our app active in the Dock
4. Notice that our app's main window does not have focus (it's
still behind the last active app), but the menu bar correctly shows our
app
If I remove the call to [NSWorkspace sharedWorkspace], the bug goes
away. I can't reproduce this in a native Cocoa app, only in my Qt-based
app. Any suggestions?
Thanks,
-Ted
Shoot Anything, Share Everything with Flip Video.
http://theflip.com/store
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden