Prevent apps from stealing focus

Is there a general overall setting for preventing applications from stealing focus?

i'm having problems with itunes 6.0.5(20). I set up a playlist to burn, hit the burn button, it asks for a cd, i feed it the cd, it says "checking media...". Then, that's all it needs from me, so I go back to my word processing and while I'm typing in that suddenly the iTunes window pops back to the foreground - not asking for input or anything, it just pops to the foreground once the write process starts on the cd. I've had it steal focus from Firefox, Finder, Word, pretty much everything at one time or another.
EDIT: I've found if I minimize iTunes it won't pop up and steal focus, but if I just switch it to the background instead of minimizing it, it will pop to the foreground

Similar Messages

  • How to prevent apps from stealing focus?

    Often when I am running an application in the background, it will steal focus from my active window with a modal dialog box that will pop up in the foreground. Invariably, since I can be a fast typer sometimes, I won't be able to stop myself in time and will often cause the modal dialog box to take some unwanted action. This can have a HIGHLY unpleasant effect! Especially if I've just found myself aborting unintentionally a long job because of the focus stealing!
    I'd like to prevent any application from stealing focus from the active window. Is there any way to set OS X or the finder to prevent this? If not, are there any haxies that I can install that will have this effect?
    (For reference, Microsoft Vista Aero doesn't allow an application to open a window or dialogue above the active window, unless it's a UAC confirmation dialog, which still only opens on a different display layer.)

    YES AAAAAAAAAH THIS IS A REAL AGRESSION TO THE NERVES ! ! !
    I need to meet the dude who decided "hey wouldn't it be a great idea if we had the applications bothering you all the time as soon as they need your attention, instead of just letting you get to them whenever you feel like it ? now where's my promotion ? ^^"
    WHERE IS THIS MORON AAAAAAAAAHHHHHHHHHHHHHHHH
    does anyone know of a 3rd party software that would keep each app where it is whatever happens to it ?
    dammit

  • How do I stop Ical from stealing focus?

    Is anyone aware of a way to stop ical from stealing focus when events are created or modified?  I do not want to lose the ability to fast switch to the app when it is in another space.
    I have some individuals on my team at work who tend to edit multiple events on my calendar multiple times a day.  It makes me nuts that when I am in the middle of some serious debugging or in a groove jamming out some decent code, I get stopped constantly by iCal.

    I had exactly the same problem. A quick google search presented this:
    http://reviews.cnet.com/8301-13727_7-20085680-263/keep-applications-from-stealin g-focus-when-opening-in-os-x/
    I've tried it - editing the Info.plist - and it works a treat. Note - it appears you can no longer cmd-tab to the app once you make this change. But I can live with that
    iCal developers - please, for the love of God and all things UX - please change this default behaviour. Or at least provide an option to make iCal less obnoxious. It was the focus stealing behaviour of Windows 95 that moved me away from Windows.

  • STOP iTunes and iPhoto from stealing focus...

    I was curious if there is anyway to stop iTunes and iPhoto from stealing focus when I plug in my iPhone. I do not have pictures to sync, yet iPhoto still popos up. Not only that, when it finishes loading, it steals focus, so if I am working on something else, now all my mouse commands and keyboard stokes are all in iTunes.
    - Is there anyway to stop iTunes from stealing focus? To just have it pop-up in the background and bounce for all I care, just not steal focus.
    Thanks!

    I already have iTunes configured so it doesn't open up when I plug my iPod touch in. What I don't like is when it steals focus after it's done syncing. Programs on Windows are supposed to "play nice" and not steal focus. They can request focus and flash the taskbar button, but that's it. So, if anyone knows how to prevent iTunes on Windows from stealing focus, I'd really appreciate it.

  • How to prevent apps from syncing in the new version of itunes?

    Hey there.
    I brang my macbook to Applestore cause it had a problem and they downloaded the latest version of itunes. Everything's fine and my music, videos and apps are in the new itunes like before. But now, when I want to sync my iphone, a pop window asks me to give the password of the itunes account I used to download some of my apps or it will delete them and their data. The problem is that one of these accounts is an old friend's one and I actually lost all contact with him. So basically now I can't sync my iphone at all or it will delete all my apps.
    Has anyone any idea how to sort that out? Or at least knows how to prevent apps from syncing in this new version of itunes?
    Thanks for your help

    Onthe top menu
    View > Show Status Bar.
    The grey bar will now appear at the bottom with the info you want

  • How can I prevent apps from syncing in the new iTunes?

    Hey there.
    I brang my macbook to Applestore cause it had a problem and they downloaded the latest version of itunes. Everything's fine and my music, videos and apps are in the new itunes like before. But now, when I want to sync my ipod touch, a pop window asks me to give the password of the itunes account I used to download some of my apps or it will delete them and their data. The problem is that one of these accounts is an old friend's one and I actually lost all contact with him. So basically now I can't sync my iphone at all or it will delete all my apps.
    Has anyone any idea how to sort that out? Or at least knows how to prevent apps from syncing in this new version of itunes?
    Thanks for your help

    Double tap the Home button...slide the last used view of the app(above the icon) up. Tap Home button when finished.

  • Is there a way to prevent apps from reopening on startup?

    I like to shut my computer down without closing each app but I don't want to have them all reopen on start up.
    Is there a way to prevent apps from reopening on startup without having to close them all before shutting down?
    I found the checkbox to prevent apps from opening in their previous state but they still open to their previous state after a restart.
    Thank you in advance,
    christos

    Start at http://reviews.cnet.com/8301-13727_7-20083707-263/managing-mac-os-x-lions-applic ation-resume-feature/?tag=mncol;title

  • How to keep notification window from stealing focus from main AIR window

    Hi,
    We have an AIR (JavaScript based) chat application that uses the technique posted at the following link to display a notiifcation window each time the user receives a new message.  The notification window gradually fades away after 5 seconds.
    http://cookbooks.adobe.com/post_Creating_a_transparent_notification_window-8226.html
    The technique uses HTMLLoader.createRootWindow to create and display the notification window.
    The issue we are having is that the notification window steals/removes focus from the main AIR window, which is annoying if you are in the middle of typing a message that you want to send to other users.  Once the notification fades away, focus is returned to the main AIR window.
    I searched the AIR documentation to see if there is a way to keep the notification window from stealing focus, but came up empty.  I'm hoping I'm overlooking something.  Can anyone help out?
    Thanks,
    Denis

    Ahmed if i did recognize ur question then...
    Pls Follow this...
    1 - Create New Menu Item Called Window it's properties > Menu Item Type = Magic
    2- Menu Item Type = Magic.
    3- Change Magic Item = Window
    4- Command Type = Null.
    5.Visible In Menu = Yes.
    6.Under Physical 's node >Visible = No.
    Hope this helps...
    Regards,
    Amatu Allah

  • Prevent BeX Analyzer from stealing focus while executing several queries

    Hi all,
    we have a vba program that runs several 3.5 queries in Excel (SAPBEXrefresh)
    Does anyone knows a solution to prevent BeX Analyzer from stealing the focus each time a new query starts or completes.

    I too am trying to find solution to this very same problem.
    I created a Excel VBA program to batch process BEx reports, which works great, but the users are finding that they can't work on anything else while the process runs, as BEx always returns the focus to the Excel window as each BEx report run is completed!
    In our googling, we ran across the following thread, which I've found so far to have the most detailed discussion of this problem:
    http://sap.ittoolbox.com/groups/technical-functional/sap-bw/sapbex-takes-focus-1188178?cv=expanded
    Unfortunately, no final resolution was provided there, and the thread is over 2 years old, and it looks like the poster who was closing in on the solution hasn't logged in to that particular forum in 2 years as well.
    But why don't you take a look at the link anyway, as it may give you some ideas. I will also continue to use that poster's ideas to try to work out a solution, and if I come across one, I will certainly share it with you.

  • Prevent BEx from stealing windows focus and disable nag screen

    Hi all,
    Whenever I start BEx Analyzer or QueryDesigner (3.5) it takes a couple of minutes until the application is loaded. During that time a welcome screen turns up, which prevents me from doing anything else but staring at the photo of the SAP Building.
    For some reason the log on pad pops up as well.
    When reloading a query in Bex Analyzer, the application steals the windows focus several times.
    Does anyone know how I can disable these "features"?
    Thanks
    Gerrit

    We have the same problem when reloading queries in BeX Analyzer.
    Did you find a solution to prevent the application to steal the windows focus several times.
    Thanks for your answer.

  • App.executeCommand steals focus on OSX?

    Hi There,
    I'm currently using app.executeCommand() to accomplish specific tasks that cannot be done via AE's ExtendScript API.  The problem I am now noticing (on OSX only) is that if a user has an application other than AE, the script using app.executeCommand() will cause AE to "steal" focus from the users current application.  On Windows, using the app.executeCommand() method does not cause AE to steal focus from another app.
    Is there any way to ensure that AE does not steal focus when using the app.executeCommand() method on OSX?  I know it's a bit of an esoteric question, but I just wanted to see if anybody has had experience with this issue.
    Thank you for your time and help!
    Best,
    Arie

    Thanks for the feedback, David.  I have noticed that AE likes to pop up into focus on OSX every now and then—even without any scripting.  I agree that coding natively is the way to go, but I am needing to use the "Send comp to AME" command from the Composition menu.  There is currently nothing for that in the scripting API, so I am needing to use the executeCommand function.  If I have like 100 comps that I want to run through in a loop, the script takes over the whole machine making it useless until AE finishes its job.  So, I decided to just add a watch folder to AME, and then write a script that moves all the comps in the root of the project panel into a created folder—except of course the one that I want AME to process.  I then save a copy of the AEP to the watch folder and AME processes the comp that was left in the root of the project.  Seems to work, but it does require the user setup a watch folder in AME first.
    --Arie

  • How can we prevent JTabbedPanes from transferring focus to components outside of the tabs during tab traversal?

    Hi,
    I noticed a strange focus traversal behavior of JTabbedPane.
    During tab traversal (when the user's intention is just to switch between tabs), the focus is transferred to a component outside of the tabs (if there is a component after/below the JTabbedPane component), if using Java 6. For example, if using the SSCCE below...
    import java.awt.BorderLayout;
    import java.awt.event.FocusAdapter;
    import java.awt.event.FocusEvent;
    import java.awt.event.KeyEvent;
    import javax.swing.Box;
    import javax.swing.BoxLayout;
    import javax.swing.JButton;
    import javax.swing.JFrame;
    import javax.swing.JPanel;
    import javax.swing.JScrollPane;
    import javax.swing.JTabbedPane;
    import javax.swing.JTextField;
    import javax.swing.SwingUtilities;
    public class TabbedPaneTest extends JPanel {
        public TabbedPaneTest() {
            super(new BorderLayout());
            JTabbedPane tabbedPane = new JTabbedPane();
            tabbedPane.addTab("Tab 1", buildPanelWithChildComponents());
            tabbedPane.setMnemonicAt(0, KeyEvent.VK_1);
            tabbedPane.addTab("Tab 2", buildPanelWithChildComponents());
            tabbedPane.setMnemonicAt(1, KeyEvent.VK_2);
            tabbedPane.addTab("Tab 3", buildPanelWithChildComponents());
            tabbedPane.setMnemonicAt(2, KeyEvent.VK_3);
            tabbedPane.addTab("Tab 4", buildPanelWithChildComponents());
            tabbedPane.setMnemonicAt(3, KeyEvent.VK_4);
            JPanel panel = new JPanel(new BorderLayout());
            panel.add(tabbedPane);
            JButton button = new JButton("Dummy component that gains focus when switching tabs");
            panel.add(button, BorderLayout.SOUTH);
             * To replicate the focus traversal issue, please follow these steps -
             * 1) Run this program in Java 6; and then
             * 2) Click on a child component inside any tab; and then
             * 3) Click on any other tab (or use the mnemonic keys ALT + 1 to ALT 4).
            button.addFocusListener(new FocusAdapter() {
                @Override
                public void focusGained(FocusEvent e) {
                    System.err.println("Gained focus (not supposed to when just switching tabs).");
            add(new JScrollPane(panel));
        private JPanel buildPanelWithChildComponents() {
            JPanel panel = new JPanel();
            BoxLayout boxlayout = new BoxLayout(panel, BoxLayout.PAGE_AXIS);
            panel.setLayout(boxlayout);
            panel.add(Box.createVerticalStrut(3));
            for (int i = 0; i < 4; i++) {
                panel.add(new JTextField(10));
                panel.add(Box.createVerticalStrut(3));
            return panel;
        public static void main(String[] args) {
            SwingUtilities.invokeLater(new Runnable() {
                public void run() {
                    JFrame frame = new JFrame("Test for Java 6");
                    frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
                    frame.add(new TabbedPaneTest());
                    frame.pack();
                    frame.setVisible(true);
    ... Then we can replicate this behavior by following these steps:
    1) Run the program in Java 6; and then
    2) Click on a child component in any of the tabs; and then
    3) Click on any other tab (or use the mnemonic keys 'ALT + 1' to 'ALT + 4').
    At step 3 (upon selecting any other tab), the focus would go to the component below the JTabbedPane first (hence the printed message in the console), before actually going to the selected tab.
    This does not occur in Java 7, so I'm assuming it is a bug that is fixed. And I know that Oracle suggests that we should use Java 7 nowadays.
    The problem is: We need to stick to Java 6 for a certain application. So I'm looking for a way to fix this issue for all our JTabbedPane components while using Java 6.
    So, is there a way to prevent JTabbedPanes from passing the focus to components outside of the tabs during tab traversal (e.g. when users are just switching between tabs), in Java 6?
    Note: I've read the release notes between Java 6u45 to Java 7u15, but I was unable to find any changes related to the JTabbedPane component. So any pointers on this would be deeply appreciated.
    Regards,
    James

    Hi Kleopatra,
    Thanks for the reply.
    Please allow me to clarify first: Actually the problem is not that the child components (inside tabs) get focused before the selected tab. The problem is: the component outside of the tabs gets focused before the selected tab. For example, the JButton in the SSCCE posted above gets focused when users switch between tabs, despite the fact that the JButton is not a child component of the JTabbedPane.
    It is important for me to prevent this behavior because it causes a usability issue for forms with 'auto-scrolling' features.
    What I mean by 'auto-scrolling' here is: a feature where the form automatically scrolls down to show the current focused component (if the component is not already visible). This is a usability improvement for long forms with scroll bars (which saves the users' effort of manually scrolling down just to see the focused component).
    To see this feature in action, please run the SSCCE below, and keep pressing the 'Tab' key (the scroll pane will follow the focused component automatically):
    import java.awt.BorderLayout;
    import java.awt.Component;
    import java.awt.GridBagConstraints;
    import java.awt.GridBagLayout;
    import java.awt.Insets;
    import java.awt.event.FocusAdapter;
    import java.awt.event.FocusEvent;
    import java.awt.event.KeyEvent;
    import javax.swing.JButton;
    import javax.swing.JComponent;
    import javax.swing.JFrame;
    import javax.swing.JLabel;
    import javax.swing.JPanel;
    import javax.swing.JScrollPane;
    import javax.swing.JTabbedPane;
    import javax.swing.JTextField;
    import javax.swing.JViewport;
    import javax.swing.SwingUtilities;
    public class TabbedPaneAutoScrollTest extends JPanel {
        private AutoScrollFocusHandler autoScrollFocusHandler;
        public TabbedPaneAutoScrollTest() {
            super(new BorderLayout());
            autoScrollFocusHandler = new AutoScrollFocusHandler();
            JTabbedPane tabbedPane = new JTabbedPane();
            tabbedPane.addTab("Tab 1", buildPanelWithChildComponents(20));
            tabbedPane.setMnemonicAt(0, KeyEvent.VK_1);
            tabbedPane.addTab("Tab 2", buildPanelWithChildComponents(20));
            tabbedPane.setMnemonicAt(1, KeyEvent.VK_2);
            tabbedPane.addTab("Tab 3", buildPanelWithChildComponents(20));
            tabbedPane.setMnemonicAt(2, KeyEvent.VK_3);
            tabbedPane.addTab("Tab 4", buildPanelWithChildComponents(20));
            tabbedPane.setMnemonicAt(3, KeyEvent.VK_4);
            JPanel panel = new JPanel(new BorderLayout());
            panel.add(tabbedPane);
            JButton button = new JButton("Dummy component that gains focus when switching tabs");
            panel.add(button, BorderLayout.SOUTH);
             * To replicate the focus traversal issue, please follow these steps -
             * 1) Run this program in Java 6; and then
             * 2) Click on a child component inside any tab; and then
             * 3) Click on any other tab (or use the mnemonic keys ALT + 1 to ALT 4).
            button.addFocusListener(new FocusAdapter() {
                @Override
                public void focusGained(FocusEvent e) {
                    System.err.println("Gained focus (not supposed to when just switching tabs).");
            button.addFocusListener(autoScrollFocusHandler);
            JScrollPane scrollPane = new JScrollPane(panel);
            add(scrollPane);
            autoScrollFocusHandler.setScrollPane(scrollPane);
        private JPanel buildPanelWithChildComponents(int numberOfChildComponents) {
            final JPanel panel = new JPanel(new GridBagLayout());
            final String labelPrefix = "Dummy Field ";
            final Insets labelInsets = new Insets(5, 5, 5, 5);
            final Insets textFieldInsets = new Insets(5, 0, 5, 0);
            final GridBagConstraints gridBagConstraints = new GridBagConstraints();
            JTextField textField;
            for (int i = 0; i < numberOfChildComponents; i++) {
                gridBagConstraints.insets = labelInsets;
                gridBagConstraints.gridx = 1;
                gridBagConstraints.gridy = i;
                panel.add(new JLabel(labelPrefix + (i + 1)), gridBagConstraints);
                gridBagConstraints.insets = textFieldInsets;
                gridBagConstraints.gridx = 2;
                textField = new JTextField(22);
                panel.add(textField, gridBagConstraints);
                textField.addFocusListener(autoScrollFocusHandler);
            return panel;
        public static void main(String[] args) {
            SwingUtilities.invokeLater(new Runnable() {
                public void run() {
                    JFrame frame = new JFrame("Test for Java 6 with auto-scrolling");
                    frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
                    frame.add(new TabbedPaneAutoScrollTest());
                    frame.setSize(400, 300);
                    frame.setVisible(true);
    * Crude but simple example for auto-scrolling to focused components.
    * Note: We don't actually use FocusListeners for this feature,
    *       but this is short enough to demonstrate how it behaves.
    class AutoScrollFocusHandler extends FocusAdapter {
        private JViewport viewport;
        private JComponent view;
        public void setScrollPane(JScrollPane scrollPane) {
            viewport = scrollPane.getViewport();
            view = (JComponent) viewport.getView();
        @Override
        public void focusGained(FocusEvent event) {
            Component component = (Component) event.getSource();
            view.scrollRectToVisible(SwingUtilities.convertRectangle(component.getParent(),
                    component.getBounds(), view));
    Now, while the focus is still within the tab contents, try to switch to any other tab (e.g. by clicking on the tab headers, or by using the mnemonic keys 'ALT + 1' to 'ALT + 4')...
    ... then you'll notice the following usability issue:
    1) JRE 1.6 causes the focus to transfer to the JButton (which is outside of the tabs entirely) first; then
    2) In response to the JButton gaining focus, the 'auto-scrolling' feature scrolls down to the bottom of the form, to show the JButton. At this point, the tab headers are hidden from view since there are many child components; then
    3) JRE 1.6 transfers the focus to the tab contents; then
    4) The 'auto-scrolling' feature scrolls up to the selected tab's contents, but the tab header itself is still hidden from view (as a side effect of the behavior above); then
    5) Users are forced to manually scroll up to see the tab headers whenever they are just switching between tabs.
    In short, the tab headers will be hidden when users switch tabs, due to the Java 6 behavior posted above.
    That is why it is important for me to prevent the behavior in my first post above (so that it won't cause usability issues when we apply the 'auto-scrolling' feature to our forms).
    Best Regards,
    James

  • How i can i prevent Apps from being dragged out from dock?

    Before Mavericks i once applied some switch via command line that prevented removing Applications via dragging out.
    But this way it still allowed changing the order or still allowed remvoing via right-click menu.
    Sadly i cannot find the command anymore and all solutions i found after googling use the immutable boolean which results in a completely statically locked Dock. But this is not what i'm looking for.
    How can i specifically disable the drag-out removal of Apps from the Dock?
    Thanks!

    You can't. You can only "hide" them.

  • Applocker Policy Preventing Apps From Downloading During Imaging

    Hi all! I have run into an issue while deploying Windows 8.1 Enterprise using MDT 2013 with applocker policies applied. During testing I have had no issues with the default provisioned Store Apps but I have recently configured an applocker policy that will
    prevent any apps from being installed other than those provided by Windows. When I test the policy on a running computer it appears that everything is working correctly - any of the original provisioned apps can be run or re-installed from the Store and any
    other apps will not install.
    With this policy applied when a machine images and joins the domain none of the provisioned apps will successfully download and install but instead they get an x in the lower right-hand corner. I have verified that the Applocker policy is the culprit by
    disabling it and imaging a new computer which successfully installed the default apps. What is going on here? If the policy seems to work on a computer during normal operation why does it prevent the apps from initially downloading? Is this a bug in the way
    Applocker works?
    The policy is configured as such:
    Executable Rules - Enforced Audit Only - Created default rules
    Packaged App Rules - Enforced - Auto-created rules based on a machine with default configured apps
    One workaround I am considering is to make sure the Applocker policy doesn't apply in the staging OU so the apps will download and be in a working state. These computers could then be moved to an OU with the Applocker policy linked so that it will begin
    to prevent the installation of other apps. This is not a desirable method but could be a stop-gap until this bug is worked out.
    Please let me know if there is any other info I can provide to make this issue clearer. Thanks!

    Mr_bigworlds,
    Thanks for the reply. I understand that this sounds like a Group Policy issue, but please understand that this policy seems to work as expected for a computer that is up and running but causes issues for a machine being deployed. This leads me to believe
    that there is a component of the OS responsible for downloading and installing the packaged apps that is not compatible with the Applocker GPO settings. This is the reason I decided to post in the OS deployment forum. I will gladly try the GPO forum as well.

  • PLEASE Stop iTunes From Stealing Focus

    This has been an ongoing issue almost since day 1. If you have a large music library, when you add it to iTunes, iTunes constantly steals focus while it's adding music. If you attempt to do anything else, 9 times out of 10, you end up aborting your music adds and have to start the import all over again.
    This has been going on as long as Ive used iTunes, its the reason I dont like using iTunes and it needs to be corrected.

    No idea what suggesting to let iTunes run and finish adding his music has to do with a "'tude" or being a punk, of which my repsonse was neither.
    For some reason, MadFlava has decided that since it takes "LITERALLY hours to import the music", he's not gonna do it.
    I don't know why he can't let iTunes finish adding the music, but as above, that's what I would suggest.
    Since he's been doing this since day 1, I suggest either let it finish or quit using iTunes.

Maybe you are looking for