eclipse-launcher
eclipse-launcher copied to clipboard
Problem with Mars.2 not showing workspace label
After using your awesome plugin for a long time with Eclipse Mars.1, I upgraded (Eclipse-internal-update) to Mars.2. Since this time the tiny workspace label does no longer stay(!) on top of the eclipse logo on the Mac OS dock. In other words: after showing up for a moment it vanishes. I uninstalled the eclipse-launcher and re-installed it - no change. Is there any workaround?
Confirmed: Same problem for my colleage right after updating to Mars.2.
How did you install Eclipse? I've seen that Oomph sometimes creates problems with the label.
I downloaded Eclipse Mars.1 edition for Java development from eclipse.orghttp://eclipse.org. Later I updated to Mars.2 inside Eclipse. Same for my colleague.
Am 11.03.2016 um 20:32 schrieb Torkild U. Resheim <[email protected]mailto:[email protected]>:
How did you install Eclipse? I've seen that Oomph sometimes creates problems with the label.
Reply to this email directly or view it on GitHubhttps://github.com/turesheim/eclipse-launcher/issues/5279#issuecomment-195513203.
Could you please check the log for any exceptions that are suspicious? Also make sure that you're running Eclipse under Java 1.7 or newer.
eclipse.buildId=4.5.2.M20160212-1500 Java version is 1.8.0_72 (Oracle)
workspace/.metadata/.log does not contain any related error or warning.
I attempted to reproduce the issue by the following procedure:
- Install "Eclipse IDE for Java Developers" Mars.1
- Install "OS X Eclipse Launcher Utility"
- Set the workspace name to "TEST"
- Upgrade to "Eclipse IDE for Java Developers" Mars.2
I was not able to reproduce the problem. Could there be some special characters in the workspace name that causes this? Either in the file path or in the preference. I tried some Unicode for fun but could not break it. If you send me your .log file I might be able to spot the problem.

For the record what OS X version are you using? It could be related to SWT and OS version. However I cannot see any SWT bugs fixed for 4.5.2 that may be related: https://bugs.eclipse.org/bugs/buglist.cgi?classification=Eclipse&component=SWT&order=Importance&product=Platform&query_format=advanced&target_milestone=4.5.2&target_milestone=4.5.2%2B
Hi,
Thank you for your quick reply.
Just to be sure not to be on the wrong page, I just took my other mac, already on El Capitain and completely unrelated to my usual work and used "Eclipse -> Help -> Check for Updates", ran the update, restarted and got the exact same behavior: the label above the ecliipse Icon appears at start and vanishes a moment (maybe 1 or 2 seconds) later.
My Mac at work, where I observed the problem first, is Yosemite 10.10.5
At home (same problem): El Capitan 10.11.3
Here is the .log-file from the computer (El Capitan) I just upgraded: https://www.evernote.com/l/AIz4j2fdZdNMcrjrXoI_2ykyPrFrMDaVotk
The log file contained nothing interesting. Could you try opening a new fresh workspace and see what happens? What other plug-ins do you have installed?
I've improved the way the WorkspaceDecorator obtains the handle to the TaskBar and TaskItem. Please try to install from https://resheim.net/p2/eclipse-launcher_test/.
Unfortunately the new version shows same behavior. After a few seconds the label is gone. Here I have attached now my full configuration: https://www.evernote.com/l/AIz4j2fdZdNMcrjrXoI_2ykyPrFrMDaVotk
Have the same problem. Icon (badge) appears sometimes (mainly after -clean option) but most of time it's invisible.
I'm looking into this. Still trying to reproduce the behavior. Thanks for the configuration Karl. I did not see anything strange in there except that Oomph is installed. I'll have a close look at the Oomph source code as I suspect that it does attempts to set the icon badge when on OS X.
Yes, so Oomph appears to interfering in it's TaskItemDecorator. However it only uses the workspace name preference setting. So if the name has not been set, the badge will be cleared. Try actively setting the workspace name in General > Workspace > Workspace name.
Thanks, Torkild, actively setting the workspace name did the trick. Field was empty… Bernd
Fantastic! Made my day! :-)
Thanks for the tip. Setting the workspace name is in someways cleaner than long workspace folder names that get trun…ted.
I think I can close this as resolved although Oomph will interfere.
I've just done the upgrade and have the same issue. Manually inserting the names of workspaces is a good work around but not the solution. Will I always have to manually put this in all the time now?
Yes, until I can convince the Oomph team to not override what this plug-in does or implement the same mechanism for showing the badge. Sorry about that.
Do you have a bug on Oomph? I'd be happy to comment/vote there.
I've added bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=496450
It seems that the workaround doesn't work around anymore with Neon.2, at least for me. Does it still work for somebody else in Neon.2?
Yes, it's broken. Probably for other reasons. See bug #5281.
My temporary workaround: setting: General > Startup and Shutdown And there I have unchecked Oomph related pugins (not to activate on startup.
FYI, the badge wasn't showing for me on Oxygen.3a. Disabling Oomph as @takacsot mentioned above "fixed" it for me.