How to remove dock icon on Mac when main stage is hidden?

I'm trying to implement a "minimize to system tray" functionality, where when the user closes the app's window, it disappears from the task bar and can be retrieved from the system tray. This works great on Windows and Linux, but on the Mac, the window closes, but the app's icon remains in the dock. Clicking on the dock icon focuses the app, but (perhaps unsurprisingly) does not open the window, which is a pretty bad user experience. Opening the window from the system tray works, so if I could just hide the dock icon I'd be there.
I found the undocumented PlatformImpl.setTaskbarApplication(false), but it doesn't seem to have any effect. Probably only does something at launch time.
Bug or feature?
(I'm using the new Platform.setImplicitExit(false) to keep the app from exiting when the main stage is hidden, but I see the same behavior when using the "create an off-screen dummy stage" kludge in 2.1.)

Whatever you did last time didn't work - don't try that again!
Back up everything before you begin.
Bootcamp Assistant (in Applications/Utilities) will remove Windows partitions, however I expect in this state it will remove the Windows 7 partition. It may resolve the issue, but it will delete all the Windows data. Perhaps Bootcamp Assistant does something extra compared to deleting the partition by hand?
If it still has the multiple boot icons you will have to erase the HD completely and then restore your OS and user data.
Do you really want to erase & start over for this minor issue?

Similar Messages

  • How to remove the icon of java in JDialog?

    How to remove the icon of java in JDialog, and change it to my own icon.

    Please make the extra effort to write out words such as "please" and "your". The extra keystrokes won't cost much in the way of time, and the enhanced clarity will be appreciated by those communicating on a forum with international readership.

  • How to remove an icon off of your iPhone

    Hello from KY. I looked on most of the forums and didnt see anything listed about how to remove an icon off of your iPhone. I installed a free game and after playing it, I didnt care much for it because the advertisement was a pain and a major distraction while trying to play the game. How do I remove it from my iPhone4 screen?

    You can find this and much more in the manual:
    http://manuals.info.apple.com/enUS/iPhone_iOS4_UserGuide.pdf

  • Can someone please tell me how to remove norton from my Mac.i am using osx 10.5.8

    Can someone please tell me how to remove norton from my Mac.i am using osx 10.5.8

    Norton Removal Tool (Symantec Uninstaller):
    http://www.symantec.com/business/support/index?page=content&id=TECH103489&locale =en_US

  • HT201456 how to remove the icon Apple and Bootcam on the screen ?

    how to remove the icon Apple and Bootcam on the screen ?

    please forgive me, I usually ask question on these boards, not answer them :/ but wouldnt...
    btn.setIcon(null)do it?

  • When I open Thunderbird no windows will open on my desktop until I click "Hide Thunderbird" then click on the dock icon again, Mac OS10.8

    When I click on the dock icon to open Thunderbird, the menu at the top of the screen opens, but no windows, ie. Mail & Newsgroups, New Message, About Thunderbird, etc. will open on my desktop. I have to click on Hide Thunderbird, then click on the dock icon again, and then all of the windows I attempted to open become visible. This is on a Mac running OS 10.8.5, Thunderbird 3.0.11. All runs normally after this until I quite Thunderbird.

    Hello,
    Sorry you are frustrated. If you have improvements you would like to make, you can file them to the [[Suggestion Box]] and the Firefox logo in the top left with upside down arrow is the Firefox button containing menu items. Try a clean reinstall as instructed below to see if it resolved your issue.
    Certain Firefox problems can be solved by performing a ''Clean reinstall''. This means you remove Firefox program files and then reinstall Firefox. Please follow these steps:
    '''Note:''' You might want to print these steps or view them in another browser.
    #Download the latest Desktop version of Firefox from http://www.mozilla.org and save the setup file to your computer.
    #After the download finishes, close all Firefox windows (click Exit from the Firefox or File menu).
    #Delete the Firefox installation folder, which is located in one of these locations, by default:
    #*'''Windows:'''
    #**C:\Program Files\Mozilla Firefox
    #**C:\Program Files (x86)\Mozilla Firefox
    #*'''Mac:''' Delete Firefox from the Applications folder.
    #*'''Linux:''' If you installed Firefox with the distro-based package manager, you should use the same way to uninstall it - see [[Installing Firefox on Linux]]. If you downloaded and installed the binary package from the [http://www.mozilla.org/firefox#desktop Firefox download page], simply remove the folder ''firefox'' in your home directory.
    #Now, go ahead and reinstall Firefox:
    ##Double-click the downloaded installation file and go through the steps of the installation wizard.
    ##Once the wizard is finished, choose to directly open Firefox after clicking the Finish button.
    Please report back to see if this helped you!

  • How can I dock icons for every opened windows?

    Hello all,
    First time poster here and first time owner of Mac.  I want to know how I can get all opened windows to show as icons on the dock.  On a Windows OS, any opened window will have an icon on the Taskbar.  Does a Mac OS have the same feature?  And no, I don't want to use the old Expose.  I want to be able to get to an opened window that is hidden behind another window by just one click, instead of moving windows around (so that I can get my intended window to be where I can click on it), or instead of using Expose.
    One way to get the opened windows to appear on the dock is to miminize it.  I find that to be burdensome, especially if you're openeing a lot of windows quickly.  I want to be able to switch between opened windows in just one click.
    Any help would be appreciated.  Thank you.

    You need to either control-click on the application's Dock icon and then regularly click on the item representing that window, or to click and hold the application's icon until the menu appears, and then releasing the button when the cursor is over the menu item.
    (71155)

  • How to remove MacKepper from my Mac book pro

    I downloaded MacKeeper today which I now regret. I have tried to delete the app how it is not allowing me, I have tried it to trash etc but there is no hope. Please help in anyway you can. I own a MacBook Pro

    "MacKeeper" is a scam with only one useful feature: it deletes itself.
    First, back up all data.
    Note: These instructions apply to the version of the product that I downloaded and tested in early 2012. I can't be sure that they apply to other versions.
    If you have incompletely removed MacKeeper—for example, by dragging the application to the Trash and immediately emptying—then you'll have to reinstall it and start over.
    IMPORTANT: "MacKeeper" has what the developer calls an “encryption” feature. In my tests, I didn't try to verify what this feature really does. If you used it to “encrypt” any of your files, “decrypt” them before you uninstall, or (preferably) restore the files from backups made before they were “encrypted.” As the developer is not trustworthy, you should assume that the "decrypted" files are corrupt unless proven otherwise.
    In the Finder, select
              Go ▹ Applications
    from the menu bar, or press the key combination shift-command-A. The "MacKeeper" application is in the folder that opens. Quit it if it's running, then drag it to the Trash. You'll be prompted for your login password. Click the Uninstall MacKeeper button in the dialog that appears. All the other functional components of the software will be deleted. Restart the computer and empty the Trash.
    ☞ Quit MacKeeper before dragging it to the Trash.
    ☞ Let MacKeeper delete its other components before you empty the Trash.
    ☞ Don't try to drag the MacKeeper Dock icon to the Trash.

  • HOW To Remove Dock Spacers Via Termianl Command

    One of the Mac websites offered a way to add spacers to your dock through a command line statement like this:
    defaults write com.apple.dock persistent-apps -array-add '{tile-data={}; tile-type="spacer-tile";}'
    Now this worked beautifully on my Mac Pro and I was able to add two spacers to the application side of the dock. On the Mac Pro I can easily drag these spacers to a new position or drag them upward and off (deleting them).
    I have a new MacBook and it should work the same, right? The spacers were created but I can't move them nor drag them off the dock.
    In another post someone suggested deleting or removing your Dock's preferences (which will reset it to the defaults). This file is located at /Users/"Your username"/Library/Preferences/com.apple.Dock.plist.
    But there is NO com.appleDock.plist although there is a comp.apple.dockfixup.plist although I am apprehensive to delete it.
    Does anyone know how to remove a spacer using the Terminal's command line? I can't think of any other way to remove these spacers on the MacBook.

    Ok. I found an answer. The removal of the comp.apple.Dock.plist did return my dock to its original setup. I was not looking in the "Users" directory. I moved it off to my desktop and restarted the MacBook. It came up with the default dock. I'll have to bring back my apps but other then that, it worked.
    Sorry for wasting your time but maybe this answer will help someone in the future.
    Lisa

  • How to remove titlebar icon in ScriptUI dialog?

    When I create a dialog with ScriptUI, its titlebar gets an ugly icon. How can I remove this?
    Using a palette instead of a dialog removes the icon, but I want a dialog in this case.

    I think the dialog wind may look different between Platforms OS versions Adobe applications and versions. What dies the window with the Icon you don't like look like post a screen capture,
    For example I use windows 7 these days.  On Windows 7 system with CS2 My dialogs have a title but no icon. There the is an icon when I use CS6, CC and CC 2014. The icon is the same in the three version of Photoshop..  Is this the ugly icon your referring to?

  • How to remove Mozilla Thunderbird from Mac Pro 10.9.3

    Good evening everyone. I am new to Apple and the Mac enviroment coming over from Windows
    I installed Mozilla Thunderbird and am not sure how to remove it completely from my system.
    Can someone please let me know step by step what I need to do to remove Mozilla Thunderbird from my Mac as I don't like it's UX and will most likly never use it.
    Thank you.

    To make sure, click Finder on your Dock.
    Then click on Applications and scroll down looking for the Thunderbird App.
    If you find it there, do a control click "Move to Trash" or click hold and drag it to the Trash.
    For more on OS X Finder, see > Mac Basics: The Finder
    For more on OS X in general, see > Mac Basics - Apple Support

  • How to Remove local backups on mac hardrive

    My backups are now at 100 gb, how do I remove this?

    Back up your Mac if you have not done so already. To learn how to use Time Machine read Mac Basics: Time Machine backs up your Mac - Apple Support.
    Delete the "Hotspot Shield" program from Applications if you did not already do that.
    Select the entire line that follows (triple-click to select it), then control-click, and from the contextual menu that appears, select Services > Open:
    /Library/LaunchDaemons/
    Locate the file containing the word "anchorfree". Drag it to the Trash.
    Repeat the above instructions with the following:
    /Library/Application Support/
    Locate the folder named "Hotspot Shield" and drag it to the Trash.
    Repeat the above instructions with the following:
    ~/Library/Preferences
    and
    /Library/Preferences
    Locate any files containing the words "anchorfree" and drag them to the Trash.
    Open System Preferences > Users & Groups. Click Login Items. If you find an item named Hotspot Shield, select it and delete it with the [—] (minus) button.
    Log out or restart your Mac.
    For a description of how this may have occurred, how to avoid it in the future, and for Apple's recommended actions read How to install adware. Apple's instructions are linked in the Recovery Procedure near the end of that document. Read and follow them carefully. Pay particular attention to the easily overlooked passages directing you to restart your Mac when required.
    Review your Gatekeeper settings: OS X : About Gatekeeper - Apple Support. Gatekeeper is designed to help prevent you from inadvertently installing garbage software.

  • How to remove QuickTime Icon from systray of Windows ME

    Attempted to install QuickTime in response to its solicitation,but its download program stated it could not be installed on ME. However, its Icon was placed in my Systray and every time I boot up now the system seems to try to read the hard drive for it causing the drive to chatter. After about 10 of these chattering attempts from the drive, the Icon appears, but the program does not exist in the system. How do I remove the Icon and the program that's trying to load the nonexistant program?
    Gateway PC   Windows ME  

    There is no QuickTime program listed in the Add/Remove Program on the control panel.

  • How to remove data guard broker configuration when  ORA-16625?

    I setup data guard broker for a standby database. However, we recreate the database and re-setup the standby database. But find the earlier broker configuration still exists. But I cannot remove or disable the configuration or any database within the configuration. When I try to do so I got the error, although all network settings are correct:
    Error: ORA-16625: cannot reach the database
    How to remove the configuration at this stage?
    Thanks for help,

    Hi, I saw same issue when doing switchover testing in my lab environment.prerequisite is primary role and standby role switched and og can be applied without data guard broker.
    Here is the step I resolved the issue
    1)on both primary and standby database
    SQL> alter system set dg_borker_start=false;
    on primary DB:
    SQL>alter system set dg_broker_config_file1='?/dbs/dr1afterswichoverpry.dat';
    SQL>alter system set dg_broker_config_file1='?/dbs/dr2afterswichoverpry.dat';
    on standby DB:
    SQL>alter system set dg_broker_config_file1='?/dbs/dr1afterswichoverstby.dat';
    SQL>alter system set dg_broker_config_file1='?/dbs/dr2afterswichoverstby.dat';
    2) enable dg_borker_start on both primay and sandbby db
    SQL> alter system set dg_borker_start=true;
    3)on primary database to create configuration
    Hope this can help you!
    email: [email protected]

  • How to remove a program from mac laptop

    how to remove a program from my macbook pro 10.6.8

    Welcome to the Apple Support Communities
    What application do you want to uninstall?
    On Mac, most of the applications are uninstalled just dragging them to the Trash. If an application comes with an uninstaller, use it instead to uninstall that application.
    Also, never use a cleaning app to uninstall an application. They can damage OS X, so the only option will be reinstall the operating system

Maybe you are looking for

  • Year property for category dimension

    Since year property is the Required Properties for Category Dimensions, if I need to have actual and budget for multiple year, is this mean that I need to create id for every year? Like following: ID                            year actual_2010       

  • We have been trying to download Icloud on my MacPro. Can't get it to work.

    We get to the page where you are to down load the Icloud but it will not let me down load. We upgraded my computer and still can't download. Icloud wouldn't recognize my Apple password and username??

  • Mail relay issue since lion server install

    I upgraded (or not) my Mac Mini Server with Snow Leopard, to Lion Server. I'm now getting mail relay errors when sending email to an account on my server from gmail. "Technical details of permanent failure: Google tried to deliver your message, but i

  • Question about Folders & Files

    I always set up a new folder for each project. In iM4... in the main folder are other folders - Audio Waveforms... Media... Shared Movies... and a QT.mov. In iM HD... all I have in the main folder is an icon with a star. Everything works O K and burn

  • Firefox doesn't respond when opening a new tab until the page loads completely

    When I open a page in a new tab, Firefox freezes until the new page loads completely. I can't switch tabs or do anything. It then works normally. Older versions of Firefox did not have this problem; it only started after I updated a few months ago. W