Windows jump to front?

Hey everyone!
Recently purchased a MBP with Lion pre-installed. I noticed a weird (and extremely annoying) bug. I would be using an app, then all of a sudden another open app's window would "Jump to front"... as if I had activated/interacted with it. For example, I'd be typing an email, then suddenly, my browser would jump to front so I'd have to go back to Mail to continue typing.  Then it continuously happens until i either quit the app that keeps jumping in front, or I just size all my windows so that when the offending app becomes "active" it doesn't cover up the other app I'm using.
I know I'm probably not explaining this in the best way but that's the only way I can think of to describe it.  It's making Lion borderline unusable.
Please help!
Shane

Noting that my solution really doesnt handle the situation that Remy brought up I thought I would remake the solution for anyone who would like to use it:
* makes a window request a users attention
* @param tempWindow a shell of some sort
* @param tempMessage a message for the user to know why attention is needed
protected void requestUserAttention (Shell tempWindow, String tempMessage)
//rate at which the title will change in milliseconds
int rateOfChange = 1000;
final Shell window = tempWindow;
//flash 10 times and thats it
final String orgText = window.getText();
final String message = tempMessage;
window.setData("requestUserAttention", true);
window.addShellListener(new ShellAdapter (){
@Override
public void shellActivated (ShellEvent e)
window.setData("requestUserAttention", false);
for (int x=0;x<10;x++)
window.getDisplay().timerExec(2*rateOfChange*x-rateOfChange, new Runnable (){
@Override
public void run ()
if (((Boolean)window.getData("requestUserAttention")))
window.setText(message);
window.getDisplay().timerExec(2*rateOfChange*x, new Runnable (){
@Override
public void run ()
if (((Boolean)window.getData("requestUserAttention")) || window.getText().equals(message))
window.setText(orgText);

Similar Messages

  • ITunes window jumps to the front every 30 seconds

    So I recently downloaded the latest version of iTunes, and ever since, when I have iTunes open, the program window jumps to the front of all the windows I have open every 30 seconds. It's INSANELY annoying. I can be in the middle of typing something on another window such as Internet Explorer or Microsoft word, and the iTunes window will jump to the front (it happened 3 times while I was typing this).
    I have Windows Vista.

    Hey there georgeboo,
    It sounds like Safari shoots off the side of the sceen shortly after you launch it. I want to recommend a few things here. First, reset your PRAM and perform a Safe Boot and test the issue.
    About NVRAM and PRAM
    http://support.apple.com/kb/ht1379
    Resetting NVRAM / PRAM
    Shut down your Mac.
    Locate the following keys on the keyboard: Command (⌘), Option, P, and R. You will need to hold these keys down simultaneously in step 4.
    Turn on the computer.
    Press and hold the Command-Option-P-R keys before the gray screen appears.
    Hold the keys down until the computer restarts and you hear the startup sound for the second time.
    Release the keys.
    After resetting NVRAM or PRAM, you may need to reconfigure your settings for speaker volume, screen resolution, startup disk selection, and time zone information.
    Mac OS X: What is Safe Boot, Safe Mode?
    http://support.apple.com/kb/ht1564
    Safe Mode is the state into which you can start up your Mac by performing a Safe Boot. To perform a Safe Boot, press and hold the Shift key immediately after your Mac starts up. Continue holding down the Shift key until a gray Apple logo appears on the screen.
    If the issue persists, I would next try resetting Safari:
    Safari 6 (OS X Mountain Lion): Reset Safari
    http://support.apple.com/kb/ph11914
    Thank you for using Apple Support Communities.
    All the best,
    Sterling

  • I installed 4.01 and now when I click on a link in the menus or the seach window, the whole firefox browser window jumps

    This happens when I click on most menu links. For example, if I click on Help and select "About Firefox" the entire browser window jumps. The same goes for if I click on the default search box or on the Google Toolbar search box.
    If I click on something out of Firefox, such as my desktop or an open program, it jumps when I click the Firefox tab on my task bar to return to Firefox.
    When I click a shortcut link, such as in bookmarks, it does not do it.

    For those of you who have tried to clear this problem up with virus scans, various malware scanning programs, tdss rootkiller, etc....I have another possibility. I found another thread on this very forum where someone suggested the problem was in the router...specifically, there were manually entered DNS addresses in the router setup. I logged into my router (192.168.1.1) and sure enough, there were DNS addresses loaded and it was setup to use those DNS addresses. I simply clicked on the option to pull the DNS addresses automatically from my ISP, changed the password, and the problem was gone.
    Thanks to cr85tx for the solution!!!
    https://support.mozilla.com/en-US/questions/697011?page=1

  • Document windows jump

    I just upgraded to Yosemite on my MacBook Pro running a dual monitor setup (MacBook & Cinema Display) and now when I have my document window on the Cinema Display if I do any thing such as select an object etc. the window jumps so its top half is on the lower part of the screen while the bottom half of the window goes off the bottom of the screen. If I move it back up it just jumps back when I try to do something again. Help!

    I have the exact same issue CDLeaver, and think this might be a bug, where a retina display laptop is connect to a non-retina second monitor.
    What I discovered is that when I move my secondary screen so that it is positioned above the primary macintosh screen, the InDesign document window on the second monitor continuously repositions itself, it continuously jumps when you move it into position and then start working on it.
    Once I lined up the tops of both monitors in the System Preferences > Display Preferences, the problem went away.

  • Must bring window to the front w/o switching focus

    Ok, now I'm happy subclassing whatever I have to, but I haven't been able to find anything for pushing a window to the front as toFront() will, that DOESN'T switch the focus.
    Basically I have subclassed JWindow to show a little window that will disappear when you click on it or after a specified period of time. Now I would like to be able to show that window above everything else, but if I use toFront() that little window will gain focus which is NOT what I want.
    I just need to push it to the front w/o gaining focus. if this is possible, like you can point me in the right direction, much appreciated. if this simply isn't possible due to the VM/OS windowing systems, please let me know.

    I was afraid someone would say that. that was what the guys in my JUG said, but I needed to check with a larger community to verify.
    On a second note, can anyone explain why a KeyListener attached to a JWindow won't recieve key events when there's a label in the content pane?
    If you know, please enlighten me.

  • Bring background app window to the front from daemon

    I have a daemon running that, under certain circumstances, needs to bring an already running applications window to the front (this is a pre login agent), thats not the hard part. The part I'm having trouble with is giving the window firstResponder when it is first brought to the front. When it does not have firstResponder it grayed out and icky....im not a fan of icky. If anyone has any tricks or tips on how one might fix that, they would be greatly appreciated

    From the j2sdk 1.4.1 API: http://java.sun.com/j2se/1.4.1/docs/api/java/awt/Window.html#toFront()
    toFront()
    Some platforms do not allow Windows which own other Windows to appear on top of those owned Windows. Some platforms may not permit this VM to place its Windows above windows of native applications, or Windows of other VMs. This permission may depend on whether a Window in this VM is already focused. Every attempt will be made to move this Window as high as possible in the stacking order; however, developers should not assume that this method will move this Window above all other windows in every situation.
    Because of variations in native windowing systems, no guarantees about changes to the focused and active Windows can be made. Developers must never assume that this Window is the focused or active Window until this Window receives a WINDOW_GAINED_FOCUS or WINDOW_ACTIVATED event. On platforms where the top-most window is the focused window, this method will probably focus this Window, if it is not already focused.

  • Active window jumps to viewer window out of timeline for no reason

    Active window jumps to viewer window out of timeline for no reason.  For example I will be editing in timeline and all of sudden I will try a keyboard shortcut but it will take effect in the viewer window and not in the timeline.  Is this something I am doing wrong?  This never happened in the last year I have been using FCPX until a few months ago it started happening.  Already tried trashing prefs, restarting, etc. etc. 
    <Link Edited By Host>

    Go to Window>Revert to Original Layout.
    Trash FCP preferences.
    Russ

  • Messages window jumping around the screen

    I just updated to OS X Yosemite, and I'm having a strange issue with the Messages application window.
    Here's the scenario:
    I have Messages and Safari open at the same time.
    I click on Safari to bring it forward and work with a page.
    I then click back on Messages after receiving a message.
    The message input field does not automatically get focus, so I click on it to give it focus.
    The Message window "jumps" down to the bottom of the screen, with the bottom of the window behind the dock.
    I can actually type my message, but I have to drag the Message window back up from behind the dock.
    Any way I can "pin down" a window so it doesn't jump like this?
    Thanks in advance.
    David Byrd
    Mac mini (Mid 2010)
    OS X 10.10 (Yosemite)

    Hi All,
    This is a bit of a known issue with no real fix yet.
    It seems it is worse if the Messages window is grabbed right at the top edge when the change size icon then appears.
    Of course you can "slide" a click as it were to that spot .
    Some have said it effects trackpads more then mouse systems but I have seen no real proof of that.
    I have seen it once in Terminal as well  (a badly aimed click with a bit of drag that then dangled th Terminal window for a moment).
    I have seen  all Macs listed as suffering from this, Retina Displays, no Retina  ones, Laptops and desktops and so on.
    Longest thread
    Messages window jumping all over the place in Yosemite?
    Use Feedback http://www.apple.com/feedback/
    It has also been brought to the attention of the Host (Moderators) as they can escalate some things direct to Engineers  (there will be no feedback to Users of progress.)
    Try this Intel-based Macs: Resetting the System Management Controller (SMC) - Apple Support
    9:13 pm      Thursday; November 6, 2014
    ​  iMac 2.5Ghz i5 2011 (Mavericks 10.9)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad

  • When I run javac in j2sdk1.2, a error window jumping out

    I try to run a program made in sdk1.2 in my computer,when input javac nameOFfile.java and press enter, there is a window jumping out , and it displays:"javac.exe has encountered a problem and needs to close." I just downloaded 1.2.1_004 java(TM)DK from
    http://java.sun.com/products/archive/index.html
    How can I solve this problem,
    please help,
    ROY

    Why don't you get the latest version (v1.4.2). It is almost guaranteed of working. Java is backwards-compatible so 1.2 programs can run with a 1.4 JRE.
    Stephen

  • With the latest Firefox update, the Firefox window stays in front of all other software windows until I directly minimize the Firefox window. Is this a bug?

    I can minimize the Firefox window, but *unless* I minimize it, I can't access other programs-- even if I click on a window behind the Firefox window or try clicking on the appropriate icon from the Windows taskbar. The Firefox window stays in front.
    I'm using Firefox 18.0; I am on the update release channel.
    My enabled add-ons are:
    Adblock Plus Pop-up Addon 0.5
    BetterPrivacy 1.68
    Flashblock 1.5.15.1
    RAMBack 1.0
    and I have no toolbars installed. The only other thing I've recently installed is Amazon Cloud Drive-- but again, this problem is specifically and only with the Firefox window.
    Thank you for any help you can give me!

    There is a bug in Adblock. If you disable, thing return to normal. In my experience, this only occurs after an ad is blocked.

  • ANNOYING: Ovi window jumping out each time I sit b...

    Dear OVI Developers,
    Each time I go out and return to sit back at my PC, OVI Suite window jumps out.
    Now dear developers, if anyone reads it - this issue is dreadfully annoying and has been reported on many forums for a really long time.
    Yet on all the threads I've seen (at least here, at Discussions) I have seen no single entry saying "we will fix" or anything.
    If coding a simple checkbox "do not pop out" is really that hard, then at least say "we will not fix it". Just few words of information would be sufficient.
    Your's sincerely,
    Desperate user.

    I suspect that "every time you sit back at your PC" is a bit of an exaggeration unless your PC has some kind of motion-detector that knows when you are there...
    There is a certain amount of control that you can exercise over Ovi Suite - the easiest way to make sure it isn't active unless you specifically need it is to go to Tools>Options>General and un-tick the box marked "Start Nokia Ovi Suite automatically when your computer starts up" (see the attached file "ovi_suite_startup1.jpg"). This means that you can't quickly open Ovi Suite from the system tray, you have to go via the desktop or start menu, but it's only a very small sacrifice.
    Once you use Ovi Suite, it remains open in the system tray. To kill it, just click the Ovi icon in your system tray then select Exit - see attached image "ovi_suite_closedown1.jpg".
    Provided that Ovi Suite is not active in the system tray, it will not interrupt you - it will not attempt to carry out any scheduled activities and nor will it pop up when you connect your phone to the PC by USB cable.
    I don't know what the specific issue is that people are moaning about on the forums, perhaps they simply haven't bothered to check how to restrict Ovi Suite's activities. The only issue I have noticed is that when active, Ovi Suite tries to hijack your connection mode - if you connect in mass storage mode to transfer files via Windows Explorer or you connect by Media Transfer mode to use Ovi Player, Ovi Suite pops up and switches your connection to PC Suite mode. This is indeed irritating, but easily fixed by follwoing the two tips I have just given.
    Attachments:
    ovi_suite_popup1.jpg ‏87 KB
    ovi_suite_closedown1.jpg ‏6 KB

  • Safari auto switches between windows, makes the front window inactive...

    Hi all,
    I'm having a really annoying problem with Safari...
    When I'm browsing quite often the front window kind of deselects itself, say for instance I have a couple of browser windows open and the downloads window, it will automatically bring the downloads window to the front! Meaning I then have to click on the browser window to make it active so I can then continue whatever I am doing... I am not pressing any key commands for this to happen (I know cmd and ~ (tilde) does this as I use it often to switch between windows). It just does it off it's own back, it's like someone else is controlling the window...
    Funnily enough, it's just happened then again! when i'm typing this message, it brought the downloads window to the front and then this one back to the front, in the space of a second or so...
    Thanks in anticipation as this is one **** of an annoying problem!

    HI and Welcome to Apple Discussions...
    Try maintenance...
    From the Safari Menu Bar, click Safari / Empty Cache. When you are done with that...
    From the Safari Menu Bar, click Safari / Reset Safari. Select the top 5 buttons and click Reset.
    Go here for trouble shooting 3rd party plugins or input managers which might be causing the problem.
    http://support.apple.com/kb/TS1594
    And make sure Safari is not running in Rosetta. Right or control click the Safari icon in your Applications folder then click Get Info. In the Get Info window click the black disclosure triangle so it faces down. Where you see Open using Rosetta... make sure that is NOT selected.
    If you still have problems with Safari, go to the Safari Menu Bar, click Safari/Preferences. Make note of all the preferences under each tab. Quit Safari. Now go to ~/Library/Preferences and move this file com.apple.safari.plist to the Desktop. Relaunch Safari. If it's a successful launch, then that .plist file needs to be moved to the Trash.
    Carolyn

  • Reader window jumps between monitors

    I'm running Reader 9.5.1  on Linux Mint 13 Cinnamon. I have dual monitors setup as single X screen with the Nouveau driver. If I have Adobe Reader open on the right-hand monitor, and I open a PDF file, the Adobe Reader window jumps back to the left-hand monitor as the file is opened. This happens regardless of whether I open the file by using the File / Open menu in Acroread or by right-clicking on a PDF in Nautilus and choosing "Open with Adobe Reader".
    This gets highly annoying, and it doesn't happen with any other application that I use - I can put any of them on the RH monitor and open files without the application moving. Anyone know why it happens or how to fix it?

    I do the exact same thing but I have no problem.
    You should post some code.

  • Messages window jumps around the screen

    Not sure if anyone else has had this issue, cause I've been asking other people who work with me and are running Yosemite and they haven't had this issue...
    I've been having this strange issue where I'm in another application and once I click on the Messages window and move my mouse away, it then jumps to where ever I moved my mouse. I'm not click and dragging the window, the window just jumps to where my mouse went like half a second later. Not sure if this is some sort of bug with Yosemite [10.10.1 on a 13" Macbook Pro Retina], cause I don't remember this happening with Mavericks.
    Not even sure what I could possibly do to remedy this besides trying to reinstall the operating system which I would like to avoid, but maybe someone has seen this and knows how to correct it?
    Any help is appreciated!

    Hi,
    Known Issue
    Messages window jumping all over the place in Yosemite?  (thousands of views and 59 posts).
    It has been reported to Apple but feel free http://www.apple.com/feedback/ichat.html
    There is no known fix.
    At present the best advice is not to click in the top bar of Messages' main window - it seems it is only that top bar that makes it happen.
    10:03 pm      Saturday; January 24, 2015
    ​  iMac 2.5Ghz i5 2011 (Mavericks 10.9)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad

  • Window jumping in parallels

    Good Day,
    Have a nervewrecking problem.
    Using 10.6.8 with parallels 6 and windows xp while i am in a programm, the window jumps into a blue-framed window that is not active.
    click into this window lets it jump bach and active again - for a short while only. then again... like this joke with the voting - computer some years ago.
    what is wrong???
    wilfried in south africa

    Look in the Parallels help menus in Parallels or on the Parallels site. Your question has nothing to do with Windows compatibility.
    Once you get to the the proper menu item settings you will have a slider to increase/decrease the size. Just move the slider in the direction to increase.

Maybe you are looking for