Results 1 to 1 of 1

Thread: App in Mac constantly claiming focus

  1. #1
    Join Date
    Apr 2010
    Posts
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: App in Mac constantly claiming focus

    I am have compiled a application in my mac which runs fine in windows (mingw) and in linux. But in my mac, once I execute the app, I cannot switch to another application, or move to another desktop (space). Every time I try to do so, the app gets again the focus (if I move to another desktop, it immediately comes back to the desktop where the app is, and it gets the focus).

    I have checked in the activity monitor that it is not consuming resources in some kind of loop, and as I mentioned, it is working fine in other platforms. The Qt examples run fine, so it must be something related to this app. Any ideas of what the problem can be in the mac platform?

    I am using:
    Qt 4.8.3
    Qwt 6.0.1
    Mac OSX Mountain Lion (10.8.3)

    Any help would be really appreciated. I am desperate after several hours of frustration. I have not found any thing remotely similar to this by googling...

    Thank you,

    Raúl.


    Added after 45 minutes:


    Well, it was coming to here, and finding the solution. This behaviour was due to improperly using a timer in combination with a splash screen. It is strange bacause in the other platforms it was working fine. But anyway, I have changed it in a way which works on the mac, and should also work in other platforms too.
    Last edited by gainasp; 24th September 2012 at 16:31.

Similar Threads

  1. Replies: 2
    Last Post: 7th January 2012, 16:42
  2. Replies: 1
    Last Post: 7th May 2011, 03:47
  3. Window focus issues (How to force focus to a window?)
    By montylee in forum Qt Programming
    Replies: 3
    Last Post: 25th April 2009, 02:00
  4. How to constantly refresh time on a view
    By salmanmanekia in forum Qt Programming
    Replies: 5
    Last Post: 23rd June 2008, 13:44
  5. Focus issues / Setting multiple focus
    By ComputerPhreak in forum Qt Programming
    Replies: 1
    Last Post: 16th February 2007, 07:09

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.