Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 305789

Summary: [launcher] Windows 7 shortcuts broken with Eclipse SDK 3.6M6
Product: [Eclipse Project] Equinox Reporter: Wendell Beckwith <wbeckwith>
Component: LauncherAssignee: Project Inbox <equinox.launcher-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: aniefer, eclipse.felipe, kdkrull, ob1.eclipse, pascal, pwebster, remy.suen, ykphuah
Version: 3.6   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard: stalebug
Attachments:
Description Flags
Shortcuts to Eclipse 3.6M5 that work
none
Shortcuts to Eclipse 3.6M6 that don't work
none
New icon when using jvm.dll none

Description Wendell Beckwith CLA 2010-03-14 01:47:42 EST
Build Identifier:  I20100312-1448

I have several workspaces I use eclipse with and my normal practice is to create shortcuts that point to the eclipse.exe and passes the -data <path to my worskpace> in the respective shortcut.  This has worked for Windows XP, Vista and 7 until 3.6M6.  The problem is that previously if I had 3 shortcuts on the taskbar then each launched icon would be labeled with the name of the shortcut that launched eclipse.  Now however, a new icon is added to the taskbar and all eclipse launches show up under this icon and the icon is labeled for the java process.

Reproducible: Always

Steps to Reproduce:
1. On Windows 7, create a shortcut to the eclipse.exe and pin it to the taksbar.
2. Now launched the pinned eclipse application shortcut.
3. While the app is starting the pinned icon will be outlined to show it has an instance, but once the UI is up a new eclipse icon is shown on the taskbar and this icon's jumplist shows java as the process and not the name of the shortcut.
Comment 1 Wendell Beckwith CLA 2010-03-14 01:48:40 EST
Created attachment 161973 [details]
Shortcuts to Eclipse 3.6M5 that work
Comment 2 Wendell Beckwith CLA 2010-03-14 01:49:15 EST
Created attachment 161974 [details]
Shortcuts to Eclipse 3.6M6 that don't work
Comment 3 Wendell Beckwith CLA 2010-03-14 01:53:35 EST
In the attached pics, the 3 eclipse taskbar icons on the left point to eclipse 3.6M5 and the 3 on the right to eclipse 3.6M6.  Notice that when all 3 on the right are launched that there is a 4th icon on the taskbar that groups all 3 launches and has info for the java process.  For once I owe Windows an apology because I was sure a windows update had done me in.
Comment 4 Felipe Heidrich CLA 2010-03-15 10:07:02 EDT
Andrew, has anything changed in the launcher that could have caused this problem ?
Comment 5 Andrew Niefer CLA 2010-03-15 11:38:07 EDT
Binyan, can you go to Help -> About -> Installation Details -> Configuration
and look for the -vm and the path on the line below it  (This is part of the eclipse.commands property, whose value is split over multiple lines).

Is this the same for both M5 & M6?  If this path is to a javaw.exe, you might find better behaviour by editing the eclipse.ini and setting a path to the jvm.dll instead of the .exe:

-vm
C:\Program Files\Java\jre1.6.0_07\bin\client\jvm.dll


Also, is there any difference if you remove the 
-name
Eclipse
from the eclipse.ini file?
Comment 6 Wendell Beckwith CLA 2010-03-15 13:15:09 EDT
Created attachment 162084 [details]
New icon when using jvm.dll

The -vm arg for 3.6M6 and 3.6M5 are the same:

-vm
C:\jdk1.6.x\bin\javaw.exe

When referring directly to the jvm.dll there is one difference where the new icon that shows on the taskbar is labeled as eclipse.exe now instead of the java process (see attached png).

Also there is no "-name Eclipse" args in the eclipse.ini file.  Here is my eclipse.ini file:

-startup
plugins/org.eclipse.equinox.launcher_1.1.0.v20100307.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.0.v20100307
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vm
C:/jdk1.6.x/jre/bin/client/jvm.dll
-vmargs
-Xms512m
-Xmx768m
Comment 7 Wendell Beckwith CLA 2010-05-27 14:14:39 EDT
Is this bug to be addressed since time is running out for the current release?
Comment 8 Pascal Rapicault CLA 2010-05-27 14:46:10 EDT
no.
Comment 9 Andrew Niefer CLA 2010-05-27 15:06:37 EDT
I don't know what the problem is, but I don't believe p2 is the right place for this bug.  I don't have a vista or windows 7 machine myself.  Moving to framework for now.

The only launcher changes in M5 were for opening files: bug 4922, bug 178927,
and friends.  However, in the launcher itself there is no difference if no file
is being specified on the command line to be opened.

I suspect something changed in the workbench or in swt, perhaps in support of the file open stuff.
Comment 10 Eclipse Webmaster CLA 2019-09-06 16:17:21 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.
Comment 11 Eclipse Genie CLA 2021-09-01 17:41:05 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug.

If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.