• 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: Qt & NSWorkspace bug
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Qt & NSWorkspace bug


  • Subject: Re: Qt & NSWorkspace bug
  • From: John Stiles <email@hidden>
  • Date: Thu, 31 Jan 2008 09:45:43 -0800

Have you tried this in Leopard?
Tiger had a few snags with mixing Carbon and Cocoa windows, but Leopard has improved some of the edge cases.


Ted Barram wrote:


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
_______________________________________________

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


References: 
 >Qt & NSWorkspace bug (From: "Ted Barram" <email@hidden>)

  • Prev by Date: Re: Capture the Window resize event
  • Next by Date: Re: SliderText = NSSlider + NSTextField
  • Previous by thread: Qt & NSWorkspace bug
  • Next by thread: Re: Qt & NSWorkspace bug
  • Index(es):
    • Date
    • Thread